Files
CollabTable/frontend/src/app.css
T
Gabriel20xx 6c1ea2da47
Docker / Docker Build & Push (push) Failing after 28s
Lint / Lint (push) Failing after 6s
Tests / Go backend (push) Failing after 4s
Tests / Dashboard checks (push) Failing after 6s
feat: add user credentials management and health monitoring features
- Implemented CredentialsDialog for updating user credentials.
- Created auth store with functions for managing authentication state.
- Added HealthWidget to display server health status.
- Introduced health monitoring functionality with polling.
- Developed AppShell layout to manage authentication and loading states.
- Added SettingsDialog for user preferences including theme and language.
- Created utility functions for list management and data fetching.
- Implemented dashboard view mode preferences.
- Integrated search functionality for filtering lists.
- Established theme management with local storage support.
- Added utility functions for class name management.
- Configured SvelteKit for static site generation with fallback.
- Set up Vite for development with proxy support for API calls.
- Created About and List detail pages with data fetching and display.
- Added favicon and updated project configuration files.
2026-08-03 22:38:45 +02:00

98 lines
2.6 KiB
CSS

@import 'tailwindcss';
@import 'tw-animate-css';
/*
* Semantic color tokens, one block per theme. Components should only ever
* use the Tailwind utilities mapped below (bg-bg, text-fg, bg-surface, etc.),
* never the raw values, so switching theme/data-attribute is all it takes.
*/
:root,
[data-theme='dark'] {
--color-bg: #0d1117;
--color-surface: #161b22;
--color-surface-hover: #1c2333;
--color-border: #30363d;
--color-fg: #e6edf3;
--color-muted-fg: #8b949e;
--color-primary: #3b82f6;
--color-primary-fg: #04122e;
--color-secondary: #60a5fa;
--color-secondary-fg: #04122e;
--color-accent: #3b82f6;
--color-accent-fg: #04122e;
--color-danger: #ef4444;
--color-danger-fg: #ffffff;
--color-success: #22c55e;
--color-success-fg: #04210f;
--color-warning: #f59e0b;
--color-warning-fg: #2a1a00;
--color-ring: #60a5fa;
color-scheme: dark;
}
[data-theme='light'] {
--color-bg: #f6f8fa;
--color-surface: #ffffff;
--color-surface-hover: #eaeef2;
--color-border: #d0d7de;
--color-fg: #1f2328;
--color-muted-fg: #59636e;
--color-primary: #2563eb;
--color-primary-fg: #ffffff;
--color-secondary: #1d4ed8;
--color-secondary-fg: #ffffff;
--color-accent: #2563eb;
--color-accent-fg: #ffffff;
--color-danger: #dc2626;
--color-danger-fg: #ffffff;
--color-success: #16a34a;
--color-success-fg: #ffffff;
--color-warning: #b45309;
--color-warning-fg: #ffffff;
--color-ring: #2563eb;
color-scheme: light;
}
@theme inline {
--color-bg: var(--color-bg);
--color-surface: var(--color-surface);
--color-surface-hover: var(--color-surface-hover);
--color-border: var(--color-border);
--color-fg: var(--color-fg);
--color-muted-fg: var(--color-muted-fg);
--color-primary: var(--color-primary);
--color-primary-fg: var(--color-primary-fg);
--color-secondary: var(--color-secondary);
--color-secondary-fg: var(--color-secondary-fg);
--color-accent: var(--color-accent);
--color-accent-fg: var(--color-accent-fg);
--color-danger: var(--color-danger);
--color-danger-fg: var(--color-danger-fg);
--color-success: var(--color-success);
--color-success-fg: var(--color-success-fg);
--color-warning: var(--color-warning);
--color-warning-fg: var(--color-warning-fg);
--color-ring: var(--color-ring);
--font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
}
html,
body {
height: 100%;
}
body {
margin: 0;
background-color: var(--color-bg);
color: var(--color-fg);
font-family: var(--font-sans);
transition:
background-color 150ms ease,
color 150ms ease;
}
::selection {
background-color: var(--color-primary);
color: var(--color-primary-fg);
}