@code-sherpas/pharos-tokens 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +25 -16
- package/dist/styles.css +105 -98
- package/dist/tokens.d.ts +112 -91
- package/dist/tokens.js +105 -98
- package/dist/tokens.json +25 -16
- package/package.json +2 -1
- package/src/color.tokens.json +77 -77
- package/src/radius.tokens.json +24 -8
- package/src/shadow.tokens.json +113 -18
- package/src/spacing.tokens.json +61 -17
package/dist/index.js
CHANGED
|
@@ -12,17 +12,17 @@ export const tokens = {
|
|
|
12
12
|
"black": "oklch(0% 0 0)"
|
|
13
13
|
},
|
|
14
14
|
"neutral": {
|
|
15
|
-
"50": "oklch(97.91% 0
|
|
16
|
-
"100": "oklch(97.02% 0
|
|
17
|
-
"200": "oklch(95.21% 0
|
|
18
|
-
"300": "oklch(88.82% 0.
|
|
19
|
-
"400": "oklch(81.09% 0
|
|
20
|
-
"500": "oklch(52.78% 0
|
|
21
|
-
"600": "oklch(35.62% 0
|
|
22
|
-
"700": "oklch(29.52% 0.
|
|
23
|
-
"800": "oklch(
|
|
15
|
+
"50": "oklch(97.91% 0.003 248.83)",
|
|
16
|
+
"100": "oklch(97.02% 0.004 248.83)",
|
|
17
|
+
"200": "oklch(95.21% 0.005 248.83)",
|
|
18
|
+
"300": "oklch(88.82% 0.007 248.83)",
|
|
19
|
+
"400": "oklch(81.09% 0.01 248.83)",
|
|
20
|
+
"500": "oklch(52.78% 0.016 248.83)",
|
|
21
|
+
"600": "oklch(35.62% 0.019 248.83)",
|
|
22
|
+
"700": "oklch(29.52% 0.02 248.83)",
|
|
23
|
+
"800": "oklch(24.5% 0.02 248.83)",
|
|
24
24
|
"900": "oklch(20.50% 0.02 248.83)",
|
|
25
|
-
"950": "oklch(14.69% 0.0225
|
|
25
|
+
"950": "oklch(14.69% 0.0225 248.83)"
|
|
26
26
|
},
|
|
27
27
|
"primary": {
|
|
28
28
|
"50": "oklch(95.94% 0.0164 274.82)",
|
|
@@ -38,14 +38,14 @@ export const tokens = {
|
|
|
38
38
|
},
|
|
39
39
|
"semantic": {
|
|
40
40
|
"success": {
|
|
41
|
-
"fg": "oklch(52% 0.
|
|
42
|
-
"bg": "oklch(52% 0.
|
|
41
|
+
"fg": "oklch(52% 0.136 152)",
|
|
42
|
+
"bg": "oklch(52% 0.136 152 / 0.063)",
|
|
43
43
|
"on": "oklch(100% 0 0)"
|
|
44
44
|
},
|
|
45
45
|
"error": {
|
|
46
46
|
"fg": "oklch(54% 0.22 27.48)",
|
|
47
|
-
"fg-hover": "oklch(47% 0.
|
|
48
|
-
"fg-active": "oklch(40% 0.
|
|
47
|
+
"fg-hover": "oklch(47% 0.191 27.48)",
|
|
48
|
+
"fg-active": "oklch(40% 0.162 27.48)",
|
|
49
49
|
"bg": "oklch(54% 0.22 27.48 / 0.063)",
|
|
50
50
|
"on": "oklch(100% 0 0)"
|
|
51
51
|
},
|
|
@@ -55,8 +55,8 @@ export const tokens = {
|
|
|
55
55
|
"on": "oklch(20.50% 0.02 248.83)"
|
|
56
56
|
},
|
|
57
57
|
"info": {
|
|
58
|
-
"fg": "oklch(52% 0.
|
|
59
|
-
"bg": "oklch(52% 0.
|
|
58
|
+
"fg": "oklch(52% 0.133 246)",
|
|
59
|
+
"bg": "oklch(52% 0.133 246 / 0.063)",
|
|
60
60
|
"on": "oklch(100% 0 0)"
|
|
61
61
|
}
|
|
62
62
|
},
|
|
@@ -113,6 +113,15 @@ export const tokens = {
|
|
|
113
113
|
"lg": "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",
|
|
114
114
|
"xl": "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)"
|
|
115
115
|
},
|
|
116
|
+
"zIndex": {
|
|
117
|
+
"base": "0",
|
|
118
|
+
"sticky": "1100",
|
|
119
|
+
"overlay": "1300",
|
|
120
|
+
"modal": "1400",
|
|
121
|
+
"popover": "1500",
|
|
122
|
+
"toast": "1700",
|
|
123
|
+
"tooltip": "1800"
|
|
124
|
+
},
|
|
116
125
|
"z": {
|
|
117
126
|
"0": "0",
|
|
118
127
|
"header": "1000",
|
package/dist/styles.css
CHANGED
|
@@ -3,99 +3,106 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
:root {
|
|
6
|
-
--pharos-color-base-white: oklch(100% 0 0); /** Pure white.
|
|
7
|
-
--pharos-color-base-black: oklch(0% 0 0); /** Pure black
|
|
8
|
-
--pharos-color-neutral-50: oklch(97.91% 0
|
|
9
|
-
--pharos-color-neutral-100: oklch(97.02% 0
|
|
10
|
-
--pharos-color-neutral-200: oklch(95.21% 0
|
|
11
|
-
--pharos-color-neutral-300: oklch(88.82% 0.
|
|
12
|
-
--pharos-color-neutral-400: oklch(81.09% 0
|
|
13
|
-
--pharos-color-neutral-500: oklch(52.78% 0
|
|
14
|
-
--pharos-color-neutral-600: oklch(35.62% 0
|
|
15
|
-
--pharos-color-neutral-700: oklch(29.52% 0.
|
|
16
|
-
--pharos-color-neutral-800: oklch(
|
|
17
|
-
--pharos-color-neutral-900: oklch(20.50% 0.02 248.83); /**
|
|
18
|
-
--pharos-color-neutral-950: oklch(14.69% 0.0225
|
|
19
|
-
--pharos-color-primary-50: oklch(95.94% 0.0164 274.82); /**
|
|
20
|
-
--pharos-color-primary-100: oklch(91.35% 0.0374 275.69); /**
|
|
21
|
-
--pharos-color-primary-200: oklch(82.70% 0.0785 274.99); /**
|
|
22
|
-
--pharos-color-primary-300: oklch(74.07% 0.1205 273.68); /**
|
|
23
|
-
--pharos-color-primary-400: oklch(65.40% 0.1582 271.71); /**
|
|
24
|
-
--pharos-color-primary-500: oklch(57.34% 0.1996 269.61); /**
|
|
25
|
-
--pharos-color-primary-600: oklch(49.83% 0.2417 267.34); /**
|
|
26
|
-
--pharos-color-primary-700: oklch(42.19% 0.2111 267.20); /**
|
|
27
|
-
--pharos-color-primary-800: oklch(34.32% 0.1726 267.54); /**
|
|
28
|
-
--pharos-color-primary-900: oklch(25.97% 0.1317 268.18); /**
|
|
29
|
-
--pharos-color-semantic-success-fg: oklch(52% 0.
|
|
30
|
-
--pharos-color-semantic-success-bg: oklch(52% 0.
|
|
31
|
-
--pharos-color-semantic-error-fg: oklch(54% 0.22 27.48); /**
|
|
32
|
-
--pharos-color-semantic-error-fg-hover: oklch(47% 0.
|
|
33
|
-
--pharos-color-semantic-error-fg-active: oklch(40% 0.
|
|
34
|
-
--pharos-color-semantic-error-bg: oklch(54% 0.22 27.48 / 0.063); /**
|
|
35
|
-
--pharos-color-semantic-warning-fg: oklch(77.77% 0.1588 90.66); /**
|
|
36
|
-
--pharos-color-semantic-warning-bg: oklch(77.77% 0.1588 90.66 / 0.063); /**
|
|
37
|
-
--pharos-color-semantic-info-fg: oklch(52% 0.
|
|
38
|
-
--pharos-color-semantic-info-bg: oklch(52% 0.
|
|
39
|
-
--pharos-color-paper-50: oklch(99.4% 0.003 70); /**
|
|
40
|
-
--pharos-color-paper-100: oklch(98.5% 0.009 70); /**
|
|
41
|
-
--pharos-color-paper-200: oklch(96.5% 0.010 70); /**
|
|
42
|
-
--pharos-color-paper-300: oklch(93.5% 0.010 70); /**
|
|
43
|
-
--pharos-color-rule-subtle: oklch(91.5% 0.008 248.83); /**
|
|
44
|
-
--pharos-color-rule-strong: oklch(85.5% 0.012 248.83); /**
|
|
45
|
-
--pharos-color-accent-terracotta-50: oklch(96.50% 0.0160 42.5); /** Tint
|
|
46
|
-
--pharos-color-accent-terracotta-100: oklch(93.00% 0.0350 42.5); /**
|
|
47
|
-
--pharos-color-accent-terracotta-200: oklch(87.00% 0.0620 42.5); /**
|
|
48
|
-
--pharos-color-accent-terracotta-300: oklch(79.00% 0.0950 42.5); /**
|
|
49
|
-
--pharos-color-accent-terracotta-400: oklch(70.00% 0.1220 42.5); /**
|
|
50
|
-
--pharos-color-accent-terracotta-500: oklch(65.00% 0.1320 42.5); /**
|
|
51
|
-
--pharos-color-accent-terracotta-600: oklch(60.75% 0.1358 42.5); /**
|
|
52
|
-
--pharos-color-accent-terracotta-700: oklch(51.60% 0.1261 40.7); /**
|
|
53
|
-
--pharos-color-accent-terracotta-800: oklch(42.00% 0.1020 42.5); /**
|
|
54
|
-
--pharos-color-accent-terracotta-900: oklch(33.00% 0.0770 42.5); /**
|
|
55
|
-
--pharos-radius-none: 0; /**
|
|
56
|
-
--pharos-radius-sm: 0.125rem; /** 2px
|
|
57
|
-
--pharos-radius-md: 0.375rem; /** 6px
|
|
58
|
-
--pharos-radius-lg: 0.5rem; /** 8px. */
|
|
6
|
+
--pharos-color-base-white: oklch(100% 0 0); /** Pure white. Cards, panels, sheets and popovers (via surface-card); text and icons on dark and semantic fills. */
|
|
7
|
+
--pharos-color-base-black: oklch(0% 0 0); /** Pure black base value. */
|
|
8
|
+
--pharos-color-neutral-50: oklch(97.91% 0.003 248.83); /** Ink ramp (tints of navy). The light steps 50–400 are disabled / low-emphasis ink: reach for paper-* (fills) or rule-* (lines) first. The Pharos-faithful components still use 50/100/200 for hover and press bands (un-migrated). */
|
|
9
|
+
--pharos-color-neutral-100: oklch(97.02% 0.004 248.83); /** Ink ramp (tints of navy). The light steps 50–400 are disabled / low-emphasis ink: reach for paper-* (fills) or rule-* (lines) first. The Pharos-faithful components still use 50/100/200 for hover and press bands (un-migrated). */
|
|
10
|
+
--pharos-color-neutral-200: oklch(95.21% 0.005 248.83); /** Ink ramp (tints of navy). The light steps 50–400 are disabled / low-emphasis ink: reach for paper-* (fills) or rule-* (lines) first. The Pharos-faithful components still use 50/100/200 for hover and press bands (un-migrated). */
|
|
11
|
+
--pharos-color-neutral-300: oklch(88.82% 0.007 248.83); /** Ink ramp (tints of navy). The light steps 50–400 are disabled / low-emphasis ink: reach for paper-* (fills) or rule-* (lines) first. The Pharos-faithful components still use 50/100/200 for hover and press bands (un-migrated). */
|
|
12
|
+
--pharos-color-neutral-400: oklch(81.09% 0.01 248.83); /** Ink ramp (tints of navy). The light steps 50–400 are disabled / low-emphasis ink: reach for paper-* (fills) or rule-* (lines) first. The Pharos-faithful components still use 50/100/200 for hover and press bands (un-migrated). */
|
|
13
|
+
--pharos-color-neutral-500: oklch(52.78% 0.016 248.83); /** Ink: de-emphasised text on the warm ground and on white; the 1px border of interactive controls (Input, secondary Button, outline Badge, Select, Combobox), clearing WCAG 3:1 non-text contrast. */
|
|
14
|
+
--pharos-color-neutral-600: oklch(35.62% 0.019 248.83); /** Ink: secondary body text on paper-* and white. */
|
|
15
|
+
--pharos-color-neutral-700: oklch(29.52% 0.02 248.83); /** Ink: labels and captions on paper-* and white; hover of the primary Button. */
|
|
16
|
+
--pharos-color-neutral-800: oklch(24.5% 0.02 248.83); /** Ink ramp step between 700 and 900 (fixed: no longer lighter than 700). */
|
|
17
|
+
--pharos-color-neutral-900: oklch(20.50% 0.02 248.83); /** Brand navy #101820. Primary text, icons and headlines on paper-* and white; the primary Button fill. */
|
|
18
|
+
--pharos-color-neutral-950: oklch(14.69% 0.0225 248.83); /** Deepest ink; press state of the primary Button. */
|
|
19
|
+
--pharos-color-primary-50: oklch(95.94% 0.0164 274.82); /** Seablue ramp: signature and signal — action, focus, selection, links, AI/copilot. Never structural chrome. */
|
|
20
|
+
--pharos-color-primary-100: oklch(91.35% 0.0374 275.69); /** Seablue ramp: signature and signal — action, focus, selection, links, AI/copilot. Never structural chrome. */
|
|
21
|
+
--pharos-color-primary-200: oklch(82.70% 0.0785 274.99); /** Seablue ramp: signature and signal — action, focus, selection, links, AI/copilot. Never structural chrome. */
|
|
22
|
+
--pharos-color-primary-300: oklch(74.07% 0.1205 273.68); /** Seablue ramp: signature and signal — action, focus, selection, links, AI/copilot. Never structural chrome. */
|
|
23
|
+
--pharos-color-primary-400: oklch(65.40% 0.1582 271.71); /** Seablue ramp: signature and signal — action, focus, selection, links, AI/copilot. Never structural chrome. */
|
|
24
|
+
--pharos-color-primary-500: oklch(57.34% 0.1996 269.61); /** Seablue ramp: signature and signal — action, focus, selection, links, AI/copilot. Never structural chrome. */
|
|
25
|
+
--pharos-color-primary-600: oklch(49.83% 0.2417 267.34); /** Seablue, the brand hue (≈ #2A48E9). The one blue anchor per view: action, focus ring (2px white halo + 4px primary-600), selection, links, AI/copilot. */
|
|
26
|
+
--pharos-color-primary-700: oklch(42.19% 0.2111 267.20); /** Seablue ramp: signature and signal — action, focus, selection, links, AI/copilot. Never structural chrome. */
|
|
27
|
+
--pharos-color-primary-800: oklch(34.32% 0.1726 267.54); /** Seablue ramp: signature and signal — action, focus, selection, links, AI/copilot. Never structural chrome. */
|
|
28
|
+
--pharos-color-primary-900: oklch(25.97% 0.1317 268.18); /** Seablue ramp: signature and signal — action, focus, selection, links, AI/copilot. Never structural chrome. */
|
|
29
|
+
--pharos-color-semantic-success-fg: oklch(52% 0.136 152); /** System state only: success fill and success text colour; pair with semantic-success-on on the fill (WCAG AA). #027E3F — chroma clamped to the sRGB gamut edge. */
|
|
30
|
+
--pharos-color-semantic-success-bg: oklch(52% 0.136 152 / 0.063); /** System state only: tinted success background (fg at 6.3%). */
|
|
31
|
+
--pharos-color-semantic-error-fg: oklch(54% 0.22 27.48); /** System state only: error fill and error text colour; pair with semantic-error-on on the fill (WCAG AA). Single red (laser-red merged); also the destructive Button fill and its focus ring. */
|
|
32
|
+
--pharos-color-semantic-error-fg-hover: oklch(47% 0.191 27.48); /** Hover of an error / destructive fill. #AD020E. */
|
|
33
|
+
--pharos-color-semantic-error-fg-active: oklch(40% 0.162 27.48); /** Press of an error / destructive fill. #8A0209. */
|
|
34
|
+
--pharos-color-semantic-error-bg: oklch(54% 0.22 27.48 / 0.063); /** System state only: tinted error background (fg at 6.3%). */
|
|
35
|
+
--pharos-color-semantic-warning-fg: oklch(77.77% 0.1588 90.66); /** System state only: warning fill and warning text colour; pair with semantic-warning-on on the fill (WCAG AA). */
|
|
36
|
+
--pharos-color-semantic-warning-bg: oklch(77.77% 0.1588 90.66 / 0.063); /** System state only: tinted warning background (fg at 6.3%). */
|
|
37
|
+
--pharos-color-semantic-info-fg: oklch(52% 0.133 246); /** System state only: info fill and info text colour; pair with semantic-info-on on the fill (WCAG AA). #026DB0 — chroma clamped to the sRGB gamut edge. */
|
|
38
|
+
--pharos-color-semantic-info-bg: oklch(52% 0.133 246 / 0.063); /** System state only: tinted info background (fg at 6.3%). */
|
|
39
|
+
--pharos-color-paper-50: oklch(99.4% 0.003 70); /** Warm paper #FEFDFB — all but white, a spark of warmth. Fill: hover rows, zebra banding, the faintest lift off white (surface-sunken). Never a border. */
|
|
40
|
+
--pharos-color-paper-100: oklch(98.5% 0.009 70); /** Warm paper #FEF9F4 — the app canvas, the page itself (surface-canvas). Never a border. */
|
|
41
|
+
--pharos-color-paper-200: oklch(96.5% 0.010 70); /** Warm paper #F8F2EC — light fills on the canvas: chips, tracks, step circles, inputs. Never a border. */
|
|
42
|
+
--pharos-color-paper-300: oklch(93.5% 0.010 70); /** Warm paper #EEE8E2 — stronger fill: disabled surfaces, switch off-track. Never a border. */
|
|
43
|
+
--pharos-color-rule-subtle: oklch(91.5% 0.008 248.83); /** Line #DFE3E8 (ink family): default divider, card border — on white and on the warm ground. */
|
|
44
|
+
--pharos-color-rule-strong: oklch(85.5% 0.012 248.83); /** Line #C9D0D7 (ink family): emphatic rule, dashed placeholder. */
|
|
45
|
+
--pharos-color-accent-terracotta-50: oklch(96.50% 0.0160 42.5); /** Tint surfaces and soft badges (#FEF0EB); bg of a warm tint block (text 900) or a tag (text 700). */
|
|
46
|
+
--pharos-color-accent-terracotta-100: oklch(93.00% 0.0350 42.5); /** Terracotta tint #FDE1D6: tag and chip fills when many show at once. */
|
|
47
|
+
--pharos-color-accent-terracotta-200: oklch(87.00% 0.0620 42.5); /** Subtle terracotta borders and rules; low end of chart ramps (#F9C8B5). */
|
|
48
|
+
--pharos-color-accent-terracotta-300: oklch(79.00% 0.0950 42.5); /** Chart ramp step (#EFA78A). */
|
|
49
|
+
--pharos-color-accent-terracotta-400: oklch(70.00% 0.1220 42.5); /** Terracotta ramp step (#DD835F). */
|
|
50
|
+
--pharos-color-accent-terracotta-500: oklch(65.00% 0.1320 42.5); /** Chart ramp step (#D1714A). */
|
|
51
|
+
--pharos-color-accent-terracotta-600: oklch(60.75% 0.1358 42.5); /** BASE — the brand terracotta #C4633A. Solid fills with no small text (bars, blocks, ≥18.66px bold / ≥24px), emphatic rules. 4.04:1 on white either way: large text only. Never a control, focus ring, link or state. */
|
|
52
|
+
--pharos-color-accent-terracotta-700: oklch(51.60% 0.1261 40.7); /** Terracotta ink #A24A28: accent text on white (5.92:1, AA); solid marks carrying small white text; hover of a 600 fill. */
|
|
53
|
+
--pharos-color-accent-terracotta-800: oklch(42.00% 0.1020 42.5); /** Press step of a terracotta fill (#79371A). */
|
|
54
|
+
--pharos-color-accent-terracotta-900: oklch(33.00% 0.0770 42.5); /** Deep text on a terracotta tint (#552612). */
|
|
55
|
+
--pharos-radius-none: 0; /** Square corners. */
|
|
56
|
+
--pharos-radius-sm: 0.125rem; /** 2px — small marks, code chips. */
|
|
57
|
+
--pharos-radius-md: 0.375rem; /** 6px — default control rounding. */
|
|
58
|
+
--pharos-radius-lg: 0.5rem; /** 8px — swatches, inner panels. */
|
|
59
59
|
--pharos-radius-xl: 0.75rem; /** 12px. */
|
|
60
|
-
--pharos-radius-2xl: 1rem; /** 16px
|
|
61
|
-
--pharos-radius-3xl: 1.5rem; /** 24px
|
|
62
|
-
--pharos-radius-full: 9999px; /**
|
|
63
|
-
--pharos-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05); /**
|
|
64
|
-
--pharos-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); /**
|
|
65
|
-
--pharos-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); /**
|
|
66
|
-
--pharos-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); /** Modals
|
|
67
|
-
--pharos-z-
|
|
68
|
-
--pharos-z-
|
|
69
|
-
--pharos-z-
|
|
70
|
-
--pharos-z-modal
|
|
71
|
-
--pharos-z-
|
|
72
|
-
--pharos-z-
|
|
73
|
-
--pharos-z-
|
|
74
|
-
--pharos-z-
|
|
75
|
-
--pharos-z-
|
|
60
|
+
--pharos-radius-2xl: 1rem; /** 16px — default card rounding. */
|
|
61
|
+
--pharos-radius-3xl: 1.5rem; /** 24px — large surface rounding. */
|
|
62
|
+
--pharos-radius-full: 9999px; /** Pills, avatars, icon buttons, buttons. */
|
|
63
|
+
--pharos-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05); /** Resting elements. */
|
|
64
|
+
--pharos-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); /** Cards. */
|
|
65
|
+
--pharos-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); /** Popups: popovers, dropdown menus. */
|
|
66
|
+
--pharos-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); /** Modals and sheets. */
|
|
67
|
+
--pharos-z-index-base: 0; /** The page flow: the default stacking context. */
|
|
68
|
+
--pharos-z-index-sticky: 1100; /** Sticky and fixed app chrome: headers, top bars, sticky table headers. */
|
|
69
|
+
--pharos-z-index-overlay: 1300; /** The scrim behind modal UI (Dialog, Sheet). */
|
|
70
|
+
--pharos-z-index-modal: 1400; /** Modal UI: Dialog and Sheet panels. */
|
|
71
|
+
--pharos-z-index-popover: 1500; /** Anchored floating UI: Popover, DropdownMenu, Select and Combobox lists. Above modal so it can open from inside a Dialog or Sheet. */
|
|
72
|
+
--pharos-z-index-toast: 1700; /** Toasts and transient notifications. */
|
|
73
|
+
--pharos-z-index-tooltip: 1800; /** Tooltips: always on top. */
|
|
74
|
+
--pharos-z-0: 0; /** DEPRECATED: use --pharos-z-index-base (decision D29). Removed in the next major. */
|
|
75
|
+
--pharos-z-header: 1000; /** DEPRECATED: use --pharos-z-index-sticky (decision D29). Removed in the next major. */
|
|
76
|
+
--pharos-z-above-header: 1100; /** DEPRECATED: use --pharos-z-index-sticky (decision D29). Removed in the next major. */
|
|
77
|
+
--pharos-z-modal-overlay: 9998; /** DEPRECATED: use --pharos-z-index-overlay (decision D29). Removed in the next major. */
|
|
78
|
+
--pharos-z-modal: 9999; /** DEPRECATED: use --pharos-z-index-modal (decision D29). Removed in the next major. */
|
|
79
|
+
--pharos-z-drawer-overlay: 9999; /** DEPRECATED: use --pharos-z-index-overlay (decision D29). Removed in the next major. */
|
|
80
|
+
--pharos-z-drawer: 10000; /** DEPRECATED: use --pharos-z-index-modal (decision D29). Removed in the next major. */
|
|
81
|
+
--pharos-z-dropdown: 10001; /** DEPRECATED: use --pharos-z-index-popover (decision D29). Removed in the next major. */
|
|
82
|
+
--pharos-z-tooltip: 10002; /** DEPRECATED: use --pharos-z-index-tooltip (decision D29). Removed in the next major. */
|
|
76
83
|
--pharos-duration-fast: 100ms; /** Micro interactions (hover). */
|
|
77
84
|
--pharos-duration-normal: 200ms; /** Default transitions. */
|
|
78
85
|
--pharos-duration-slow: 300ms; /** Panel slide, overlay fade. */
|
|
79
86
|
--pharos-easing-in: cubic-bezier(0.4, 0, 1, 1);
|
|
80
87
|
--pharos-easing-out: cubic-bezier(0, 0, 0.2, 1);
|
|
81
88
|
--pharos-easing-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
82
|
-
--pharos-spacing-0: 0; /**
|
|
83
|
-
--pharos-spacing-1: 0.25rem; /** 4px
|
|
84
|
-
--pharos-spacing-2: 0.5rem; /** 8px
|
|
85
|
-
--pharos-spacing-3: 0.75rem; /** 12px
|
|
86
|
-
--pharos-spacing-4: 1rem; /** 16px. Default body padding
|
|
87
|
-
--pharos-spacing-5: 1.25rem; /** 20px. */
|
|
88
|
-
--pharos-spacing-6: 1.5rem; /** 24px. Default card padding
|
|
89
|
-
--pharos-spacing-7: 1.75rem; /** 28px. */
|
|
90
|
-
--pharos-spacing-8: 2rem; /** 32px. Section gap
|
|
91
|
-
--pharos-spacing-10: 2.5rem; /** 40px
|
|
92
|
-
--pharos-spacing-12: 3rem; /** 48px. */
|
|
93
|
-
--pharos-spacing-16: 4rem; /** 64px. */
|
|
94
|
-
--pharos-spacing-20: 5rem; /** 80px. */
|
|
95
|
-
--pharos-spacing-24: 6rem; /** 96px. */
|
|
96
|
-
--pharos-spacing-0-5: 0.125rem; /** 2px. */
|
|
97
|
-
--pharos-spacing-1-5: 0.375rem; /** 6px. */
|
|
98
|
-
--pharos-spacing-2-5: 0.625rem; /** 10px. */
|
|
89
|
+
--pharos-spacing-0: 0; /** 0 step of the rem scale. */
|
|
90
|
+
--pharos-spacing-1: 0.25rem; /** 4px step of the rem scale. */
|
|
91
|
+
--pharos-spacing-2: 0.5rem; /** 8px step of the rem scale. */
|
|
92
|
+
--pharos-spacing-3: 0.75rem; /** 12px step of the rem scale. */
|
|
93
|
+
--pharos-spacing-4: 1rem; /** 16px step of the rem scale. Default body padding. */
|
|
94
|
+
--pharos-spacing-5: 1.25rem; /** 20px step of the rem scale. */
|
|
95
|
+
--pharos-spacing-6: 1.5rem; /** 24px step of the rem scale. Default card padding. */
|
|
96
|
+
--pharos-spacing-7: 1.75rem; /** 28px step of the rem scale. */
|
|
97
|
+
--pharos-spacing-8: 2rem; /** 32px step of the rem scale. Section gap; height of sm controls. */
|
|
98
|
+
--pharos-spacing-10: 2.5rem; /** 40px step of the rem scale. Height of md controls. */
|
|
99
|
+
--pharos-spacing-12: 3rem; /** 48px step of the rem scale. Height of lg controls. */
|
|
100
|
+
--pharos-spacing-16: 4rem; /** 64px step of the rem scale. */
|
|
101
|
+
--pharos-spacing-20: 5rem; /** 80px step of the rem scale. */
|
|
102
|
+
--pharos-spacing-24: 6rem; /** 96px step of the rem scale. */
|
|
103
|
+
--pharos-spacing-0-5: 0.125rem; /** 2px step of the rem scale. */
|
|
104
|
+
--pharos-spacing-1-5: 0.375rem; /** 6px step of the rem scale. */
|
|
105
|
+
--pharos-spacing-2-5: 0.625rem; /** 10px step of the rem scale. */
|
|
99
106
|
--pharos-font-family-sans: "Outfit", Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; /** Default sans-serif stack. Outfit is the primary face (Decision D8); Inter is the fallback before system fonts. Loading Outfit is the consumer's responsibility — see RULES.md §8. */
|
|
100
107
|
--pharos-font-family-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; /** Default monospace stack for code. */
|
|
101
108
|
--pharos-font-weight-regular: 400;
|
|
@@ -119,16 +126,16 @@
|
|
|
119
126
|
--pharos-font-letter-spacing-tight: -0.025em;
|
|
120
127
|
--pharos-font-letter-spacing-normal: 0;
|
|
121
128
|
--pharos-font-letter-spacing-wide: 0.025em;
|
|
122
|
-
--pharos-color-semantic-success-on: var(--pharos-color-base-white); /**
|
|
123
|
-
--pharos-color-semantic-error-on: var(--pharos-color-base-white); /**
|
|
124
|
-
--pharos-color-semantic-warning-on: var(--pharos-color-neutral-900); /**
|
|
125
|
-
--pharos-color-semantic-info-on: var(--pharos-color-base-white); /**
|
|
126
|
-
--pharos-color-surface-canvas: var(--pharos-color-paper-100); /**
|
|
127
|
-
--pharos-color-surface-card: var(--pharos-color-base-white); /**
|
|
128
|
-
--pharos-color-surface-sunken: var(--pharos-color-paper-50); /**
|
|
129
|
-
--pharos-color-border-subtle: var(--pharos-color-rule-subtle); /**
|
|
130
|
-
--pharos-color-border-strong: var(--pharos-color-rule-strong); /**
|
|
131
|
-
--pharos-color-accent-terracotta-fg: var(--pharos-color-accent-terracotta-700); /**
|
|
132
|
-
--pharos-color-accent-terracotta-bg: var(--pharos-color-accent-terracotta-50); /**
|
|
133
|
-
--pharos-color-accent-terracotta-on: var(--pharos-color-base-white); /**
|
|
129
|
+
--pharos-color-semantic-success-on: var(--pharos-color-base-white); /** Text and icons on a semantic-success-fg fill. */
|
|
130
|
+
--pharos-color-semantic-error-on: var(--pharos-color-base-white); /** Text and icons on a semantic-error-fg fill. */
|
|
131
|
+
--pharos-color-semantic-warning-on: var(--pharos-color-neutral-900); /** Dark text on a semantic-warning-fg (amber) fill. */
|
|
132
|
+
--pharos-color-semantic-info-on: var(--pharos-color-base-white); /** Text and icons on a semantic-info-fg fill. */
|
|
133
|
+
--pharos-color-surface-canvas: var(--pharos-color-paper-100); /** Page / app background (→ paper-100). Prefer the semantic aliases in new work. */
|
|
134
|
+
--pharos-color-surface-card: var(--pharos-color-base-white); /** Cards, panels, sheets, popovers (→ base-white). */
|
|
135
|
+
--pharos-color-surface-sunken: var(--pharos-color-paper-50); /** Hover rows, subtle bands (→ paper-50). */
|
|
136
|
+
--pharos-color-border-subtle: var(--pharos-color-rule-subtle); /** Card borders, dividers, rules (→ rule-subtle). */
|
|
137
|
+
--pharos-color-border-strong: var(--pharos-color-rule-strong); /** Emphatic rules, dashed placeholders (→ rule-strong). */
|
|
138
|
+
--pharos-color-accent-terracotta-fg: var(--pharos-color-accent-terracotta-700); /** Accessible ink for warm-accent blocks on white (→ terracotta-700). */
|
|
139
|
+
--pharos-color-accent-terracotta-bg: var(--pharos-color-accent-terracotta-50); /** Tint surface for warm-accent blocks on white (→ terracotta-50). */
|
|
140
|
+
--pharos-color-accent-terracotta-on: var(--pharos-color-base-white); /** Text on a solid terracotta mark (use on 700 for small text). */
|
|
134
141
|
}
|