@orianatech/pire 1.4.1 → 1.5.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.
Files changed (111) hide show
  1. package/dist/components/core/Avatar.d.ts.map +1 -1
  2. package/dist/components/core/Badge.d.ts.map +1 -1
  3. package/dist/components/core/Button.d.ts.map +1 -1
  4. package/dist/components/core/Card.d.ts.map +1 -1
  5. package/dist/components/core/Heading.d.ts.map +1 -1
  6. package/dist/components/core/Icon.d.ts.map +1 -1
  7. package/dist/components/core/IconButton.d.ts.map +1 -1
  8. package/dist/components/core/Kbd.d.ts.map +1 -1
  9. package/dist/components/core/SegmentedControl.d.ts.map +1 -1
  10. package/dist/components/core/Separator.d.ts.map +1 -1
  11. package/dist/components/core/Tag.d.ts.map +1 -1
  12. package/dist/components/core/Text.d.ts.map +1 -1
  13. package/dist/components/core/icon-map.d.ts.map +1 -1
  14. package/dist/components/data/BarChart.d.ts.map +1 -1
  15. package/dist/components/data/ChartFrame.d.ts.map +1 -1
  16. package/dist/components/data/DataTable.d.ts.map +1 -1
  17. package/dist/components/data/DescriptionList.d.ts.map +1 -1
  18. package/dist/components/data/DonutChart.d.ts.map +1 -1
  19. package/dist/components/data/FilterBar.d.ts.map +1 -1
  20. package/dist/components/data/KpiTile.d.cts +1 -1
  21. package/dist/components/data/KpiTile.d.ts +1 -1
  22. package/dist/components/data/KpiTile.d.ts.map +1 -1
  23. package/dist/components/data/LineChart.d.ts.map +1 -1
  24. package/dist/components/data/LinkList.d.ts.map +1 -1
  25. package/dist/components/data/ObjectHeader.d.ts.map +1 -1
  26. package/dist/components/data/RecordCard.d.ts.map +1 -1
  27. package/dist/components/data/ViewSwitcher.d.cts +1 -1
  28. package/dist/components/data/ViewSwitcher.d.ts +1 -1
  29. package/dist/components/data/ViewSwitcher.d.ts.map +1 -1
  30. package/dist/components/data/chartGeometry.d.ts.map +1 -1
  31. package/dist/components/feedback/Dialog.d.cts +1 -1
  32. package/dist/components/feedback/Dialog.d.ts +1 -1
  33. package/dist/components/feedback/Dialog.d.ts.map +1 -1
  34. package/dist/components/feedback/InlineMessage.d.ts.map +1 -1
  35. package/dist/components/feedback/ProgressBar.d.cts +1 -1
  36. package/dist/components/feedback/ProgressBar.d.ts +1 -1
  37. package/dist/components/feedback/ProgressBar.d.ts.map +1 -1
  38. package/dist/components/feedback/Skeleton.d.ts.map +1 -1
  39. package/dist/components/feedback/Toast.d.cts +1 -1
  40. package/dist/components/feedback/Toast.d.ts +1 -1
  41. package/dist/components/feedback/Toast.d.ts.map +1 -1
  42. package/dist/components/feedback/Tooltip.d.ts.map +1 -1
  43. package/dist/components/forms/Checkbox.d.ts.map +1 -1
  44. package/dist/components/forms/ChoiceCardGroup.d.ts.map +1 -1
  45. package/dist/components/forms/ComboBox.d.ts.map +1 -1
  46. package/dist/components/forms/DatePicker.d.ts.map +1 -1
  47. package/dist/components/forms/DateRangePicker.d.ts.map +1 -1
  48. package/dist/components/forms/FileUpload.d.ts.map +1 -1
  49. package/dist/components/forms/FormField.d.ts.map +1 -1
  50. package/dist/components/forms/Input.d.ts.map +1 -1
  51. package/dist/components/forms/MultiComboBox.d.ts.map +1 -1
  52. package/dist/components/forms/NumberField.d.ts.map +1 -1
  53. package/dist/components/forms/QuantityStepper.d.ts.map +1 -1
  54. package/dist/components/forms/Radio.d.ts.map +1 -1
  55. package/dist/components/forms/Select.d.ts.map +1 -1
  56. package/dist/components/forms/Switch.d.ts.map +1 -1
  57. package/dist/components/forms/TextArea.d.ts.map +1 -1
  58. package/dist/components/forms/ValueHelpField.d.cts +1 -1
  59. package/dist/components/forms/ValueHelpField.d.ts +1 -1
  60. package/dist/components/forms/ValueHelpField.d.ts.map +1 -1
  61. package/dist/components/forms/dateValues.d.ts.map +1 -1
  62. package/dist/components/layout/PageBand.d.ts.map +1 -1
  63. package/dist/components/layout/SectionHeader.d.ts.map +1 -1
  64. package/dist/components/layout/SelectionBar.d.ts.map +1 -1
  65. package/dist/components/layout/SplitPane.d.ts.map +1 -1
  66. package/dist/components/navigation/Breadcrumb.d.ts.map +1 -1
  67. package/dist/components/navigation/Menu.d.ts.map +1 -1
  68. package/dist/components/navigation/Pagination.d.cts +1 -1
  69. package/dist/components/navigation/Pagination.d.ts +1 -1
  70. package/dist/components/navigation/Pagination.d.ts.map +1 -1
  71. package/dist/components/navigation/Ribbon.d.ts.map +1 -1
  72. package/dist/components/navigation/ShellBar.d.ts.map +1 -1
  73. package/dist/components/navigation/ShellRail.d.ts.map +1 -1
  74. package/dist/components/navigation/SideNav.d.cts +9 -1
  75. package/dist/components/navigation/SideNav.d.ts +9 -1
  76. package/dist/components/navigation/SideNav.d.ts.map +1 -1
  77. package/dist/components/navigation/Tabs.d.ts.map +1 -1
  78. package/dist/components/patterns/AppLauncher.d.cts +1 -1
  79. package/dist/components/patterns/AppLauncher.d.ts +1 -1
  80. package/dist/components/patterns/AppLauncher.d.ts.map +1 -1
  81. package/dist/components/patterns/CommandPalette.d.ts.map +1 -1
  82. package/dist/components/patterns/ConfirmDialog.d.cts +1 -1
  83. package/dist/components/patterns/ConfirmDialog.d.ts +1 -1
  84. package/dist/components/patterns/ConfirmDialog.d.ts.map +1 -1
  85. package/dist/components/patterns/EmptyState.d.ts.map +1 -1
  86. package/dist/components/patterns/FileDropZone.d.ts.map +1 -1
  87. package/dist/components/patterns/NumPad.d.ts.map +1 -1
  88. package/dist/components/patterns/SidePanel.d.cts +1 -1
  89. package/dist/components/patterns/SidePanel.d.ts +1 -1
  90. package/dist/components/patterns/SidePanel.d.ts.map +1 -1
  91. package/dist/components/patterns/ValueHelpDialog.d.cts +1 -1
  92. package/dist/components/patterns/ValueHelpDialog.d.ts +1 -1
  93. package/dist/components/patterns/ValueHelpDialog.d.ts.map +1 -1
  94. package/dist/components.css +3653 -691
  95. package/dist/i18n/PireIntlProvider.d.ts.map +1 -1
  96. package/dist/index.cjs +612 -249
  97. package/dist/index.cjs.map +1 -1
  98. package/dist/index.d.cts +17 -17
  99. package/dist/index.d.ts +17 -17
  100. package/dist/index.d.ts.map +1 -1
  101. package/dist/index.js +627 -251
  102. package/dist/index.js.map +1 -1
  103. package/dist/tokens/base.css +64 -13
  104. package/dist/tokens/colors.css +156 -78
  105. package/dist/tokens/elevation.css +20 -16
  106. package/dist/tokens/fonts.css +49 -7
  107. package/dist/tokens/motion.css +15 -12
  108. package/dist/tokens/spacing.css +41 -16
  109. package/dist/tokens/themes.css +88 -32
  110. package/dist/tokens/typography.css +43 -36
  111. package/package.json +1 -1
