2024-06-06 18:24:02 +02:00
|
|
|
import { createTheme } from "../types";
|
|
|
|
|
|
|
|
const tokens = {
|
2024-06-06 20:22:08 +02:00
|
|
|
white: "#FFFFFF",
|
2024-06-10 02:02:20 +02:00
|
|
|
black: {
|
|
|
|
c50: "#000000",
|
2024-06-10 02:40:28 +02:00
|
|
|
c75: "#030303",
|
|
|
|
c80: "#080808",
|
2024-06-10 02:02:20 +02:00
|
|
|
c100: "#0d0d0d",
|
|
|
|
c125: "#141414",
|
|
|
|
c150: "#1a1a1a",
|
2024-06-10 02:40:28 +02:00
|
|
|
c200: "#262626",
|
|
|
|
c250: "#333333"
|
2024-06-10 02:02:20 +02:00
|
|
|
},
|
2024-06-06 20:22:08 +02:00
|
|
|
semantic: {
|
|
|
|
silver: {
|
|
|
|
c100: "#DEDEDE",
|
|
|
|
c200: "#B6CAD7",
|
|
|
|
c300: "#8EA3B0",
|
|
|
|
c400: "#617A8A",
|
|
|
|
},
|
|
|
|
},
|
2024-06-06 18:24:02 +02:00
|
|
|
purple: {
|
|
|
|
c50: "#aaafff",
|
|
|
|
c100: "#8288fe",
|
|
|
|
c200: "#5a62eb",
|
|
|
|
c300: "#454cd4",
|
|
|
|
c400: "#333abe",
|
2024-06-06 20:22:08 +02:00
|
|
|
c500: "#292d86",
|
2024-06-06 18:24:02 +02:00
|
|
|
c600: "#1f2363",
|
|
|
|
c700: "#191b4a",
|
|
|
|
c800: "#111334",
|
2024-06-06 20:22:08 +02:00
|
|
|
c900: "#0b0d22"
|
2024-06-06 18:24:02 +02:00
|
|
|
},
|
|
|
|
shade: {
|
|
|
|
c50: "#7c7c7c",
|
|
|
|
c100: "#666666",
|
2024-06-06 20:22:08 +02:00
|
|
|
c200: "#4f4f4f",
|
|
|
|
c300: "#404040",
|
|
|
|
c400: "#343434",
|
|
|
|
c500: "#282828",
|
|
|
|
c600: "#202020",
|
|
|
|
c700: "#1a1a1a",
|
2024-06-06 18:24:02 +02:00
|
|
|
c800: "#151515",
|
2024-06-06 20:22:08 +02:00
|
|
|
c900: "#0e0e0e"
|
2024-06-06 18:24:02 +02:00
|
|
|
},
|
|
|
|
ash: {
|
|
|
|
c50: "#8d8d8d",
|
|
|
|
c100: "#6b6b6b",
|
|
|
|
c200: "#545454",
|
|
|
|
c300: "#3c3c3c",
|
|
|
|
c400: "#313131",
|
|
|
|
c500: "#2c2c2c",
|
|
|
|
c600: "#252525",
|
|
|
|
c700: "#1e1e1e",
|
|
|
|
c800: "#181818",
|
|
|
|
c900: "#111111"
|
|
|
|
},
|
|
|
|
blue: {
|
|
|
|
c50: "#ccccd6",
|
|
|
|
c100: "#a2a2a2",
|
2024-06-06 20:22:08 +02:00
|
|
|
c200: "#868686",
|
2024-06-06 18:24:02 +02:00
|
|
|
c300: "#646464",
|
2024-06-06 20:22:08 +02:00
|
|
|
c400: "#4e4e4e",
|
|
|
|
c500: "#383838",
|
2024-06-06 18:24:02 +02:00
|
|
|
c600: "#2e2e2e",
|
|
|
|
c700: "#272727",
|
|
|
|
c800: "#181818",
|
|
|
|
c900: "#0f0f0f"
|
|
|
|
}
|
2024-06-06 20:22:08 +02:00
|
|
|
}
|
2024-06-06 18:24:02 +02:00
|
|
|
|
|
|
|
export default createTheme({
|
2024-06-10 02:40:28 +02:00
|
|
|
name: "blck",
|
2024-06-06 18:24:02 +02:00
|
|
|
extend: {
|
|
|
|
colors: {
|
|
|
|
themePreview: {
|
2024-06-10 02:44:10 +02:00
|
|
|
primary: tokens.black.c80,
|
|
|
|
secondary: tokens.black.c100
|
2024-06-06 18:24:02 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
pill: {
|
2024-06-10 02:02:20 +02:00
|
|
|
background: tokens.black.c100,
|
|
|
|
backgroundHover: tokens.black.c125,
|
2024-06-06 18:24:02 +02:00
|
|
|
highlight: tokens.blue.c200,
|
|
|
|
activeBackground: tokens.shade.c700,
|
|
|
|
},
|
|
|
|
|
|
|
|
global: {
|
|
|
|
accentA: tokens.blue.c200,
|
|
|
|
accentB: tokens.blue.c300
|
|
|
|
},
|
|
|
|
|
|
|
|
lightBar: {
|
2024-06-06 20:22:08 +02:00
|
|
|
light: tokens.shade.c900,
|
2024-06-06 18:24:02 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
buttons: {
|
|
|
|
toggle: tokens.purple.c300,
|
2024-06-10 02:02:20 +02:00
|
|
|
toggleDisabled: tokens.black.c200,
|
|
|
|
secondary: tokens.black.c100,
|
|
|
|
secondaryHover: tokens.black.c150,
|
2024-06-06 18:24:02 +02:00
|
|
|
purple: tokens.purple.c600,
|
2024-06-06 20:22:08 +02:00
|
|
|
purpleHover: tokens.purple.c400,
|
2024-06-10 02:02:20 +02:00
|
|
|
cancel: tokens.black.c100,
|
|
|
|
cancelHover: tokens.black.c150
|
2024-06-06 18:24:02 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
background: {
|
2024-06-10 02:40:28 +02:00
|
|
|
main: tokens.black.c75,
|
|
|
|
secondary: tokens.black.c75,
|
|
|
|
secondaryHover: tokens.black.c75,
|
2024-07-18 19:12:39 +02:00
|
|
|
accentA: tokens.purple.c600,
|
|
|
|
accentB: tokens.black.c100
|
2024-06-06 18:24:02 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
modal: {
|
|
|
|
background: tokens.shade.c800,
|
|
|
|
},
|
|
|
|
|
|
|
|
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,
|
|
|
|
linkHover: tokens.purple.c50
|
|
|
|
},
|
|
|
|
|
|
|
|
search: {
|
2024-06-10 02:02:20 +02:00
|
|
|
background: tokens.black.c100,
|
2024-06-06 20:22:08 +02:00
|
|
|
hoverBackground: tokens.shade.c900,
|
2024-06-10 02:02:20 +02:00
|
|
|
focused: tokens.black.c125,
|
2024-06-06 20:22:08 +02:00
|
|
|
placeholder: tokens.shade.c200,
|
|
|
|
icon: tokens.shade.c500
|
2024-06-06 18:24:02 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
mediaCard: {
|
2024-06-06 20:22:08 +02:00
|
|
|
hoverBackground: tokens.shade.c900,
|
2024-06-10 02:40:28 +02:00
|
|
|
hoverAccent: tokens.black.c250,
|
2024-06-10 02:02:20 +02:00
|
|
|
hoverShadow: tokens.black.c50,
|
2024-06-06 20:22:08 +02:00
|
|
|
shadow: tokens.shade.c800,
|
2024-06-06 21:02:15 +02:00
|
|
|
barColor: tokens.ash.c200,
|
|
|
|
barFillColor: tokens.purple.c100,
|
2024-06-06 18:24:02 +02:00
|
|
|
badge: tokens.shade.c700,
|
|
|
|
badgeText: tokens.ash.c100
|
|
|
|
},
|
|
|
|
|
|
|
|
largeCard: {
|
2024-06-10 02:02:20 +02:00
|
|
|
background: tokens.black.c100,
|
2024-06-06 18:24:02 +02:00
|
|
|
icon: tokens.purple.c400
|
|
|
|
},
|
|
|
|
|
|
|
|
dropdown: {
|
2024-06-10 02:02:20 +02:00
|
|
|
background: tokens.black.c100,
|
2024-06-10 02:40:28 +02:00
|
|
|
altBackground: tokens.black.c80,
|
2024-06-10 02:02:20 +02:00
|
|
|
hoverBackground: tokens.black.c150,
|
2024-06-06 18:24:02 +02:00
|
|
|
text: tokens.shade.c50,
|
|
|
|
secondary: tokens.shade.c100,
|
|
|
|
border: tokens.shade.c400,
|
2024-06-10 02:02:20 +02:00
|
|
|
contentBackground: tokens.black.c50
|
2024-06-06 18:24:02 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
authentication: {
|
|
|
|
border: tokens.shade.c300,
|
2024-06-10 02:02:20 +02:00
|
|
|
inputBg: tokens.black.c100,
|
|
|
|
inputBgHover: tokens.black.c150,
|
2024-06-06 18:24:02 +02:00
|
|
|
wordBackground: tokens.shade.c500,
|
|
|
|
copyText: tokens.shade.c100,
|
|
|
|
copyTextHover: tokens.ash.c50
|
|
|
|
},
|
|
|
|
|
|
|
|
settings: {
|
|
|
|
sidebar: {
|
2024-06-10 02:02:20 +02:00
|
|
|
activeLink: tokens.black.c100,
|
2024-06-06 18:24:02 +02:00
|
|
|
badge: tokens.shade.c900,
|
|
|
|
|
|
|
|
type: {
|
|
|
|
secondary: tokens.shade.c200,
|
|
|
|
inactive: tokens.shade.c50,
|
2024-06-10 02:02:20 +02:00
|
|
|
icon: tokens.black.c200,
|
2024-06-06 21:02:15 +02:00
|
|
|
iconActivated: tokens.purple.c200,
|
|
|
|
activated: tokens.purple.c100
|
2024-06-06 18:24:02 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
card: {
|
2024-06-06 20:22:08 +02:00
|
|
|
border: tokens.shade.c700,
|
2024-06-10 02:02:20 +02:00
|
|
|
background: tokens.black.c100,
|
|
|
|
altBackground: tokens.black.c100
|
2024-06-06 18:24:02 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
saveBar: {
|
2024-06-10 02:02:20 +02:00
|
|
|
background: tokens.black.c50
|
2024-06-06 18:24:02 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
utils: {
|
|
|
|
divider: tokens.ash.c300
|
|
|
|
},
|
|
|
|
|
|
|
|
errors: {
|
2024-06-10 02:40:28 +02:00
|
|
|
card: tokens.black.c75,
|
2024-06-06 18:24:02 +02:00
|
|
|
border: tokens.ash.c500,
|
|
|
|
|
|
|
|
type: {
|
|
|
|
secondary: tokens.ash.c100
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
about: {
|
2024-06-10 02:02:20 +02:00
|
|
|
circle: tokens.black.c100,
|
2024-06-06 18:24:02 +02:00
|
|
|
circleText: tokens.ash.c50
|
|
|
|
},
|
|
|
|
|
|
|
|
editBadge: {
|
|
|
|
bg: tokens.ash.c500,
|
|
|
|
bgHover: tokens.ash.c400,
|
|
|
|
text: tokens.ash.c50
|
|
|
|
},
|
|
|
|
|
|
|
|
progress: {
|
2024-06-06 21:02:15 +02:00
|
|
|
background: tokens.ash.c50,
|
|
|
|
preloaded: tokens.ash.c50,
|
|
|
|
filled: tokens.purple.c200
|
2024-06-06 18:24:02 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
video: {
|
|
|
|
buttonBackground: tokens.ash.c600,
|
|
|
|
|
|
|
|
autoPlay: {
|
|
|
|
background: tokens.ash.c800,
|
|
|
|
hover: tokens.ash.c600
|
|
|
|
},
|
|
|
|
|
|
|
|
scraping: {
|
2024-06-10 02:02:20 +02:00
|
|
|
card: tokens.black.c50,
|
2024-06-06 18:24:02 +02:00
|
|
|
loading: tokens.purple.c200,
|
2024-06-10 02:02:20 +02:00
|
|
|
noresult: tokens.black.c200
|
2024-06-06 18:24:02 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
audio: {
|
2024-06-06 21:02:15 +02:00
|
|
|
set: tokens.purple.c200
|
2024-06-06 18:24:02 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
context: {
|
2024-06-10 02:02:20 +02:00
|
|
|
background: tokens.black.c50,
|
2024-06-06 18:24:02 +02:00
|
|
|
light: tokens.shade.c50,
|
|
|
|
border: tokens.ash.c600,
|
|
|
|
hoverColor: tokens.ash.c600,
|
|
|
|
buttonFocus: tokens.ash.c500,
|
|
|
|
flagBg: tokens.ash.c500,
|
2024-06-10 02:02:20 +02:00
|
|
|
inputBg: tokens.black.c100,
|
2024-06-06 18:24:02 +02:00
|
|
|
buttonOverInputHover: tokens.ash.c500,
|
|
|
|
inputPlaceholder: tokens.ash.c200,
|
|
|
|
cardBorder: tokens.ash.c700,
|
2024-06-10 02:02:20 +02:00
|
|
|
slider: tokens.black.c200,
|
2024-06-06 21:05:18 +02:00
|
|
|
sliderFilled: tokens.purple.c200,
|
2024-06-06 18:24:02 +02:00
|
|
|
|
|
|
|
buttons: {
|
|
|
|
list: tokens.ash.c700,
|
|
|
|
active: tokens.ash.c900
|
|
|
|
},
|
|
|
|
|
|
|
|
closeHover: tokens.ash.c800,
|
|
|
|
|
|
|
|
type: {
|
|
|
|
secondary: tokens.ash.c200,
|
2024-06-06 20:22:08 +02:00
|
|
|
accent: tokens.purple.c200,
|
|
|
|
main: tokens.semantic.silver.c300
|
2024-06-06 18:24:02 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|