Repository navigation
Expand file tree
/
Copy paththeme.css
More file actions
98 lines (85 loc) · 3.4 KB
/
Copy paththeme.css
File metadata and controls
98 lines (85 loc) · 3.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
/* =========================================================================
theme.css — Design tokens
Single source of truth for colours, typography, spacing and elevation.
Palette is inspired by the Swedish flag (blue + yellow) and tuned for a
formal, professional, high-contrast and accessible appearance.
========================================================================= */
:root {
/* ---- Brand palette ---------------------------------------------------- */
--color-blue-900: #062a4a; /* deep navy — footer, headings */
--color-blue-800: #0a3a63;
--color-blue-700: #0d4a7e;
--color-blue-600: #115e9e; /* primary blue */
--color-blue-500: #1d72bd;
--color-blue-100: #e4eef8; /* tinted surfaces */
--color-blue-050: #f2f7fc;
--color-yellow-600: #d9a400;
--color-yellow-500: #f5b800; /* primary accent (Swedish gold) */
--color-yellow-400: #ffcc1a;
--color-yellow-100: #fff4d1;
--color-ink: #14202c; /* primary text */
--color-ink-soft: #45586a; /* secondary text */
--color-line: #dce4ec; /* hairline borders */
--color-surface: #ffffff;
--color-surface-alt: #f6f9fc;
--color-white: #ffffff;
/* ---- Semantic aliases ------------------------------------------------- */
--bg-page: var(--color-surface);
--bg-elevated: var(--color-surface);
--bg-muted: var(--color-surface-alt);
--bg-brand: var(--color-blue-600);
--bg-brand-deep: var(--color-blue-900);
--text-primary: var(--color-ink);
--text-secondary: var(--color-ink-soft);
--text-on-brand: #eaf2fb;
--accent: var(--color-yellow-500);
--accent-strong: var(--color-yellow-600);
--link: var(--color-blue-600);
--link-hover: var(--color-blue-800);
--border: var(--color-line);
/* ---- Typography ------------------------------------------------------- */
--font-sans: "Inter", "Segoe UI", system-ui, -apple-system,
"Helvetica Neue", Arial, sans-serif;
--font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
--fs-300: 0.875rem; /* 14px */
--fs-400: 1rem; /* 16px */
--fs-500: 1.125rem; /* 18px */
--fs-600: 1.375rem; /* 22px */
--fs-700: 1.75rem; /* 28px */
--fs-800: 2.25rem; /* 36px */
--fs-900: 3rem; /* 48px */
--lh-tight: 1.2;
--lh-snug: 1.4;
--lh-normal: 1.65;
--fw-regular: 400;
--fw-medium: 500;
--fw-semibold: 600;
--fw-bold: 700;
/* ---- Spacing scale (8pt based) --------------------------------------- */
--space-1: 0.25rem;
--space-2: 0.5rem;
--space-3: 0.75rem;
--space-4: 1rem;
--space-5: 1.5rem;
--space-6: 2rem;
--space-7: 3rem;
--space-8: 4rem;
--space-9: 6rem;
/* ---- Layout ----------------------------------------------------------- */
--container-max: 1120px;
--container-narrow: 760px;
--container-pad: 1.5rem;
/* ---- Radius & elevation ---------------------------------------------- */
--radius-sm: 6px;
--radius-md: 12px;
--radius-lg: 18px;
--radius-pill: 999px;
--shadow-sm: 0 1px 2px rgba(6, 42, 74, 0.06),
0 1px 3px rgba(6, 42, 74, 0.08);
--shadow-md: 0 4px 12px rgba(6, 42, 74, 0.08),
0 2px 4px rgba(6, 42, 74, 0.06);
--shadow-lg: 0 18px 40px rgba(6, 42, 74, 0.12);
/* ---- Motion ----------------------------------------------------------- */
--ease: cubic-bezier(0.4, 0, 0.2, 1);
--transition: 180ms var(--ease);
}