@@ -1,16 +1,67 @@
1
- *,*::before,*::after{box-sizing:border-box}
2
- html{-webkit-text-size-adjust:100%}
3
- body{margin:0;background:var(--surface-page);color:var(--text-primary);font:var(--type-body);letter-spacing:var(--ls-body);text-wrap:pretty;-webkit-font-smoothing:antialiased}
4
- h1{font:var(--type-h1);letter-spacing:var(--ls-heading);margin:0}
5
- h2{font:var(--type-h2);letter-spacing:var(--ls-heading);margin:0}
6
- h3{font:var(--type-h3);margin:0}
7
- h4{font:var(--type-h4);margin:0}
8
- p{margin:0 0 var(--sp-3)}
9
- a{color:var(--text-link);text-decoration:underline;text-underline-offset:2px;transition:var(--transition-control)}
10
- a:hover{color:var(--text-link-hover)}
11
- a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:var(--focus-w) solid var(--focus-color);outline-offset:var(--focus-offset)}
12
- code,kbd,samp{font:var(--type-code)}
13
- table{border-collapse:collapse}
1
+ *,
2
+ *::before,
3
+ *::after {
4
+ box-sizing: border-box;
5
+ }
6
+ html {
7
+ -webkit-text-size-adjust: 100%;
8
+ }
9
+ body {
10
+ margin: 0;
11
+ background: var(--surface-page);
12
+ color: var(--text-primary);
13
+ font: var(--type-body);
14
+ letter-spacing: var(--ls-body);
15
+ text-wrap: pretty;
16
+ -webkit-font-smoothing: antialiased;
17
+ }
18
+ h1 {
19
+ font: var(--type-h1);
20
+ letter-spacing: var(--ls-heading);
21
+ margin: 0;
22
+ }
23
+ h2 {
24
+ font: var(--type-h2);
25
+ letter-spacing: var(--ls-heading);
26
+ margin: 0;
27
+ }
28
+ h3 {
29
+ font: var(--type-h3);
30
+ margin: 0;
31
+ }
32
+ h4 {
33
+ font: var(--type-h4);
34
+ margin: 0;
35
+ }
36
+ p {
37
+ margin: 0 0 var(--sp-3);
38
+ }
39
+ a {
40
+ color: var(--text-link);
41
+ text-decoration: underline;
42
+ text-underline-offset: 2px;
43
+ transition: var(--transition-control);
44
+ }
45
+ a:hover {
46
+ color: var(--text-link-hover);
47
+ }
48
+ a:focus-visible,
49
+ button:focus-visible,
50
+ input:focus-visible,
51
+ select:focus-visible,
52
+ textarea:focus-visible,
53
+ [tabindex]:focus-visible {
54
+ outline: var(--focus-w) solid var(--focus-color);
55
+ outline-offset: var(--focus-offset);
56
+ }
57
+ code,
58
+ kbd,
59
+ samp {
60
+ font: var(--type-code);
61
+ }
62
+ table {
63
+ border-collapse: collapse;
64
+ }
14
65
  /* Element resets only — no classes, no keyframes.
15
66
 
16
67
  This is the one part of the stylesheet a consumer can legitimately skip: the element-level
@@ -1,23 +1,53 @@
1
- :root{
2
- /* --- Neutral ramp: cool, desaturated, engineered ------------------------ */
3
- --gray-0:#ffffff;--gray-05:#fafbfc;--gray-10:#f2f5f8;--gray-20:#e3e8ed;--gray-30:#ccd4dc;
4
- --gray-40:#a9b4bf;--gray-50:#83919f;--gray-60:#5e6d7c;--gray-70:#45525f;--gray-80:#2b3742;
5
- --gray-90:#19222b;--gray-100:#0d1319;
6
-
7
- /* --- Pire Blue: the institutional core --------------------------------- */
8
- --blue-10:#eaf2fd;--blue-20:#c8ddfb;--blue-30:#8ebbf5;--blue-40:#4a92ea;--blue-50:#1f6fd6;
9
- --blue-60:#0b56b4;--blue-70:#08438f;--blue-80:#06326c;--blue-90:#04234b;
10
-
11
- /* --- Teal: the modern accent (data, active states, charts) -------------- */
12
- --teal-10:#e0f4f3;--teal-30:#79cfcb;--teal-50:#0f8f8f;--teal-60:#0a7272;--teal-80:#054747;
13
-
14
- /* --- Semantic ramps ---------------------------------------------------- */
15
- --green-10:#e6f4ea;--green-30:#8ecba7;--green-50:#1a7f47;--green-60:#146138;
16
- --amber-10:#fdf2dd;--amber-30:#efc37a;--amber-50:#b25a00;--amber-60:#8a4600;
17
- --red-10:#fdeaea;--red-30:#eda3a7;--red-50:#c0242e;--red-60:#991c25;
18
- --purple-10:#f0edfb;--purple-50:#5a3fc0;
19
-
20
- /* --- Text ---------------------------------------------------------------
1
+ :root {
2
+ /* --- Neutral ramp: cool, desaturated, engineered ------------------------ */
3
+ --gray-0: #ffffff;
4
+ --gray-05: #fafbfc;
5
+ --gray-10: #f2f5f8;
6
+ --gray-20: #e3e8ed;
7
+ --gray-30: #ccd4dc;
8
+ --gray-40: #a9b4bf;
9
+ --gray-50: #83919f;
10
+ --gray-60: #5e6d7c;
11
+ --gray-70: #45525f;
12
+ --gray-80: #2b3742;
13
+ --gray-90: #19222b;
14
+ --gray-100: #0d1319;
15
+
16
+ /* --- Pire Blue: the institutional core --------------------------------- */
17
+ --blue-10: #eaf2fd;
18
+ --blue-20: #c8ddfb;
19
+ --blue-30: #8ebbf5;
20
+ --blue-40: #4a92ea;
21
+ --blue-50: #1f6fd6;
22
+ --blue-60: #0b56b4;
23
+ --blue-70: #08438f;
24
+ --blue-80: #06326c;
25
+ --blue-90: #04234b;
26
+
27
+ /* --- Teal: the modern accent (data, active states, charts) -------------- */
28
+ --teal-10: #e0f4f3;
29
+ --teal-30: #79cfcb;
30
+ --teal-50: #0f8f8f;
31
+ --teal-60: #0a7272;
32
+ --teal-80: #054747;
33
+
34
+ /* --- Semantic ramps ---------------------------------------------------- */
35
+ --green-10: #e6f4ea;
36
+ --green-30: #8ecba7;
37
+ --green-50: #1a7f47;
38
+ --green-60: #146138;
39
+ --amber-10: #fdf2dd;
40
+ --amber-30: #efc37a;
41
+ --amber-50: #b25a00;
42
+ --amber-60: #8a4600;
43
+ --red-10: #fdeaea;
44
+ --red-30: #eda3a7;
45
+ --red-50: #c0242e;
46
+ --red-60: #991c25;
47
+ --purple-10: #f0edfb;
48
+ --purple-50: #5a3fc0;
49
+
50
+ /* --- Text ---------------------------------------------------------------
21
51
  The scale sits one step darker than it used to. `--text-tertiary` was
22
52
  gray-50, which held only 2.95:1 on the page surface and 3.22:1 on a card —
23
53
  under the 4.5:1 that body text needs, in 21 rules of components.css.
@@ -35,65 +65,102 @@
35
65
  `--text-disabled` deliberately stays at gray-40 and below 4.5:1: WCAG 1.4.3
36
66
  exempts inactive components, and darkening it removes the signal that the
37
67
  control is disabled. */
