99 lines
2.4 KiB
CSS
99 lines
2.4 KiB
CSS
@import "tailwindcss";
|
|
|
|
@source "../../templates/**/*.gohtml";
|
|
@source "../**/*.ts";
|
|
|
|
@theme {
|
|
--color-background: light-dark(#ffffff, #101113);
|
|
--color-background-sidebar: light-dark(#f7f7f7, #161719);
|
|
--color-background-header: light-dark(#fbfbfb, #161719);
|
|
--color-background-surface: light-dark(#ffffff, #1b1c1f);
|
|
--color-background-button: light-dark(#f5f5f5, #202125);
|
|
--color-background-button-hover: light-dark(#ececec, #292a2f);
|
|
--color-foreground: light-dark(#111111, #f4f1ea);
|
|
--color-accent: light-dark(#007a85, #00b3c4);
|
|
--color-on-accent: light-dark(#ffffff, #000000);
|
|
--color-surface-hover: light-dark(rgba(0, 0, 0, 0.04), rgba(255, 255, 255, 0.05));
|
|
}
|
|
|
|
@layer base {
|
|
button,
|
|
input,
|
|
select,
|
|
textarea,
|
|
a {
|
|
border-radius: 0;
|
|
}
|
|
}
|
|
|
|
.scrollbar-hidden {
|
|
-ms-overflow-style: none;
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
.scrollbar-hidden::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
:root {
|
|
color-scheme: light dark;
|
|
--skeleton-base: light-dark(#e5e5e5, #242529);
|
|
--skeleton-highlight: light-dark(#d4d4d4, #303137);
|
|
--border: light-dark(rgba(0, 0, 0, 0.08), rgba(244, 241, 234, 0.08));
|
|
--border-light: light-dark(rgba(0, 0, 0, 0.04), rgba(244, 241, 234, 0.04));
|
|
--shadow-card: light-dark(0 2px 8px rgba(0, 0, 0, 0.04), 0 2px 12px rgba(0, 0, 0, 0.32));
|
|
--scrollbar-track: light-dark(rgba(0, 0, 0, 0.04), rgba(244, 241, 234, 0.05));
|
|
--scrollbar-thumb: light-dark(rgba(0, 0, 0, 0.16), rgba(244, 241, 234, 0.22));
|
|
--scrollbar-thumb-hover: light-dark(rgba(0, 0, 0, 0.26), rgba(244, 241, 234, 0.32));
|
|
--player-segment: #f5c542;
|
|
}
|
|
|
|
html[data-theme="light"] {
|
|
color-scheme: light;
|
|
}
|
|
|
|
html[data-theme="dark"] {
|
|
color-scheme: dark;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
background-color: var(--color-background);
|
|
color: var(--color-foreground);
|
|
}
|
|
|
|
.skeleton {
|
|
background: linear-gradient(
|
|
90deg,
|
|
var(--skeleton-base) 25%,
|
|
var(--skeleton-highlight) 50%,
|
|
var(--skeleton-base) 75%
|
|
);
|
|
background-size: 200% 100%;
|
|
animation: skeleton-loading 1.5s infinite;
|
|
}
|
|
|
|
.skeleton-subtle {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
@keyframes skeleton-loading {
|
|
0% {
|
|
background-position: 200% 0;
|
|
}
|
|
|
|
100% {
|
|
background-position: -200% 0;
|
|
}
|
|
}
|
|
|
|
[data-watchlist-toggle] .watchlist-icon,
|
|
[data-watchlist-toggle] .watchlist-icon path {
|
|
fill: none;
|
|
}
|
|
|
|
[data-watchlist-toggle][data-watchlist-state="in"] .watchlist-icon,
|
|
[data-watchlist-toggle][data-watchlist-state="in"] .watchlist-icon path {
|
|
fill: currentColor;
|
|
}
|