Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/cockpit/e2e/dark-mode.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ test.describe('dark mode', () => {
const canvas = await page
.locator('html')
.evaluate((el) => getComputedStyle(el).getPropertyValue('--ds-canvas').trim());
expect(canvas).toBe('#fafbfc');
expect(canvas).toBe('rgb(255, 255, 255)');
});

test('toggle flips data-theme optimistically and persists across reload', async ({
Expand Down
59 changes: 1 addition & 58 deletions apps/website/src/app/global.css
Original file line number Diff line number Diff line change
@@ -1,62 +1,5 @@
@import "tailwindcss";

@theme {
--color-bg: #f8f9fc;
--color-accent: #004090;
--color-accent-light: #64C3FD;
--color-accent-glow: rgba(0, 64, 144, 0.2);
--color-accent-border: rgba(0, 64, 144, 0.15);
--color-accent-border-hover: rgba(0, 64, 144, 0.3);
--color-accent-surface: rgba(0, 64, 144, 0.06);
--color-text-primary: #1a1a2e;
--color-text-secondary: #555770;
--color-text-muted: #8b8fa3;
--color-sidebar-bg: rgba(255, 255, 255, 0.45);
--color-angular-red: #DD0031;

--font-garamond: "EB Garamond", Georgia, serif;
--font-inter: Inter, system-ui, sans-serif;
--font-mono: "JetBrains Mono", monospace;

/* New surfaces — Phase 1 of Statusbrew refactor */
--color-canvas: #fafbfc;
--color-surface: #ffffff;
--color-surface-tinted: #f4f6fb;
--color-surface-dim: #eef1f7;
--color-border: #e6e8ee;
--color-border-strong: #d2d6e0;
--color-text-inverted: #ffffff;
--color-accent-hover: #003070;

/* Radii */
--radius-sm: 6px;
--radius-md: 10px;
--radius-lg: 14px;
--radius-xl: 20px;
--radius-full: 999px;

/* Shadows */
--shadow-sm: 0 1px 2px rgba(15, 23, 41, 0.04), 0 1px 1px rgba(15, 23, 41, 0.03);
--shadow-md: 0 4px 12px rgba(15, 23, 41, 0.06), 0 2px 4px rgba(15, 23, 41, 0.04);
--shadow-lg: 0 12px 32px rgba(15, 23, 41, 0.08), 0 4px 8px rgba(15, 23, 41, 0.05);
--shadow-focus: 0 0 0 3px rgba(0, 64, 144, 0.25);
}

:root {
--color-bg: #f8f9fc;
--color-accent: #004090;
--color-accent-light: #64C3FD;
--color-accent-glow: rgba(0, 64, 144, 0.2);
--color-accent-border: rgba(0, 64, 144, 0.15);
--color-accent-border-hover: rgba(0, 64, 144, 0.3);
--color-accent-surface: rgba(0, 64, 144, 0.06);
--color-text-primary: #1a1a2e;
--color-text-secondary: #555770;
--color-text-muted: #8b8fa3;
--color-sidebar-bg: rgba(255, 255, 255, 0.45);
--color-angular-red: #DD0031;

}
@import "@ngaf/design-tokens/theme.css";

* {
box-sizing: border-box;
Expand Down
Loading
Loading