38
- --text-primary:var(--gray-90);--text-secondary:var(--gray-70);--text-tertiary:var(--gray-60);
39
- --text-disabled:var(--gray-40);--text-inverse:var(--gray-0);--text-on-accent:var(--gray-0);
40
- /* Text on a solid status fill — today only the IconButton count badge. Separate from
68
+ --text-primary: var(--gray-90);
69
+ --text-secondary: var(--gray-70);
70
+ --text-tertiary: var(--gray-60);
71
+ --text-disabled: var(--gray-40);
72
+ --text-inverse: var(--gray-0);
73
+ --text-on-accent: var(--gray-0);
74
+ /* Text on a solid status fill — today only the IconButton count badge. Separate from
41
75
  `--text-inverse` because the two flip in opposite directions: the shell and toasts are dark in
42
76
  both themes and always want light text, while the status fills invert (red-60 in light,
43
77
  red-30 in dark) and so want the opposite. Sharing one token put white on light pink at 1.94:1. */
44
- --text-on-status:var(--gray-0);
45
- /* Muted text on the permanently dark ground — the shell bar's company name, the rail's resting
78
+ --text-on-status: var(--gray-0);
79
+ /* Muted text on the permanently dark ground — the shell bar's company name, the rail's resting
46
80
  glyphs. Separate from `--text-inverse` for the reason `--text-on-status` is separate: a second
47
81
  weight on the shell cannot be derived from `--text-secondary`, which is tuned for light surfaces
48
82
  and resolved to gray-70 there. Reaching for it here is how the shell got near-black on near-black. */
