@celestia-island/hikari 0.55.415 → 0.55.416
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/package.json +1 -1
- package/src/components/HkAffixPicker.scss +2 -2
- package/src/components/HkAlert.scss +12 -12
- package/src/components/HkAuthSubmitButton.scss +1 -1
- package/src/components/HkBlockingToast.scss +7 -7
- package/src/components/HkBreadcrumb.scss +3 -3
- package/src/components/HkCardList.scss +3 -3
- package/src/components/HkColorSchemeEditor.test.ts +179 -0
- package/src/components/HkColorSchemeEditor.tsx +57 -2
- package/src/components/HkCookieConsent.scss +1 -1
- package/src/components/HkCurrencySelect.scss +2 -2
- package/src/components/HkDiffViewer.scss +5 -5
- package/src/components/HkEditableTable.scss +1 -1
- package/src/components/HkEmergencySnoozeTray.scss +2 -2
- package/src/components/HkFileBrowserDialog.scss +2 -2
- package/src/components/HkFileField.scss +3 -3
- package/src/components/HkFilePickerField.scss +2 -2
- package/src/components/HkFilterPanel.scss +1 -1
- package/src/components/HkIcon.scss +3 -3
- package/src/components/HkIconButtonGroup.scss +1 -1
- package/src/components/HkIconChip.scss +4 -4
- package/src/components/HkInput.scss +3 -3
- package/src/components/HkLogWindow.scss +2 -2
- package/src/components/HkMenu.scss +1 -1
- package/src/components/HkMessageBox.scss +2 -2
- package/src/components/HkMoneyInput.scss +2 -2
- package/src/components/HkNotificationBell.scss +3 -3
- package/src/components/HkOtpInput.scss +2 -2
- package/src/components/HkPasswordSurface.scss +12 -12
- package/src/components/HkPersistentToast.scss +3 -3
- package/src/components/HkPillToggleGroup.scss +6 -6
- package/src/components/HkPillToggleGroup.test.tsx +12 -7
- package/src/components/HkPopupSelect.scss +3 -3
- package/src/components/HkProgressBar.scss +1 -1
- package/src/components/HkProgressBar.styles.test.ts +1 -1
- package/src/components/HkProgressRing.scss +2 -2
- package/src/components/HkQuote.scss +3 -3
- package/src/components/HkRangeRibbon.scss +1 -1
- package/src/components/HkSecretRevealModal.scss +1 -1
- package/src/components/HkSelect.scss +3 -3
- package/src/components/HkSelectionGrid.scss +4 -4
- package/src/components/HkSelectionGrid.test.tsx +183 -54
- package/src/components/HkSelectionWaterfall.scss +4 -4
- package/src/components/HkStatCard.scss +4 -4
- package/src/components/HkStatusBar.tsx +9 -9
- package/src/components/HkStatusRow.scss +3 -3
- package/src/components/HkStepGuide.scss +2 -2
- package/src/components/HkSwitch.scss +1 -1
- package/src/components/HkTag.scss +12 -12
- package/src/components/HkTemplateField.scss +1 -1
- package/src/components/HkTextarea.scss +1 -1
- package/src/components/HkToast.scss +5 -5
- package/src/components/HkTree.scss +2 -2
- package/src/components/_menu-item.scss +4 -4
- package/src/plugins/boot-recovery.details.test.ts +1 -1
- package/src/plugins/boot-recovery.diagnostics.test.ts +1 -1
- package/src/plugins/boot-recovery.error-context.test.ts +1 -1
- package/src/plugins/boot-recovery.locales.test.ts +1 -1
- package/src/plugins/bootLandingCss.js +1 -1
- package/src/plugins/bootLandingDetailsCss.js +1 -1
- package/src/styles/admin-tokens.scss +16 -16
- package/src/styles/theme/channels.scss +23 -13
- package/src/styles/theme/scrollbar.scss +3 -3
- package/src/styles/tokenInventory.test.ts +19 -0
- package/src/theme/_field.scss +3 -3
- package/src/theme/index.ts +1 -1
- package/src/theme/presets.ts +72 -8
- package/src/theme/solidInk.contract.test.ts +65 -6
- package/src/tokens.scss +23 -13
package/src/tokens.scss
CHANGED
|
@@ -30,15 +30,15 @@
|
|
|
30
30
|
--c-primary-medium: rgb(var(--color-primary, 122 162 247) / 25%);
|
|
31
31
|
--c-primary-strong: rgb(var(--color-primary, 122 162 247) / 40%);
|
|
32
32
|
--c-primary-intense: rgb(var(--color-primary, 122 162 247) / 40%);
|
|
33
|
-
--c-error-dim: rgb(var(--color-error,
|
|
34
|
-
--c-error-overlay: rgb(var(--color-error,
|
|
35
|
-
--c-error-strong: rgb(var(--color-error,
|
|
33
|
+
--c-error-dim: rgb(var(--color-error, 166 41 55) / 10%);
|
|
34
|
+
--c-error-overlay: rgb(var(--color-error, 166 41 55) / 20%);
|
|
35
|
+
--c-error-strong: rgb(var(--color-error, 166 41 55) / 50%);
|
|
36
36
|
--shadow-elevated: 0 8px 32px rgb(0 0 0 / 15%);
|
|
37
37
|
--shadow-dropdown: 0 4px 24px rgb(0 0 0 / 12%), 0 0 0 1px rgb(255 255 255 / 4%);
|
|
38
38
|
--shadow-button: 0 4px 14px rgb(var(--color-primary, 122 162 247) / 35%);
|
|
39
|
-
--shadow-button-danger: 0 4px 14px rgb(var(--color-error,
|
|
39
|
+
--shadow-button-danger: 0 4px 14px rgb(var(--color-error, 166 41 55) / 35%);
|
|
40
40
|
--shadow-focus: 0 0 0 3px rgb(var(--color-primary, 122 162 247) / 12%);
|
|
41
|
-
--shadow-focus-error: 0 0 0 3px rgb(var(--color-error,
|
|
41
|
+
--shadow-focus-error: 0 0 0 3px rgb(var(--color-error, 166 41 55) / 12%);
|
|
42
42
|
--border-input: rgb(var(--color-border, 100 100 100) / 15%);
|
|
43
43
|
--border-faint: rgb(var(--color-border, 100 100 100) / 10%);
|
|
44
44
|
--border-subtle: rgb(var(--color-border, 100 100 100) / 12%);
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
--hi-bg-surface-dark: rgb(var(--color-muted, 108 108 108) / 12%);
|
|
63
63
|
--hi-color-primary-dark: color-mix(in srgb, rgb(var(--color-primary, 122 162 247)) 82%, #000);
|
|
64
64
|
--hi-color-secondary-dark: color-mix(in srgb, rgb(var(--color-secondary, 81 154 115)) 82%, #000);
|
|
65
|
-
--hi-color-danger-dark: color-mix(in srgb, rgb(var(--color-error,
|
|
66
|
-
--hi-color-success-dark: color-mix(in srgb, rgb(var(--color-success,
|
|
65
|
+
--hi-color-danger-dark: color-mix(in srgb, rgb(var(--color-error, 166 41 55)) 82%, #000);
|
|
66
|
+
--hi-color-success-dark: color-mix(in srgb, rgb(var(--color-success, 31 101 48)) 82%, #000);
|
|
67
67
|
--hi-color-text-on-secondary: rgb(var(--color-on-solid, 255 255 255));
|
|
68
68
|
--hi-color-text-on-danger: rgb(var(--color-on-solid, 255 255 255));
|
|
69
69
|
--hi-color-text-on-success: rgb(var(--color-on-solid, 255 255 255));
|
|
@@ -85,8 +85,14 @@
|
|
|
85
85
|
* re-derives these per tone from its own fills (see tokensToCSSVars). */
|
|
86
86
|
--color-on-danger: 255 255 255;
|
|
87
87
|
--color-on-success: 255 255 255;
|
|
88
|
-
--color-on-warning:
|
|
89
|
-
--color-on-info:
|
|
88
|
+
--color-on-warning: 255 255 255;
|
|
89
|
+
--color-on-info: 255 255 255;
|
|
90
|
+
/* Per-tone page-readable fills (readable_on vs the page): the canonical
|
|
91
|
+
* fills themselves — they read on the light page as-is. */
|
|
92
|
+
--color-success-fg: 31 101 48;
|
|
93
|
+
--color-error-fg: 166 41 55;
|
|
94
|
+
--color-warning-fg: 137 72 0;
|
|
95
|
+
--color-info-fg: 0 98 116;
|
|
90
96
|
--color-secondary: 81 154 115;
|
|
91
97
|
--color-accent: 247 181 0;
|
|
92
98
|
--color-text: 30 30 30;
|
|
@@ -109,10 +115,10 @@
|
|
|
109
115
|
--color-selected-bg: 191 218 242;
|
|
110
116
|
--color-selected-text: 30 30 30;
|
|
111
117
|
--color-status-bar-bg: 240 244 248;
|
|
112
|
-
--color-success:
|
|
113
|
-
--color-error:
|
|
114
|
-
--color-warning:
|
|
115
|
-
--color-info:
|
|
118
|
+
--color-success: 31 101 48;
|
|
119
|
+
--color-error: 166 41 55;
|
|
120
|
+
--color-warning: 137 72 0;
|
|
121
|
+
--color-info: 0 98 116;
|
|
116
122
|
|
|
117
123
|
--hi-color-primary: rgb(var(--color-primary));
|
|
118
124
|
--hi-color-secondary: rgb(var(--color-secondary));
|
|
@@ -139,6 +145,10 @@
|
|
|
139
145
|
--hi-color-text-on-success: rgb(var(--color-on-success));
|
|
140
146
|
--hi-color-text-on-warning: rgb(var(--color-on-warning));
|
|
141
147
|
--hi-color-text-on-info: rgb(var(--color-on-info));
|
|
148
|
+
--hi-color-success-fg: rgb(var(--color-success-fg));
|
|
149
|
+
--hi-color-danger-fg: rgb(var(--color-error-fg));
|
|
150
|
+
--hi-color-warning-fg: rgb(var(--color-warning-fg));
|
|
151
|
+
--hi-color-info-fg: rgb(var(--color-info-fg));
|
|
142
152
|
/* Surface-layer aliases the runtime writes on every apply — seeded so
|
|
143
153
|
* no-JS consumers resolve them instead of invalid var(). */
|
|
144
154
|
--hi-color-bg-subtle: rgb(var(--color-surface) / 0.5);
|