movie-web/themes/list/red.ts

260 lines
5.7 KiB
TypeScript
Raw Normal View History

import { createTheme } from "../types";
2023-12-09 17:30:10 +01:00
const tokens = {
purple: {
2023-12-14 21:40:42 +01:00
c50: "#feabac",
c100: "#fe8385",
c200: "#ea5b5e",
c300: "#d34648",
c400: "#bd3436",
c500: "#852a2b",
c600: "#632021",
c700: "#49191a",
c800: "#331112",
2023-12-14 21:43:12 +01:00
c900: "#220c0c"
2023-12-09 17:30:10 +01:00
},
shade: {
2023-12-14 21:40:42 +01:00
c50: "#9c605c",
c100: "#834d49",
c200: "#673b38",
c300: "#542f2c",
c400: "#452422",
c500: "#361c1a",
c600: "#2b1614",
c700: "#241210",
c800: "#1c0e0d",
2023-12-14 21:43:12 +01:00
c900: "#130909"
2023-12-09 17:30:10 +01:00
},
ash: {
2023-12-14 21:43:12 +01:00
c50: "#ac6e6f",
c100: "#8b4b4c",
c200: "#703739",
c300: "#572225",
c400: "#49191a",
c500: "#421617",
c600: "#371212",
c700: "#2e0e0f",
c800: "#230c0d",
c900: "#19090b"
2023-12-09 17:30:10 +01:00
},
blue: {
c50: "#f5adb4",
c100: "#cc7981",
c200: "#ae5d65",
c300: "#8c3b43",
c400: "#712a31",
c500: "#501f24",
c600: "#411b1f",
c700: "#36171b",
c800: "#201011",
2023-12-14 21:43:12 +01:00
c900: "#130b0c"
}
2023-12-09 17:30:10 +01:00
};
export default createTheme({
name: "red",
extend: {
colors: {
themePreview: {
2023-12-09 17:30:10 +01:00
primary: tokens.blue.c200,
2023-12-14 21:43:12 +01:00
secondary: tokens.shade.c50
2023-12-09 17:30:10 +01:00
},
pill: {
background: tokens.shade.c300,
backgroundHover: tokens.shade.c200,
highlight: tokens.blue.c200,
activeBackground: tokens.shade.c300,
2023-12-09 17:30:10 +01:00
},
global: {
accentA: tokens.blue.c200,
2023-12-14 21:43:12 +01:00
accentB: tokens.blue.c300
},
lightBar: {
2023-12-14 21:43:12 +01:00
light: tokens.blue.c400
2023-12-09 17:30:10 +01:00
},
buttons: {
toggle: tokens.purple.c300,
toggleDisabled: tokens.ash.c500,
secondary: tokens.ash.c700,
secondaryHover: tokens.ash.c700,
purple: tokens.purple.c500,
purpleHover: tokens.purple.c400,
cancel: tokens.ash.c500,
2023-12-14 21:43:12 +01:00
cancelHover: tokens.ash.c300
2023-12-09 17:30:10 +01:00
},
background: {
main: tokens.shade.c900,
secondary: tokens.shade.c600,
secondaryHover: tokens.shade.c400,
accentA: tokens.purple.c500,
2023-12-14 21:43:12 +01:00
accentB: tokens.blue.c500
2023-12-09 17:30:10 +01:00
},
2024-01-20 12:24:02 +01:00
modal: {
background: tokens.shade.c800,
},
2023-12-09 17:30:10 +01:00
type: {
logo: tokens.purple.c100,
text: tokens.shade.c50,
dimmed: tokens.shade.c50,
divider: tokens.ash.c500,
secondary: tokens.ash.c100,
link: tokens.purple.c100,
2023-12-14 21:43:12 +01:00
linkHover: tokens.purple.c50
2023-12-09 17:30:10 +01:00
},
search: {
background: tokens.shade.c500,
hoverBackground: tokens.shade.c600,
2023-12-09 17:30:10 +01:00
focused: tokens.shade.c400,
placeholder: tokens.shade.c100,
2023-12-14 21:43:12 +01:00
icon: tokens.shade.c100
2023-12-09 17:30:10 +01:00
},
mediaCard: {
hoverBackground: tokens.shade.c600,
hoverAccent: tokens.shade.c50,
hoverShadow: tokens.shade.c900,
shadow: tokens.shade.c700,
barColor: tokens.ash.c200,
barFillColor: tokens.purple.c100,
badge: tokens.shade.c700,
2023-12-14 21:43:12 +01:00
badgeText: tokens.ash.c100
2023-12-09 17:30:10 +01:00
},
largeCard: {
background: tokens.shade.c600,
2023-12-14 21:43:12 +01:00
icon: tokens.purple.c400
2023-12-09 17:30:10 +01:00
},
dropdown: {
background: tokens.shade.c600,
altBackground: tokens.shade.c700,
hoverBackground: tokens.shade.c500,
text: tokens.shade.c50,
secondary: tokens.shade.c100,
border: tokens.shade.c400,
2023-12-14 21:43:12 +01:00
contentBackground: tokens.shade.c500
},
2023-12-09 17:30:10 +01:00
authentication: {
border: tokens.shade.c300,
inputBg: tokens.shade.c600,
inputBgHover: tokens.shade.c500,
wordBackground: tokens.shade.c500,
copyText: tokens.shade.c100,
2023-12-14 21:43:12 +01:00
copyTextHover: tokens.ash.c50
2023-12-09 17:30:10 +01:00
},
settings: {
sidebar: {
activeLink: tokens.shade.c600,
badge: tokens.shade.c900,
type: {
secondary: tokens.shade.c200,
inactive: tokens.shade.c50,
icon: tokens.shade.c50,
iconActivated: tokens.purple.c200,
2023-12-14 21:43:12 +01:00
activated: tokens.purple.c50
}
2023-12-09 17:30:10 +01:00
},
card: {
border: tokens.shade.c400,
background: tokens.shade.c400,
2023-12-14 21:43:12 +01:00
altBackground: tokens.shade.c400
2023-12-09 17:30:10 +01:00
},
saveBar: {
2023-12-14 21:43:12 +01:00
background: tokens.shade.c800
}
2023-12-09 17:30:10 +01:00
},
utils: {
2023-12-14 21:43:12 +01:00
divider: tokens.ash.c300
2023-12-09 17:30:10 +01:00
},
errors: {
card: tokens.shade.c800,
border: tokens.ash.c500,
type: {
2023-12-14 21:43:12 +01:00
secondary: tokens.ash.c100
}
2023-12-09 17:30:10 +01:00
},
about: {
circle: tokens.ash.c500,
2023-12-14 21:43:12 +01:00
circleText: tokens.ash.c50
2023-12-09 17:30:10 +01:00
},
editBadge: {
bg: tokens.ash.c500,
bgHover: tokens.ash.c400,
2023-12-14 21:43:12 +01:00
text: tokens.ash.c50
2023-12-09 17:30:10 +01:00
},
progress: {
background: tokens.ash.c50,
preloaded: tokens.ash.c50,
2023-12-14 21:43:12 +01:00
filled: tokens.purple.c200
2023-12-09 17:30:10 +01:00
},
video: {
buttonBackground: tokens.ash.c200,
autoPlay: {
background: tokens.ash.c700,
2023-12-14 21:43:12 +01:00
hover: tokens.ash.c500
2023-12-09 17:30:10 +01:00
},
scraping: {
card: tokens.shade.c700,
loading: tokens.purple.c200,
2023-12-14 21:43:12 +01:00
noresult: tokens.ash.c100
2023-12-09 17:30:10 +01:00
},
audio: {
2023-12-14 21:43:12 +01:00
set: tokens.purple.c200
2023-12-09 17:30:10 +01:00
},
context: {
background: tokens.ash.c900,
light: tokens.shade.c50,
border: tokens.ash.c600,
hoverColor: tokens.ash.c600,
buttonFocus: tokens.ash.c500,
flagBg: tokens.ash.c500,
inputBg: tokens.ash.c600,
buttonOverInputHover: tokens.ash.c500,
inputPlaceholder: tokens.ash.c200,
cardBorder: tokens.ash.c700,
slider: tokens.ash.c50,
sliderFilled: tokens.purple.c200,
buttons: {
list: tokens.ash.c700,
2023-12-14 21:43:12 +01:00
active: tokens.ash.c900
2023-12-09 17:30:10 +01:00
},
closeHover: tokens.ash.c800,
type: {
secondary: tokens.ash.c200,
2023-12-14 21:43:12 +01:00
accent: tokens.purple.c200
}
}
}
}
}
2023-12-09 17:30:10 +01:00
});