49
- --text-inverse-secondary:var(--gray-30);
50
- --text-link:var(--blue-60);--text-link-hover:var(--blue-70);--text-label:var(--gray-70);
51
- --text-numeric:var(--gray-90);
52
-
53
- /* --- Surfaces --------------------------------------------------------- */
54
- --surface-page:var(--gray-10);--surface-card:var(--gray-0);--surface-sunken:var(--gray-05);
55
- --surface-raised:var(--gray-0);--surface-hover:var(--gray-10);--surface-active:var(--gray-20);
56
- --surface-selected:var(--blue-10);--surface-disabled:var(--gray-10);
57
- --surface-shell:var(--blue-90);--surface-shell-hover:var(--blue-80);
58
- --surface-nav:var(--gray-0);--surface-toolbar:var(--gray-05);--surface-overlay:rgba(13,19,25,.5);
59
- /* The application rail: a second permanently dark band, below the shell bar and beside the nav.
83
+ --text-inverse-secondary: var(--gray-30);
84
+ --text-link: var(--blue-60);
85
+ --text-link-hover: var(--blue-70);
86
+ --text-label: var(--gray-70);
87
+ --text-numeric: var(--gray-90);
88
+
89
+ /* --- Surfaces --------------------------------------------------------- */
90
+ --surface-page: var(--gray-10);
91
+ --surface-card: var(--gray-0);
92
+ --surface-sunken: var(--gray-05);
93
+ --surface-raised: var(--gray-0);
94
+ --surface-hover: var(--gray-10);
95
+ --surface-active: var(--gray-20);
96
+ --surface-selected: var(--blue-10);
97
+ --surface-disabled: var(--gray-10);
98
+ --surface-shell: var(--blue-90);
99
+ --surface-shell-hover: var(--blue-80);
100
+ --surface-nav: var(--gray-0);
101
+ --surface-toolbar: var(--gray-05);
102
+ --surface-overlay: rgba(13, 19, 25, 0.5);
103
+ /* The application rail: a second permanently dark band, below the shell bar and beside the nav.
60
104
  Aliased off the shell rather than merged into it — the two are separate landmarks and a product
61
105
  may want the rail a shade apart — but they start identical so a default shell reads as one piece. */
