Something went wrong. Try again.
A self-hosted custom sync server for kobo devices.
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192/* kobo-shelf web UI — Tailwind v4 entrypoint. Compiled to the (gitignored) `styles.css` by trunk's pre_build hook. The design tokens below become utilities (e.g. `--color-elev` -> `bg-elev`, `text-elev`, `border-elev`; `--radius-card` -> `rounded-card`). */@import "tailwindcss";
/* Explicit content sources — every class the compiler must keep lives in the Leptos component `.rs` files and the HTML shell. */@source "./index.html";@source "./src/**/*.rs";
/* Palette: Catppuccin Mocha (https://catppuccin.com/palette). Token names stay semantic; the palette name each one maps to is in the comment so swapping in another Catppuccin flavour is a one-block edit. */@theme { /* Surfaces: mantle (page) < base (cards) < surface0 (raised) < surface1/2 (borders) */ --color-bg: #181825; /* mantle */ --color-elev: #1e1e2e; /* base */ --color-elev2: #313244; /* surface0 */ --color-border: #45475a; /* surface1 */ --color-border-strong: #585b70; /* surface2 */
/* Text */ --color-text: #cdd6f4; /* text */ --color-dim: #a6adc8; /* subtext0 */ --color-faint: #7f849c; /* overlay1 */
/* Accent + states. Mocha's accents are light, so anything filled with one takes `--color-on-accent` (crust) as its foreground, never white. */ --color-accent: #cba6f7; /* mauve */ --color-accent-hover: #d5b6f9; /* mauve, lightened */ --color-accent-quiet: #cba6f726; --color-on-accent: #11111b; /* crust */ --color-success: #a6e3a1; /* green */ --color-success-bg: #a6e3a11f; --color-danger: #f38ba8; /* red */ --color-danger-bg: #f38ba81f; --color-warn: #f9e2af; /* yellow */ --color-warn-bg: #f9e2af1f;
/* Radii */ --radius-card: 12px; --radius-field: 8px;
/* Fonts */ --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;}
@layer base { html, body { margin: 0; padding: 0; min-height: 100%; } body { background: radial-gradient(1200px 600px at 50% -10%, #31324440, transparent), var(--color-bg); color: var(--color-text); font-family: var(--font-sans); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; } a { color: inherit; } code { font-family: var(--font-mono); }}
/* Trash glyph as a mask so it inherits `bg-current` (currentColor). Use as `class="w-4 h-4 bg-current ico-trash"`. */@utility ico-trash { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 6 5 6 21 6'/%3E%3Cpath d='M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/%3E%3Cline x1='10' y1='11' x2='10' y2='17'/%3E%3Cline x1='14' y1='11' x2='14' y2='17'/%3E%3C/svg%3E"); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;}
/* Pencil/edit glyph as a mask (Feather "edit-2"). Use as `class="w-4 h-4 bg-current ico-pen"`. */@utility ico-pen { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z'/%3E%3C/svg%3E"); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;}