2023-08-20 16:19:38 +02:00
|
|
|
const themer = require("tailwindcss-themer");
|
|
|
|
|
2022-12-13 23:19:07 +01:00
|
|
|
/** @type {import('tailwindcss').Config} */
|
2022-02-10 22:13:56 +01:00
|
|
|
module.exports = {
|
2022-12-13 23:19:07 +01:00
|
|
|
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
|
2022-02-10 22:13:56 +01:00
|
|
|
theme: {
|
2022-02-10 23:45:17 +01:00
|
|
|
extend: {
|
2022-02-13 18:49:03 +01:00
|
|
|
/* colors */
|
2022-02-10 23:45:17 +01:00
|
|
|
colors: {
|
2022-02-13 18:49:03 +01:00
|
|
|
"bink-100": "#432449",
|
|
|
|
"bink-200": "#412B57",
|
|
|
|
"bink-300": "#533670",
|
|
|
|
"bink-400": "#714C97",
|
|
|
|
"bink-500": "#8D66B5",
|
|
|
|
"bink-600": "#A87FD1",
|
|
|
|
"bink-700": "#CD97D6",
|
2023-01-07 23:44:46 +01:00
|
|
|
"denim-100": "#120F1D",
|
|
|
|
"denim-200": "#191526",
|
|
|
|
"denim-300": "#211D30",
|
|
|
|
"denim-400": "#2B263D",
|
|
|
|
"denim-500": "#38334A",
|
|
|
|
"denim-600": "#504B64",
|
2023-02-07 22:34:20 +01:00
|
|
|
"denim-700": "#7A758F",
|
|
|
|
"ash-600": "#817998",
|
|
|
|
"ash-500": "#9C93B5",
|
|
|
|
"ash-400": "#3D394D",
|
|
|
|
"ash-300": "#2C293A",
|
|
|
|
"ash-200": "#2B2836",
|
2023-11-17 14:45:13 +01:00
|
|
|
"ash-100": "#1E1C26",
|
2022-02-10 23:45:17 +01:00
|
|
|
},
|
2022-02-13 18:49:03 +01:00
|
|
|
|
|
|
|
/* fonts */
|
2022-02-10 23:45:17 +01:00
|
|
|
fontFamily: {
|
2023-11-17 14:45:13 +01:00
|
|
|
"open-sans": "'Open Sans'",
|
2022-02-10 23:45:17 +01:00
|
|
|
},
|
2022-02-13 18:49:03 +01:00
|
|
|
|
|
|
|
/* animations */
|
|
|
|
keyframes: {
|
|
|
|
"loading-pin": {
|
|
|
|
"0%, 40%, 100%": { height: "0.5em", "background-color": "#282336" },
|
2023-11-17 14:45:13 +01:00
|
|
|
"20%": { height: "1em", "background-color": "white" },
|
|
|
|
},
|
2022-02-13 18:49:03 +01:00
|
|
|
},
|
2023-11-17 14:45:13 +01:00
|
|
|
animation: { "loading-pin": "loading-pin 1.8s ease-in-out infinite" },
|
|
|
|
},
|
2022-02-10 22:13:56 +01:00
|
|
|
},
|
2023-08-20 16:19:38 +02:00
|
|
|
plugins: [
|
|
|
|
require("tailwind-scrollbar"),
|
|
|
|
themer({
|
|
|
|
defaultTheme: {
|
|
|
|
extend: {
|
|
|
|
colors: {
|
2023-09-06 20:27:17 +02:00
|
|
|
// Branding
|
|
|
|
pill: {
|
2023-11-17 14:45:13 +01:00
|
|
|
background: "#1C1C36",
|
2023-09-06 20:27:17 +02:00
|
|
|
},
|
|
|
|
|
2023-08-20 17:59:46 +02:00
|
|
|
// meta data for the theme itself
|
|
|
|
global: {
|
|
|
|
accentA: "#505DBD",
|
2023-11-17 14:45:13 +01:00
|
|
|
accentB: "#3440A1",
|
2023-08-20 17:59:46 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
// light bar
|
|
|
|
lightBar: {
|
2023-11-17 14:45:13 +01:00
|
|
|
light: "#2A2A71",
|
2023-08-20 17:59:46 +02:00
|
|
|
},
|
|
|
|
|
2023-10-15 20:25:14 +02:00
|
|
|
// Buttons
|
|
|
|
buttons: {
|
|
|
|
toggle: "#8D44D6",
|
2023-10-27 21:51:14 +02:00
|
|
|
toggleDisabled: "#202836",
|
|
|
|
danger: "#792131",
|
2023-11-17 14:45:13 +01:00
|
|
|
dangerHover: "#8a293b",
|
2023-10-15 20:25:14 +02:00
|
|
|
},
|
|
|
|
|
2023-08-20 17:59:46 +02:00
|
|
|
// only used for body colors/textures
|
2023-08-20 16:19:38 +02:00
|
|
|
background: {
|
|
|
|
main: "#0A0A10",
|
|
|
|
accentA: "#6E3B80",
|
2023-11-17 14:45:13 +01:00
|
|
|
accentB: "#1F1F50",
|
2023-08-20 16:19:38 +02:00
|
|
|
},
|
2023-08-20 17:59:46 +02:00
|
|
|
|
|
|
|
// typography
|
2023-08-20 16:19:38 +02:00
|
|
|
type: {
|
|
|
|
emphasis: "#FFFFFF",
|
|
|
|
text: "#73739D",
|
|
|
|
dimmed: "#926CAD",
|
2023-10-02 21:04:40 +02:00
|
|
|
divider: "#262632",
|
2023-11-17 14:45:13 +01:00
|
|
|
secondary: "#64647B",
|
2023-08-20 17:59:46 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
// search bar
|
|
|
|
search: {
|
|
|
|
background: "#1E1E33",
|
|
|
|
focused: "#24243C",
|
|
|
|
placeholder: "#4A4A71",
|
|
|
|
icon: "#545476",
|
2023-11-17 14:45:13 +01:00
|
|
|
text: "#FFFFFF",
|
2023-08-20 21:03:59 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
// media cards
|
|
|
|
mediaCard: {
|
|
|
|
hoverBackground: "#161622",
|
|
|
|
hoverAccent: "#4D79A8",
|
|
|
|
hoverShadow: "#0A0A10",
|
|
|
|
shadow: "#161622",
|
|
|
|
barColor: "#4B4B63",
|
|
|
|
barFillColor: "#BA7FD6",
|
|
|
|
badge: "#151522",
|
2023-11-17 14:45:13 +01:00
|
|
|
badgeText: "#5F5F7A",
|
2023-09-06 20:27:17 +02:00
|
|
|
},
|
2023-10-01 17:34:37 +02:00
|
|
|
|
2023-11-17 14:45:13 +01:00
|
|
|
// Large card
|
|
|
|
largeCard: {
|
|
|
|
background: "#171728",
|
|
|
|
icon: "#6741A5",
|
|
|
|
},
|
|
|
|
|
|
|
|
// Passphrase
|
|
|
|
authentication: {
|
|
|
|
border: "#393954",
|
|
|
|
wordBackground: "#171728",
|
|
|
|
copyText: "#58587A",
|
|
|
|
copyTextHover: "#8888AA",
|
|
|
|
},
|
|
|
|
|
|
|
|
// Settings page
|
2023-10-25 18:05:40 +02:00
|
|
|
settings: {
|
|
|
|
sidebar: {
|
2023-10-27 21:51:14 +02:00
|
|
|
activeLink: "#171728",
|
|
|
|
|
2023-10-25 18:05:40 +02:00
|
|
|
type: {
|
|
|
|
secondary: "#4B395F",
|
|
|
|
inactive: "#8D68A9",
|
|
|
|
icon: "#926CAD",
|
2023-10-27 21:51:14 +02:00
|
|
|
iconActivated: "#6942A8",
|
2023-11-17 14:45:13 +01:00
|
|
|
activated: "#CBA1E8",
|
|
|
|
},
|
2023-10-27 21:51:14 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
card: {
|
|
|
|
border: "#2A243E",
|
|
|
|
background: "#29243D",
|
2023-11-17 14:45:13 +01:00
|
|
|
altBackground: "#29243D",
|
|
|
|
},
|
2023-10-25 18:05:40 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
utils: {
|
2023-11-17 14:45:13 +01:00
|
|
|
divider: "#353549",
|
2023-10-25 18:05:40 +02:00
|
|
|
},
|
|
|
|
|
2023-10-23 23:06:24 +02:00
|
|
|
// Error page
|
|
|
|
errors: {
|
|
|
|
card: "#12121B",
|
|
|
|
border: "#252534",
|
|
|
|
|
|
|
|
type: {
|
2023-11-17 14:45:13 +01:00
|
|
|
secondary: "#62627D",
|
|
|
|
},
|
2023-10-24 13:15:13 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
// About page
|
|
|
|
about: {
|
|
|
|
circle: "#262632",
|
2023-11-17 14:45:13 +01:00
|
|
|
circleText: "#9A9AC3",
|
2023-10-24 20:34:54 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
progress: {
|
|
|
|
background: "#8787A8",
|
|
|
|
preloaded: "#8787A8",
|
2023-11-17 14:45:13 +01:00
|
|
|
filled: "#A75FC9",
|
2023-10-23 23:06:24 +02:00
|
|
|
},
|
|
|
|
|
2023-10-01 17:34:37 +02:00
|
|
|
// video player
|
|
|
|
video: {
|
2023-10-01 21:08:26 +02:00
|
|
|
buttonBackground: "#444B5C",
|
|
|
|
|
2023-10-03 20:24:09 +02:00
|
|
|
scraping: {
|
|
|
|
card: "#161620",
|
|
|
|
error: "#E44F4F",
|
|
|
|
success: "#40B44B",
|
|
|
|
loading: "#B759D8",
|
2023-11-17 14:45:13 +01:00
|
|
|
noresult: "#64647B",
|
2023-10-08 17:48:48 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
audio: {
|
2023-11-17 14:45:13 +01:00
|
|
|
set: "#A75FC9",
|
2023-10-12 23:05:47 +02:00
|
|
|
},
|
|
|
|
|
2023-10-20 15:54:10 +02:00
|
|
|
buttons: {
|
|
|
|
secondary: "#161F25",
|
|
|
|
secondaryText: "#8EA3B0",
|
|
|
|
secondaryHover: "#1B262E",
|
|
|
|
primary: "#fff",
|
|
|
|
primaryText: "#000",
|
2023-10-23 23:06:24 +02:00
|
|
|
primaryHover: "#dedede",
|
|
|
|
purple: "#6b298a",
|
|
|
|
purpleHover: "#7f35a1",
|
|
|
|
cancel: "#252533",
|
2023-11-17 14:45:13 +01:00
|
|
|
cancelHover: "#3C3C4A",
|
2023-10-20 15:54:10 +02:00
|
|
|
},
|
|
|
|
|
2023-10-12 23:05:47 +02:00
|
|
|
context: {
|
|
|
|
background: "#0C1216",
|
|
|
|
light: "#4D79A8",
|
2023-10-21 16:13:16 +02:00
|
|
|
border: "#1d252b",
|
|
|
|
hoverColor: "#1E2A32",
|
2023-10-17 17:04:03 +02:00
|
|
|
buttonFocus: "#202836",
|
2023-10-17 17:43:50 +02:00
|
|
|
flagBg: "#202836",
|
2023-10-19 16:05:05 +02:00
|
|
|
inputBg: "#202836",
|
2023-10-23 21:03:50 +02:00
|
|
|
buttonOverInputHover: "#283040",
|
2023-10-22 21:11:40 +02:00
|
|
|
inputPlaceholder: "#374A56",
|
2023-10-17 17:57:45 +02:00
|
|
|
cardBorder: "#1B262E",
|
2023-10-19 16:05:05 +02:00
|
|
|
slider: "#8787A8",
|
|
|
|
sliderFilled: "#A75FC9",
|
2023-10-22 22:07:45 +02:00
|
|
|
error: "#E44F4F",
|
2023-10-12 23:05:47 +02:00
|
|
|
|
2023-10-19 19:27:21 +02:00
|
|
|
buttons: {
|
|
|
|
list: "#161C26",
|
2023-11-17 14:45:13 +01:00
|
|
|
active: "#0D1317",
|
2023-10-19 19:27:21 +02:00
|
|
|
},
|
|
|
|
|
2023-10-12 23:05:47 +02:00
|
|
|
type: {
|
|
|
|
main: "#617A8A",
|
2023-10-14 16:06:25 +02:00
|
|
|
secondary: "#374A56",
|
2023-11-17 14:45:13 +01:00
|
|
|
accent: "#A570FA",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}),
|
|
|
|
],
|
2022-02-10 22:13:56 +01:00
|
|
|
};
|