62
- --surface-rail:var(--surface-shell);--surface-rail-hover:var(--surface-shell-hover);
63
- /* A selected rail tile carries a fill *and* a ring. The fill alone is 1.64:1 against the rail, which
106
+ --surface-rail: var(--surface-shell);
107
+ --surface-rail-hover: var(--surface-shell-hover);
108
+ /* A selected rail tile carries a fill *and* a ring. The fill alone is 1.64:1 against the rail, which
64
109
  is nowhere near the 3:1 WCAG 1.4.11 asks of a state indicator; `--border-rail-selected` is the part
65
110
  that actually clears it (4.89:1 light, 3.92:1 dark). Do not drop the ring to "simplify" the tile. */
66
- --surface-rail-selected:var(--blue-70);
67
-
68
- /* --- Borders ---------------------------------------------------------- */
69
- --border-subtle:var(--gray-20);--border-default:var(--gray-30);--border-strong:var(--gray-50);
70
- --border-field:var(--gray-50);--border-focus:var(--blue-60);--border-accent:var(--blue-60);
71
- --border-inverse:rgba(255,255,255,.24);
72
- /* Rail furniture. `--border-rail` separates the rail's zones and is decorative, like the SideNav's
111
+ --surface-rail-selected: var(--blue-70);
112
+
113
+ /* --- Borders ---------------------------------------------------------- */
114
+ --border-subtle: var(--gray-20);
115
+ --border-default: var(--gray-30);
116
+ --border-strong: var(--gray-50);
117
+ --border-field: var(--gray-50);
118
+ --border-focus: var(--blue-60);
119
+ --border-accent: var(--blue-60);
120
+ --border-inverse: rgba(255, 255, 255, 0.24);
121
+ /* Rail furniture. `--border-rail` separates the rail's zones and is decorative, like the SideNav's
73
122
  own group rule; `--border-rail-selected` is the selected tile's inset ring and is a state
74
123
  indicator, so it owes 3:1 against `--surface-rail` and is asserted in tokens.contrast.test.ts. */
75
- --border-rail:var(--blue-70);--border-rail-selected:var(--blue-40);
76
-
77
- /* --- Interactive (accent) --------------------------------------------- */
78
- --accent-bg:var(--blue-60);--accent-bg-hover:var(--blue-70);--accent-bg-active:var(--blue-80);
79
- --accent-fg:var(--gray-0);--accent-subtle-bg:var(--blue-10);--accent-subtle-fg:var(--blue-70);
80
- --danger-bg:var(--red-50);--danger-bg-hover:var(--red-60);
81
-
82
- /* The ribbon's contextual tab — the band that exists only while rows are selected. Teal rather
124
+ --border-rail: var(--blue-70);
125
+ --border-rail-selected: var(--blue-40);
126
+
127
+ /* --- Interactive (accent) --------------------------------------------- */
128
+ --accent-bg: var(--blue-60);
129
+ --accent-bg-hover: var(--blue-70);
130
+ --accent-bg-active: var(--blue-80);
131
+ --accent-fg: var(--gray-0);
132
+ --accent-subtle-bg: var(--blue-10);
133
+ --accent-subtle-fg: var(--blue-70);
134
+ --danger-bg: var(--red-50);
135
+ --danger-bg-hover: var(--red-60);
136
+
137
+ /* The ribbon's contextual tab — the band that exists only while rows are selected. Teal rather
83
138
  than the accent blue on purpose: blue means "where you are" everywhere else in the shell, and a
84
139
  tab that means "what you can do to the selection" must not borrow it. Aliases rather than raw
85
140
  `--teal-*` because the ramp steps do not theme: `--teal-10` is a light mint in both themes, and
86
141
  painting the dark bar with it is the same mistake as `--text-inverse` pointed at gray-100. */
87
- --surface-contextual:var(--teal-10);--text-contextual:var(--teal-80);--border-contextual:var(--teal-60);
88
-
89
- /* --- Status: value states in lists, tables, object headers ------------- */
90
- --status-positive-fg:var(--green-60);--status-positive-bg:var(--green-10);--status-positive-border:var(--green-30);
91
- --status-critical-fg:var(--amber-60);--status-critical-bg:var(--amber-10);--status-critical-border:var(--amber-30);
92
- --status-negative-fg:var(--red-60);--status-negative-bg:var(--red-10);--status-negative-border:var(--red-30);
93
- --status-informative-fg:var(--blue-70);--status-informative-bg:var(--blue-10);--status-informative-border:var(--blue-30);
94
- --status-neutral-fg:var(--gray-70);--status-neutral-bg:var(--gray-10);--status-neutral-border:var(--gray-30);
95
-
96
- /* --- Data visualisation ------------------------------------------------
142
+ --surface-contextual: var(--teal-10);
143
+ --text-contextual: var(--teal-80);
144
+ --border-contextual: var(--teal-60);
145
+
146
+ /* --- Status: value states in lists, tables, object headers ------------- */
147
+ --status-positive-fg: var(--green-60);
148
+ --status-positive-bg: var(--green-10);
149
+ --status-positive-border: var(--green-30);
150
+ --status-critical-fg: var(--amber-60);
151
+ --status-critical-bg: var(--amber-10);
152
+ --status-critical-border: var(--amber-30);
153
+ --status-negative-fg: var(--red-60);
154
+ --status-negative-bg: var(--red-10);
155
+ --status-negative-border: var(--red-30);
156
+ --status-informative-fg: var(--blue-70);
157
+ --status-informative-bg: var(--blue-10);
158
+ --status-informative-border: var(--blue-30);
159
+ --status-neutral-fg: var(--gray-70);
160
+ --status-neutral-bg: var(--gray-10);
161
+ --status-neutral-border: var(--gray-30);
162
+
163
+ /* --- Data visualisation ------------------------------------------------
97
164
  A ramp of its own, kept apart from the semantic ramps on purpose: a series
98
165
  colour must never be mistakable for a status colour, and the status steps are
99
166
  already spoken for by positive / critical / negative.
@@ -110,23 +177,34 @@
110
177
  blue-30, gray-60 — failed both: teal-50, blue-30 and gray-60 sat below the
111
178
  chroma floor and read as grey, blue-30 held only 1.99:1 against white, and
112
179
  blue-60 and purple-50 dropped under 2.5:1 on the dark surface. */
113
- --viz-blue-50:#436cc8;--viz-blue-40:#5d83d4;
114
- --viz-rust-50:#b94739;--viz-rust-40:#c86556;
115
- --viz-cyan-50:#0083ad;--viz-cyan-40:#0097bc;
116
- --viz-gold-50:#936b00;--viz-gold-40:#a58100;
117
- --viz-violet-50:#9750a7;--viz-violet-40:#a86ab6;
118
- --viz-jade-50:#008c64;--viz-jade-40:#009f7a;
119
-
120
- /* Slot order is part of the result, not presentation: colour-blind separation is
180
+ --viz-blue-50: #436cc8;
181
+ --viz-blue-40: #5d83d4;
182
+ --viz-rust-50: #b94739;
183
+ --viz-rust-40: #c86556;
184
+ --viz-cyan-50: #0083ad;
185
+ --viz-cyan-40: #0097bc;
186
+ --viz-gold-50: #936b00;
187
+ --viz-gold-40: #a58100;
188
+ --viz-violet-50: #9750a7;
189
+ --viz-violet-40: #a86ab6;
190
+ --viz-jade-50: #008c64;
191
+ --viz-jade-40: #009f7a;
192
+
193
+ /* Slot order is part of the result, not presentation: colour-blind separation is
121
194
  measured between *adjacent* slots, and these six in a different order fall to
122
195
  ΔE 1.6. Assign series in this order, and never cycle past --viz-6. */
123
- --viz-1:var(--viz-blue-50);--viz-2:var(--viz-rust-50);--viz-3:var(--viz-cyan-50);
124
- --viz-4:var(--viz-gold-50);--viz-5:var(--viz-violet-50);--viz-6:var(--viz-jade-50);
125
-
126
- /* Everything past the sixth series. Deliberately a neutral: a seventh hue would
196
+ --viz-1: var(--viz-blue-50);
197
+ --viz-2: var(--viz-rust-50);
198
+ --viz-3: var(--viz-cyan-50);
199
+ --viz-4: var(--viz-gold-50);
200
+ --viz-5: var(--viz-violet-50);
201
+ --viz-6: var(--viz-jade-50);
202
+
203
+ /* Everything past the sixth series. Deliberately a neutral: a seventh hue would
127
204
  imply an identity the eye cannot reliably recover, so the tail folds into one
128
205
  "other" bucket instead. */
129
- --viz-other:var(--gray-40);
130
- /* Grid and axis rules — recessive by design, so the data sits in front of them. */
131
- --viz-grid:var(--gray-20);--viz-axis:var(--gray-30);
206
+ --viz-other: var(--gray-40);
207
+ /* Grid and axis rules — recessive by design, so the data sits in front of them. */
208
+ --viz-grid: var(--gray-20);
209
+ --viz-axis: var(--gray-30);
132
210
  }
@@ -1,21 +1,25 @@
1
- :root{
2
- /* Radii stay under 4px — structural, never playful */
3
- --radius-0:0px;--radius-1:2px;--radius-2:4px;--radius-pill:999px;
1
+ :root {
2
+ /* Radii stay under 4px — structural, never playful */
3
+ --radius-0: 0px;
4
+ --radius-1: 2px;
5
+ --radius-2: 4px;
6
+ --radius-pill: 999px;
4
7
 
5
- --border-w-hairline:1px; /* @kind spacing */
6
- --border-w-emphasis:2px; /* @kind spacing */
8
+ --border-w-hairline: 1px; /* @kind spacing */
9
+ --border-w-emphasis: 2px; /* @kind spacing */
7
10
 
8
- --shadow-0:none;
9
- --shadow-1:0 1px 2px rgba(13,19,25,.08);
10
- --shadow-2:0 2px 6px rgba(13,19,25,.10),0 0 1px rgba(13,19,25,.06);
11
- --shadow-3:0 8px 24px rgba(13,19,25,.14),0 0 1px rgba(13,19,25,.08);
12
- --shadow-inset-top:inset 0 1px 0 rgba(13,19,25,.06);
13
- --shadow-key-line:inset 0 0 0 1px var(--border-subtle);
11
+ --shadow-0: none;
12
+ --shadow-1: 0 1px 2px rgba(13, 19, 25, 0.08);
13
+ --shadow-2: 0 2px 6px rgba(13, 19, 25, 0.1), 0 0 1px rgba(13, 19, 25, 0.06);
14
+ --shadow-3: 0 8px 24px rgba(13, 19, 25, 0.14), 0 0 1px rgba(13, 19, 25, 0.08);
15
+ --shadow-inset-top: inset 0 1px 0 rgba(13, 19, 25, 0.06);
16
+ --shadow-key-line: inset 0 0 0 1px var(--border-subtle);
14
17
 
15
- /* Focus: 2px offset outline, never a glow */
16
- --focus-w:2px; /* @kind spacing */
17
- --focus-offset:1px; /* @kind spacing */--focus-color:var(--border-focus);
18
- --focus-ring:0 0 0 var(--focus-w) var(--focus-color);
18
+ /* Focus: 2px offset outline, never a glow */
19
+ --focus-w: 2px; /* @kind spacing */
20
+ --focus-offset: 1px; /* @kind spacing */
21
+ --focus-color: var(--border-focus);
22
+ --focus-ring: 0 0 0 var(--focus-w) var(--focus-color);
19
23
 
20
- --overlay-blur:blur(2px); /* @kind other */
24
+ --overlay-blur: blur(2px); /* @kind other */
21
25
  }
@@ -11,10 +11,52 @@
11
11
 
12
12
  Both families are SIL Open Font License 1.1. ../fonts/LICENSE-*.txt travel with the binaries
13
13
  because the licence requires it. */
14
- @font-face{font-family:"Pire Sans";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/public-sans-latin-400-normal.woff2") format("woff2")}
15
- @font-face{font-family:"Pire Sans";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/public-sans-latin-500-normal.woff2") format("woff2")}
16
- @font-face{font-family:"Pire Sans";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/public-sans-latin-600-normal.woff2") format("woff2")}
17
- @font-face{font-family:"Pire Sans";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/public-sans-latin-700-normal.woff2") format("woff2")}
18
- @font-face{font-family:"Pire Mono";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2")}
19
- @font-face{font-family:"Pire Mono";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2")}
20
- @font-face{font-family:"Pire Mono";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/jetbrains-mono-latin-600-normal.woff2") format("woff2")}
14
+ @font-face {
15
+ font-family: "Pire Sans";
16
+ font-style: normal;
17
+ font-weight: 400;
18
+ font-display: swap;
19
+ src: url("../fonts/public-sans-latin-400-normal.woff2") format("woff2");
20
+ }
21
+ @font-face {
22
+ font-family: "Pire Sans";
23
+ font-style: normal;
24
+ font-weight: 500;
25
+ font-display: swap;
26
+ src: url("../fonts/public-sans-latin-500-normal.woff2") format("woff2");
27
+ }
28
+ @font-face {
29
+ font-family: "Pire Sans";
30
+ font-style: normal;
31
+ font-weight: 600;
32
+ font-display: swap;
33
+ src: url("../fonts/public-sans-latin-600-normal.woff2") format("woff2");
34
+ }
35
+ @font-face {
36
+ font-family: "Pire Sans";
37
+ font-style: normal;
38
+ font-weight: 700;
39
+ font-display: swap;
40
+ src: url("../fonts/public-sans-latin-700-normal.woff2") format("woff2");
41
+ }
42
+ @font-face {
43
+ font-family: "Pire Mono";
44
+ font-style: normal;
45
+ font-weight: 400;
46
+ font-display: swap;
47
+ src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");
48
+ }
49
+ @font-face {
50
+ font-family: "Pire Mono";
51
+ font-style: normal;
52
+ font-weight: 500;
53
+ font-display: swap;
54
+ src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
55
+ }
56
+ @font-face {
57
+ font-family: "Pire Mono";
58
+ font-style: normal;
59
+ font-weight: 600;
60
+ font-display: swap;
61
+ src: url("../fonts/jetbrains-mono-latin-600-normal.woff2") format("woff2");
62
+ }
@@ -1,13 +1,16 @@
1
- :root{
2
- /* Productive motion: short, mostly linear-out. Nothing bounces in an ERP. */
3
- --dur-instant:70ms; /* @kind other */
4
- --dur-fast:110ms; /* @kind other */
5
- --dur-base:180ms; /* @kind other */
6
- --dur-moderate:240ms; /* @kind other */
7
- --dur-slow:400ms; /* @kind other */
8
- --ease-standard:cubic-bezier(.2,0,.38,.9); /* @kind other */
9
- --ease-entrance:cubic-bezier(0,0,.38,.9); /* @kind other */
10
- --ease-exit:cubic-bezier(.2,0,1,.9); /* @kind other */
11
- --transition-control:background-color var(--dur-fast) var(--ease-standard),border-color var(--dur-fast) var(--ease-standard),color var(--dur-fast) var(--ease-standard); /* @kind other */
12
- --transition-surface:box-shadow var(--dur-base) var(--ease-standard),transform var(--dur-base) var(--ease-standard); /* @kind other */
1
+ :root {
2
+ /* Productive motion: short, mostly linear-out. Nothing bounces in an ERP. */
3
+ --dur-instant: 70ms; /* @kind other */
4
+ --dur-fast: 110ms; /* @kind other */
5
+ --dur-base: 180ms; /* @kind other */
6
+ --dur-moderate: 240ms; /* @kind other */
7
+ --dur-slow: 400ms; /* @kind other */
8
+ --ease-standard: cubic-bezier(0.2, 0, 0.38, 0.9); /* @kind other */
9
+ --ease-entrance: cubic-bezier(0, 0, 0.38, 0.9); /* @kind other */
10
+ --ease-exit: cubic-bezier(0.2, 0, 1, 0.9); /* @kind other */
11
+ --transition-control:
12
+ background-color var(--dur-fast) var(--ease-standard), border-color var(--dur-fast) var(--ease-standard),
13
+ color var(--dur-fast) var(--ease-standard); /* @kind other */
14
+ --transition-surface:
15
+ box-shadow var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard); /* @kind other */
13
16
  }
@@ -1,21 +1,46 @@
1
- :root{
2
- /* 4px base grid. --sp-0h is the only sub-4 step, for optical nudges. */
3
- --sp-0h:2px;--sp-1:4px;--sp-2:8px;--sp-3:12px;--sp-4:16px;--sp-5:20px;--sp-6:24px;
4
- --sp-8:32px;--sp-10:40px;--sp-12:48px;--sp-16:64px;--sp-20:80px;
1
+ :root {
2
+ /* 4px base grid. --sp-0h is the only sub-4 step, for optical nudges. */
3
+ --sp-0h: 2px;
4
+ --sp-1: 4px;
5
+ --sp-2: 8px;
6
+ --sp-3: 12px;
7
+ --sp-4: 16px;
8
+ --sp-5: 20px;
9
+ --sp-6: 24px;
10
+ --sp-8: 32px;
11
+ --sp-10: 40px;
12
+ --sp-12: 48px;
13
+ --sp-16: 64px;
14
+ --sp-20: 80px;
5
15
 
6
- /* Control heights — three densities, switched per role/workspace */
7
- --control-h-sm:32px;--control-h-md:40px;--control-h-lg:48px;
8
- --row-h-condensed:32px;--row-h-regular:40px;--row-h-comfortable:48px;
9
- --control-pad-x:12px;--control-pad-x-lg:16px;
16
+ /* Control heights — three densities, switched per role/workspace */
17
+ --control-h-sm: 32px;
18
+ --control-h-md: 40px;
19
+ --control-h-lg: 48px;
20
+ --row-h-condensed: 32px;
21
+ --row-h-regular: 40px;
22
+ --row-h-comfortable: 48px;
23
+ --control-pad-x: 12px;
24
+ --control-pad-x-lg: 16px;
10
25
 
11
- /* Shell geometry (fixed chrome) */
12
- --shell-header-h:48px;--shell-subheader-h:40px;--sidenav-w:256px;--sidenav-w-collapsed:48px;
13
- /* The application rail, and the shell bar's launcher button that sits directly above it. One
26
+ /* Shell geometry (fixed chrome) */
27
+ --shell-header-h: 48px;
28
+ --shell-subheader-h: 40px;
29
+ --sidenav-w: 256px;
30
+ --sidenav-w-collapsed: 48px;
31
+ /* The application rail, and the shell bar's launcher button that sits directly above it. One
14
32
  token for both: the launcher stops looking like the rail's cap the moment they disagree. */
15
- --rail-w:56px;
16
- --page-pad-x:24px;--page-pad-y:20px;--section-gap:24px;
33
+ --rail-w: 56px;
34
+ --page-pad-x: 24px;
35
+ --page-pad-y: 20px;
36
+ --section-gap: 24px;
17
37
 
18
- /* 16-column layout grid */
19
- --grid-columns:16; /* @kind other */--grid-gutter:16px;--grid-margin:24px;--container-max:1584px;
20
- --field-w-sm:160px;--field-w-md:240px;--field-w-lg:360px;
38
+ /* 16-column layout grid */
39
+ --grid-columns: 16; /* @kind other */
40
+ --grid-gutter: 16px;
41
+ --grid-margin: 24px;
42
+ --container-max: 1584px;
43
+ --field-w-sm: 160px;
44
+ --field-w-md: 240px;
45
+ --field-w-lg: 360px;
21
46
  }