@celestia-island/hikari 0.43.13 → 0.43.14
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/HkAlert.scss +21 -21
- package/src/components/HkAltSignIn.scss +3 -3
- package/src/components/HkAuthMethodList.scss +2 -2
- package/src/components/HkAvatar.scss +1 -1
- package/src/components/HkBlockingToast.scss +6 -6
- package/src/components/HkCheckbox.scss +11 -11
- package/src/components/HkDatePicker.scss +12 -12
- package/src/components/HkDateTimePicker.scss +16 -16
- package/src/components/HkDivider.scss +3 -3
- package/src/components/HkDraggableGrid.scss +11 -11
- package/src/components/HkDraggableList.scss +6 -6
- package/src/components/HkDrawer.scss +24 -24
- package/src/components/HkDrawer.sheetfamily.test.ts +1 -1
- package/src/components/HkEmptyState.scss +6 -6
- package/src/components/HkFab.scss +12 -12
- package/src/components/HkFileField.scss +2 -2
- package/src/components/HkFilePickerField.scss +2 -2
- package/src/components/HkImagePreview.scss +8 -8
- package/src/components/HkInput.scss +2 -2
- package/src/components/HkJsonTree.scss +2 -2
- package/src/components/HkKeywordSearchModal.scss +22 -22
- package/src/components/HkLabel.scss +3 -3
- package/src/components/HkListTransition.scss +23 -23
- package/src/components/HkLogo.scss +3 -3
- package/src/components/HkMarkdownRenderer.scss +9 -9
- package/src/components/HkMediaSlider.scss +1 -1
- package/src/components/HkMinimap.scss +2 -2
- package/src/components/HkModal.scss +14 -14
- package/src/components/HkModalBreadcrumb.scss +5 -5
- package/src/components/HkNavItem.scss +2 -2
- package/src/components/HkNumberInput.scss +3 -3
- package/src/components/HkPasswordInput.scss +29 -29
- package/src/components/HkPhaseTransition.scss +5 -5
- package/src/components/HkPickerPane.scss +4 -4
- package/src/components/HkPopover.scss +2 -2
- package/src/components/HkProgressRing.scss +4 -4
- package/src/components/HkRadio.scss +4 -4
- package/src/components/HkRollingNumber.scss +1 -1
- package/src/components/HkScrollContainer.scss +5 -5
- package/src/components/HkSearchInput.scss +3 -3
- package/src/components/HkSelect.scss +2 -2
- package/src/components/HkSelectionGrid.scss +20 -20
- package/src/components/HkSelectionWaterfall.scss +15 -15
- package/src/components/HkSidebar.scss +7 -7
- package/src/components/HkSkeleton.scss +8 -8
- package/src/components/HkSlider.scss +1 -1
- package/src/components/HkSplash.scss +3 -3
- package/src/components/HkStepFlow.scss +1 -1
- package/src/components/HkSwitch.scss +1 -1
- package/src/components/HkTable.scss +21 -21
- package/src/components/HkTag.scss +18 -18
- package/src/components/HkTextarea.scss +1 -1
- package/src/components/HkTimeline.scss +2 -2
- package/src/components/HkTitleBar.scss +2 -2
- package/src/components/HkToast.scss +15 -15
- package/src/components/HkTree.scss +16 -16
- package/src/components/window-close.scss +1 -1
- package/src/scale.scss +76 -0
- package/src/styles/admin-tokens.scss +4 -37
- package/src/styles/index.scss +25 -11
- package/src/styles/theme/_glass.scss +1 -0
- package/src/styles/theme/_layout.scss +1 -0
- package/src/styles/theme/_scrollbar.scss +1 -0
- package/src/styles/theme/_tokens.scss +1 -0
- package/src/styles/theme/base.scss +1 -0
- package/src/styles/theme/channels.scss +23 -41
- package/src/styles/theme/foundation.scss +1 -0
- package/src/styles/theme/mixins.scss +1 -0
- package/src/styles/theme/scale.scss +78 -0
- package/src/styles/theme/themes.scss +1 -0
- package/src/styles/theme/variables.scss +1 -0
- package/src/styles/tokenInventory.test.ts +290 -0
- package/src/styles/vendoredSync.test.ts +91 -0
- package/src/tokens.scss +23 -41
|
@@ -11,55 +11,55 @@
|
|
|
11
11
|
// contract (./_scrim-fade.scss); the panel below owns all the motion.
|
|
12
12
|
@include sf.scrim-fade(
|
|
13
13
|
"hk-drawer-overlay",
|
|
14
|
-
$enter-duration: var(--
|
|
15
|
-
$enter-ease: var(--
|
|
16
|
-
$leave-duration: var(--
|
|
17
|
-
$leave-ease: var(--
|
|
14
|
+
$enter-duration: var(--duration-normal, 0.3s),
|
|
15
|
+
$enter-ease: var(--ease-elastic, cubic-bezier(0.16, 1, 0.3, 1)),
|
|
16
|
+
$leave-duration: var(--duration-normal, 0.3s),
|
|
17
|
+
$leave-ease: var(--ease-in, cubic-bezier(0.4, 0, 1, 1))
|
|
18
18
|
);
|
|
19
19
|
|
|
20
20
|
.hk-drawer-panel {
|
|
21
21
|
position: fixed;
|
|
22
22
|
display: flex;
|
|
23
23
|
flex-direction: column;
|
|
24
|
-
background: var(--hk-drawer-bg, var(--hi-color-surface, rgba(
|
|
24
|
+
background: var(--hk-drawer-bg, var(--hi-color-surface, rgba(240,244,248,0.95)));
|
|
25
25
|
backdrop-filter: blur(12px);
|
|
26
26
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
|
|
27
27
|
outline: none;
|
|
28
28
|
transition:
|
|
29
|
-
width var(--
|
|
30
|
-
height var(--
|
|
29
|
+
width var(--duration-normal, 0.3s) ease,
|
|
30
|
+
height var(--duration-normal, 0.3s) ease;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
.hk-drawer-left {
|
|
34
34
|
top: 0;
|
|
35
35
|
bottom: 0;
|
|
36
36
|
left: 0;
|
|
37
|
-
border-right: 1px solid var(--hi-color-border, rgba(
|
|
38
|
-
border-radius: 0 var(--
|
|
37
|
+
border-right: 1px solid var(--hi-color-border, rgba(100,100,100,0.08));
|
|
38
|
+
border-radius: 0 var(--radius-md, 0.5rem) var(--radius-md, 0.5rem) 0;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
.hk-drawer-right {
|
|
42
42
|
top: 0;
|
|
43
43
|
bottom: 0;
|
|
44
44
|
right: 0;
|
|
45
|
-
border-left: 1px solid var(--hi-color-border, rgba(
|
|
46
|
-
border-radius: var(--
|
|
45
|
+
border-left: 1px solid var(--hi-color-border, rgba(100,100,100,0.08));
|
|
46
|
+
border-radius: var(--radius-md, 0.5rem) 0 0 var(--radius-md, 0.5rem);
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
.hk-drawer-top {
|
|
50
50
|
top: 0;
|
|
51
51
|
left: 0;
|
|
52
52
|
right: 0;
|
|
53
|
-
border-bottom: 1px solid var(--hi-color-border, rgba(
|
|
54
|
-
border-radius: 0 0 var(--
|
|
53
|
+
border-bottom: 1px solid var(--hi-color-border, rgba(100,100,100,0.08));
|
|
54
|
+
border-radius: 0 0 var(--radius-md, 0.5rem) var(--radius-md, 0.5rem);
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
.hk-drawer-bottom {
|
|
58
58
|
bottom: 0;
|
|
59
59
|
left: 0;
|
|
60
60
|
right: 0;
|
|
61
|
-
border-top: 1px solid var(--hi-color-border, rgba(
|
|
62
|
-
border-radius: var(--
|
|
61
|
+
border-top: 1px solid var(--hi-color-border, rgba(100,100,100,0.08));
|
|
62
|
+
border-radius: var(--radius-md, 0.5rem) var(--radius-md, 0.5rem) 0 0;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
.hk-drawer-left-enter-active,
|
|
@@ -71,8 +71,8 @@
|
|
|
71
71
|
that briefly opens a gap between the panel edge and the screen
|
|
72
72
|
edge. Both properties use the same plain ease-out. */
|
|
73
73
|
transition:
|
|
74
|
-
opacity var(--
|
|
75
|
-
transform var(--
|
|
74
|
+
opacity var(--duration-normal, 0.3s) cubic-bezier(0.16, 1, 0.3, 1),
|
|
75
|
+
transform var(--duration-normal, 0.3s) cubic-bezier(0.16, 1, 0.3, 1);
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
.hk-drawer-left-leave-active,
|
|
@@ -80,8 +80,8 @@
|
|
|
80
80
|
.hk-drawer-top-leave-active,
|
|
81
81
|
.hk-drawer-bottom-leave-active {
|
|
82
82
|
transition:
|
|
83
|
-
opacity var(--
|
|
84
|
-
transform var(--
|
|
83
|
+
opacity var(--duration-normal, 0.3s) cubic-bezier(0.4, 0, 1, 1),
|
|
84
|
+
transform var(--duration-normal, 0.3s) cubic-bezier(0.4, 0, 1, 1);
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
.hk-drawer-left-enter-from,
|
|
@@ -113,14 +113,14 @@
|
|
|
113
113
|
align-items: center;
|
|
114
114
|
justify-content: space-between;
|
|
115
115
|
padding: var(--space-12, 0.75rem) var(--space-16, 1rem);
|
|
116
|
-
border-bottom: 1px solid var(--hi-color-border, rgba(
|
|
116
|
+
border-bottom: 1px solid var(--hi-color-border, rgba(100,100,100,0.06));
|
|
117
117
|
flex-shrink: 0;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
.hk-drawer-title {
|
|
121
121
|
font-size: var(--text-base, 0.875rem);
|
|
122
122
|
font-weight: 700;
|
|
123
|
-
color: var(--hi-color-text-primary, #
|
|
123
|
+
color: var(--hi-color-text-primary, #1e1e1e);
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
// Legacy placement hook — the chrome lives on the shared .hk-icon-button
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
/* HkMenuPanel carries its own inset; zero this variable when the
|
|
163
163
|
footer hosts one so both edges align. */
|
|
164
164
|
padding: var(--hk-drawer-footer-padding, var(--space-12, 0.75rem) var(--space-16, 1rem));
|
|
165
|
-
border-top: 1px solid var(--hi-color-border, rgba(
|
|
165
|
+
border-top: 1px solid var(--hi-color-border, rgba(100,100,100,0.06));
|
|
166
166
|
flex-shrink: 0;
|
|
167
167
|
}
|
|
168
168
|
|
|
@@ -180,8 +180,8 @@
|
|
|
180
180
|
@media (max-width: 767px) {
|
|
181
181
|
.hk-drawer-bottom {
|
|
182
182
|
bottom: var(--hk-sheet-bottom-gap, 0px);
|
|
183
|
-
border-radius: var(--hk-modal-radius, var(--
|
|
184
|
-
var(--hk-modal-radius, var(--
|
|
183
|
+
border-radius: var(--hk-modal-radius, var(--radius-lg, 12px))
|
|
184
|
+
var(--hk-modal-radius, var(--radius-lg, 12px))
|
|
185
185
|
0 0;
|
|
186
186
|
// The inline maxHeight from the `size` prop must lose to the family cap
|
|
187
187
|
// (plain-vh fallback first for dvh-less engines, then dvh) — same
|
|
@@ -60,7 +60,7 @@ describe("HkDrawer mobile bottom sheet-family contract", () => {
|
|
|
60
60
|
});
|
|
61
61
|
|
|
62
62
|
it("adopts the 12px family corner radius", () => {
|
|
63
|
-
expect(drawer).toContain("border-radius: var(--hk-modal-radius, var(--
|
|
63
|
+
expect(drawer).toContain("border-radius: var(--hk-modal-radius, var(--radius-lg, 12px))");
|
|
64
64
|
});
|
|
65
65
|
|
|
66
66
|
it("stacks the home-bar safe area on the mobile footer's BOTTOM axis", () => {
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
justify-content: center;
|
|
6
6
|
padding: var(--space-48, 3rem) var(--space-16, 1rem);
|
|
7
7
|
text-align: center;
|
|
8
|
-
background: var(--hk-empty-bg, var(--hi-color-surface, rgba(
|
|
8
|
+
background: var(--hk-empty-bg, var(--hi-color-surface, rgba(240,244,248,0.95)));
|
|
9
9
|
backdrop-filter: blur(var(--blur-sm, 8px));
|
|
10
|
-
border: 1px solid var(--hi-color-border, rgba(
|
|
11
|
-
border-radius: var(--
|
|
10
|
+
border: 1px solid var(--hi-color-border, rgba(100,100,100,0.06));
|
|
11
|
+
border-radius: var(--radius-md, 0.5rem);
|
|
12
12
|
box-sizing: border-box;
|
|
13
13
|
}
|
|
14
14
|
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
width: var(--space-48, 3rem);
|
|
17
17
|
height: var(--space-48, 3rem);
|
|
18
18
|
margin-bottom: var(--space-12, 0.75rem);
|
|
19
|
-
color: var(--hi-color-text-secondary, #
|
|
19
|
+
color: var(--hi-color-text-secondary, #666666);
|
|
20
20
|
opacity: 0.5;
|
|
21
21
|
display: flex;
|
|
22
22
|
align-items: center;
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
.hk-empty-title {
|
|
27
27
|
font-size: var(--text-base, 0.875rem);
|
|
28
28
|
font-weight: 600;
|
|
29
|
-
color: var(--hi-color-text-primary, #
|
|
29
|
+
color: var(--hi-color-text-primary, #1e1e1e);
|
|
30
30
|
margin: 0 0 var(--space-8, 0.5rem);
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
.hk-empty-desc {
|
|
34
34
|
font-size: var(--text-sm, 0.8125rem);
|
|
35
|
-
color: var(--hi-color-text-secondary, #
|
|
35
|
+
color: var(--hi-color-text-secondary, #666666);
|
|
36
36
|
margin: 0 0 var(--space-16, 1rem);
|
|
37
37
|
max-width: 24rem;
|
|
38
38
|
line-height: 1.5;
|
|
@@ -51,10 +51,10 @@
|
|
|
51
51
|
-webkit-appearance: none;
|
|
52
52
|
padding: 0;
|
|
53
53
|
border: none;
|
|
54
|
-
border-radius: var(--
|
|
54
|
+
border-radius: var(--radius-full, 9999px);
|
|
55
55
|
cursor: pointer;
|
|
56
56
|
font-family: inherit;
|
|
57
|
-
transition: transform var(--
|
|
57
|
+
transition: transform var(--duration-fast, 0.15s) ease, box-shadow var(--duration-fast, 0.15s) ease;
|
|
58
58
|
|
|
59
59
|
&:active:not(:disabled) { transform: scale(0.94); }
|
|
60
60
|
&:focus-visible { outline: 2px solid var(--hi-color-primary, #7aa2f7); outline-offset: 2px; }
|
|
@@ -84,13 +84,13 @@ $sizes: (sm: 34px, md: 42px, lg: 50px);
|
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
.hk-fab[data-variant="glass"] .hk-fab-button {
|
|
87
|
-
color: var(--hi-color-text-secondary, #
|
|
88
|
-
background: color-mix(in srgb, var(--hi-color-surface, #
|
|
89
|
-
border: 1px solid color-mix(in srgb, var(--hi-color-border, rgba(
|
|
87
|
+
color: var(--hi-color-text-secondary, #666666);
|
|
88
|
+
background: color-mix(in srgb, var(--hi-color-surface, #f0f4f8) 78%, transparent);
|
|
89
|
+
border: 1px solid color-mix(in srgb, var(--hi-color-border, rgba(100,100,100,0.12)) 25%, transparent);
|
|
90
90
|
backdrop-filter: blur(var(--blur-xs, 4px)); // chip language shared with autotag pills
|
|
91
91
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
|
|
92
92
|
|
|
93
|
-
&:hover:not(:disabled) { background: color-mix(in srgb, var(--hi-color-surface, #
|
|
93
|
+
&:hover:not(:disabled) { background: color-mix(in srgb, var(--hi-color-surface, #f0f4f8) 92%, transparent); }
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
.hk-fab[data-variant="primary"] .hk-fab-button {
|
|
@@ -129,16 +129,16 @@ $sizes: (sm: 34px, md: 42px, lg: 50px);
|
|
|
129
129
|
font-size: 0.6875rem;
|
|
130
130
|
letter-spacing: 0.02em;
|
|
131
131
|
white-space: nowrap;
|
|
132
|
-
color: var(--hi-color-text-secondary, #
|
|
133
|
-
background: color-mix(in srgb, var(--hi-color-surface, #
|
|
134
|
-
border: 1px solid color-mix(in srgb, var(--hi-color-border, rgba(
|
|
135
|
-
border-radius: var(--
|
|
132
|
+
color: var(--hi-color-text-secondary, #666666);
|
|
133
|
+
background: color-mix(in srgb, var(--hi-color-surface, #f0f4f8) 82%, transparent);
|
|
134
|
+
border: 1px solid color-mix(in srgb, var(--hi-color-border, rgba(100,100,100,0.12)) 25%, transparent);
|
|
135
|
+
border-radius: var(--radius-full, 9999px);
|
|
136
136
|
cursor: pointer;
|
|
137
137
|
backdrop-filter: blur(var(--blur-xs, 4px));
|
|
138
138
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
|
|
139
139
|
opacity: 0;
|
|
140
140
|
transform: scale(0.4);
|
|
141
|
-
transition: opacity var(--
|
|
141
|
+
transition: opacity var(--duration-fast, 0.15s) ease, transform var(--duration-fast, 0.15s) ease;
|
|
142
142
|
|
|
143
143
|
.hk-fab-mini-icon {
|
|
144
144
|
display: inline-flex;
|
|
@@ -149,7 +149,7 @@ $sizes: (sm: 34px, md: 42px, lg: 50px);
|
|
|
149
149
|
&:focus-visible { outline: 2px solid var(--hi-color-primary, #7aa2f7); outline-offset: 1px; }
|
|
150
150
|
&:disabled { opacity: 0.35; cursor: not-allowed; }
|
|
151
151
|
// 82%→94% mirrors the main glass hover ladder (78%→92%).
|
|
152
|
-
&:hover:not(:disabled) { background: color-mix(in srgb, var(--hi-color-surface, #
|
|
152
|
+
&:hover:not(:disabled) { background: color-mix(in srgb, var(--hi-color-surface, #f0f4f8) 94%, transparent); }
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
// Staggered reveal while expanded (CSS only, via nth-child delay).
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
&:focus-visible {
|
|
72
|
-
outline: 2px solid var(--hi-color-primary, #
|
|
72
|
+
outline: 2px solid var(--hi-color-primary, #7aa2f7);
|
|
73
73
|
outline-offset: 2px;
|
|
74
74
|
border-radius: var(--radius-xs, 2px);
|
|
75
75
|
}
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
&:focus-visible {
|
|
120
|
-
outline: 2px solid var(--hi-color-primary, #
|
|
120
|
+
outline: 2px solid var(--hi-color-primary, #7aa2f7);
|
|
121
121
|
outline-offset: 1px;
|
|
122
122
|
}
|
|
123
123
|
}
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
width: 1.75rem;
|
|
55
55
|
height: 1.75rem;
|
|
56
56
|
border-radius: var(--radius-xs, 2px);
|
|
57
|
-
background: color-mix(in srgb, var(--hi-color-primary, #
|
|
58
|
-
color: var(--hi-color-primary, #
|
|
57
|
+
background: color-mix(in srgb, var(--hi-color-primary, #7aa2f7) 14%, transparent);
|
|
58
|
+
color: var(--hi-color-primary, #7aa2f7);
|
|
59
59
|
pointer-events: none;
|
|
60
60
|
}
|
|
61
61
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
width: 100%;
|
|
10
10
|
overflow: hidden;
|
|
11
11
|
background: var(--hi-color-gray-100, rgba(0, 0, 0, 0.04));
|
|
12
|
-
border: 1px solid var(--hi-color-border, rgba(
|
|
12
|
+
border: 1px solid var(--hi-color-border, rgba(100,100,100,0.08));
|
|
13
13
|
border-radius: var(--radius-md, 8px);
|
|
14
14
|
}
|
|
15
15
|
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
transition: border-color 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
|
|
20
20
|
|
|
21
21
|
&:hover {
|
|
22
|
-
border-color: var(--hi-color-primary, #
|
|
22
|
+
border-color: var(--hi-color-primary, #7aa2f7);
|
|
23
23
|
// Emphasis drawn INSIDE the border box (HkSelectionGrid precedent):
|
|
24
24
|
// outer spread rings get shaved per-side by overlapping chrome.
|
|
25
|
-
box-shadow: inset 0 0 0 1px var(--hi-color-primary, #
|
|
25
|
+
box-shadow: inset 0 0 0 1px var(--hi-color-primary, #7aa2f7);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
// Press feedback matching the house button pattern (HkButton variants,
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
&:focus-visible {
|
|
35
|
-
outline: 2px solid var(--hi-color-primary, #
|
|
35
|
+
outline: 2px solid var(--hi-color-primary, #7aa2f7);
|
|
36
36
|
outline-offset: 2px;
|
|
37
37
|
}
|
|
38
38
|
}
|
|
@@ -65,9 +65,9 @@
|
|
|
65
65
|
justify-content: center;
|
|
66
66
|
background: linear-gradient(
|
|
67
67
|
90deg,
|
|
68
|
-
color-mix(in srgb, var(--hi-color-primary, #
|
|
69
|
-
color-mix(in srgb, var(--hi-color-primary, #
|
|
70
|
-
color-mix(in srgb, var(--hi-color-primary, #
|
|
68
|
+
color-mix(in srgb, var(--hi-color-primary, #7aa2f7) 8%, transparent) 25%,
|
|
69
|
+
color-mix(in srgb, var(--hi-color-primary, #7aa2f7) 18%, transparent) 50%,
|
|
70
|
+
color-mix(in srgb, var(--hi-color-primary, #7aa2f7) 8%, transparent) 75%
|
|
71
71
|
);
|
|
72
72
|
background-size: 200% 100%;
|
|
73
73
|
animation: hk-image-preview-shimmer 1.5s ease-in-out infinite;
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
justify-content: center;
|
|
96
96
|
gap: var(--space-8, 0.5rem);
|
|
97
97
|
padding: var(--space-12, 0.75rem);
|
|
98
|
-
color: var(--hi-color-muted, #
|
|
98
|
+
color: var(--hi-color-muted, #6c6c6c);
|
|
99
99
|
text-align: center;
|
|
100
100
|
}
|
|
101
101
|
|
|
@@ -267,11 +267,11 @@
|
|
|
267
267
|
* bare "R G B" triplet, so using it directly as a color is invalid at
|
|
268
268
|
* computed-value time (the rule silently inherits); --color-text-primary
|
|
269
269
|
* is not defined anywhere. --hi-color-* wrap the triplets in rgb(). */
|
|
270
|
-
color: var(--hi-color-text-secondary, #
|
|
270
|
+
color: var(--hi-color-text-secondary, #666666);
|
|
271
271
|
cursor: pointer;
|
|
272
272
|
|
|
273
273
|
&:hover {
|
|
274
|
-
color: var(--hi-color-text-primary, #
|
|
274
|
+
color: var(--hi-color-text-primary, #1e1e1e);
|
|
275
275
|
}
|
|
276
276
|
|
|
277
277
|
// Keyboard parity (house icon-button pattern, HkIconButton): this real
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
display: inline-flex;
|
|
70
70
|
align-items: center;
|
|
71
71
|
justify-content: center;
|
|
72
|
-
width: var(--jt-toggle);
|
|
73
|
-
height: var(--jt-toggle);
|
|
72
|
+
width: var(--jt-toggle, 1rem);
|
|
73
|
+
height: var(--jt-toggle, 1rem);
|
|
74
74
|
flex-shrink: 0;
|
|
75
75
|
margin-inline-end: var(--space-2, 0.125rem);
|
|
76
76
|
/* The toggle box has no text baseline of its own — pin it to the line
|
|
@@ -13,19 +13,19 @@
|
|
|
13
13
|
align-items: center;
|
|
14
14
|
gap: var(--space-8, 0.5rem);
|
|
15
15
|
padding: var(--space-8, 0.5rem) var(--space-12, 0.75rem);
|
|
16
|
-
background: var(--hi-color-surface, rgba(
|
|
16
|
+
background: var(--hi-color-surface, rgba(240,244,248,0.95));
|
|
17
17
|
border: 1px solid var(--hk-kw-border, rgb(var(--color-border) / 8%));
|
|
18
|
-
border-radius: var(--
|
|
18
|
+
border-radius: var(--radius-lg, 0.75rem);
|
|
19
19
|
transition: border-color 0.15s ease, box-shadow 0.15s ease;
|
|
20
20
|
|
|
21
21
|
&:focus-within {
|
|
22
|
-
border-color: var(--hi-color-primary, #
|
|
23
|
-
box-shadow: 0 0 0 3px color-mix(in srgb, var(--hi-color-primary, #
|
|
22
|
+
border-color: var(--hi-color-primary, #7aa2f7);
|
|
23
|
+
box-shadow: 0 0 0 3px color-mix(in srgb, var(--hi-color-primary, #7aa2f7) 12%, transparent);
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.hk-kw-search-icon {
|
|
28
|
-
color: var(--hi-color-text-secondary, #
|
|
28
|
+
color: var(--hi-color-text-secondary, #666666);
|
|
29
29
|
flex-shrink: 0;
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
background: transparent;
|
|
37
37
|
border: 0;
|
|
38
38
|
outline: none;
|
|
39
|
-
color: var(--hi-color-text-primary, #
|
|
39
|
+
color: var(--hi-color-text-primary, #1e1e1e);
|
|
40
40
|
font-size: var(--text-base, 0.875rem);
|
|
41
41
|
}
|
|
42
42
|
|
|
@@ -44,18 +44,18 @@
|
|
|
44
44
|
appearance: none;
|
|
45
45
|
background: transparent;
|
|
46
46
|
border: 0;
|
|
47
|
-
color: var(--hi-color-text-secondary, #
|
|
47
|
+
color: var(--hi-color-text-secondary, #666666);
|
|
48
48
|
cursor: pointer;
|
|
49
49
|
display: inline-flex;
|
|
50
50
|
padding: var(--space-2, 0.125rem);
|
|
51
|
-
border-radius: var(--
|
|
51
|
+
border-radius: var(--radius-sm, 0.25rem);
|
|
52
52
|
|
|
53
53
|
&:hover {
|
|
54
|
-
color: var(--hi-color-text-primary, #
|
|
54
|
+
color: var(--hi-color-text-primary, #1e1e1e);
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
&:focus-visible {
|
|
58
|
-
outline: 2px solid color-mix(in srgb, var(--hi-color-primary, #
|
|
58
|
+
outline: 2px solid color-mix(in srgb, var(--hi-color-primary, #7aa2f7) 55%, transparent);
|
|
59
59
|
outline-offset: 2px;
|
|
60
60
|
}
|
|
61
61
|
}
|
|
@@ -76,20 +76,20 @@
|
|
|
76
76
|
text-align: start;
|
|
77
77
|
background: transparent;
|
|
78
78
|
border: 1px solid transparent;
|
|
79
|
-
border-radius: var(--
|
|
79
|
+
border-radius: var(--radius-sm, 0.25rem);
|
|
80
80
|
padding: var(--space-8, 0.5rem) var(--space-12, 0.75rem);
|
|
81
81
|
cursor: pointer;
|
|
82
82
|
width: 100%;
|
|
83
|
-
color: var(--hi-color-text-primary, #
|
|
83
|
+
color: var(--hi-color-text-primary, #1e1e1e);
|
|
84
84
|
transition: background 0.15s ease, border-color 0.15s ease;
|
|
85
85
|
|
|
86
86
|
&:hover {
|
|
87
|
-
background: var(--hi-color-surface, rgba(
|
|
87
|
+
background: var(--hi-color-surface, rgba(240,244,248,0.95));
|
|
88
88
|
border-color: rgb(var(--color-border) / 6%);
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
&:focus-visible {
|
|
92
|
-
outline: 2px solid color-mix(in srgb, var(--hi-color-primary, #
|
|
92
|
+
outline: 2px solid color-mix(in srgb, var(--hi-color-primary, #7aa2f7) 55%, transparent);
|
|
93
93
|
outline-offset: 2px;
|
|
94
94
|
}
|
|
95
95
|
}
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
padding: var(--space-48, 3rem) var(--space-8, 0.5rem);
|
|
101
101
|
text-align: center;
|
|
102
102
|
font-size: var(--text-base, 0.875rem);
|
|
103
|
-
color: var(--hi-color-text-secondary, #
|
|
103
|
+
color: var(--hi-color-text-secondary, #666666);
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
.hk-kw-search-semantic {
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
.hk-kw-search-semantic-title {
|
|
121
121
|
font-size: var(--text-base, 0.875rem);
|
|
122
122
|
font-weight: 600;
|
|
123
|
-
color: var(--hi-color-text-primary, #
|
|
123
|
+
color: var(--hi-color-text-primary, #1e1e1e);
|
|
124
124
|
overflow: hidden;
|
|
125
125
|
text-overflow: ellipsis;
|
|
126
126
|
white-space: nowrap;
|
|
@@ -130,16 +130,16 @@
|
|
|
130
130
|
flex-shrink: 0;
|
|
131
131
|
font-size: var(--text-xs, 0.75rem);
|
|
132
132
|
font-variant-numeric: tabular-nums;
|
|
133
|
-
color: var(--hi-color-primary, #
|
|
134
|
-
background: color-mix(in srgb, var(--hi-color-primary, #
|
|
133
|
+
color: var(--hi-color-primary, #7aa2f7);
|
|
134
|
+
background: color-mix(in srgb, var(--hi-color-primary, #7aa2f7) 12%, transparent);
|
|
135
135
|
padding: 0 var(--space-6, 0.375rem);
|
|
136
|
-
border-radius: var(--
|
|
136
|
+
border-radius: var(--radius-sm, 0.25rem);
|
|
137
137
|
line-height: 1.5;
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
.hk-kw-search-semantic-snippet {
|
|
141
141
|
font-size: var(--text-xs, 0.75rem);
|
|
142
|
-
color: var(--hi-color-text-secondary, #
|
|
142
|
+
color: var(--hi-color-text-secondary, #666666);
|
|
143
143
|
line-height: 1.5;
|
|
144
144
|
display: -webkit-box;
|
|
145
145
|
-webkit-line-clamp: 2;
|
|
@@ -153,8 +153,8 @@
|
|
|
153
153
|
font-size: var(--text-xs, 0.75rem);
|
|
154
154
|
text-transform: uppercase;
|
|
155
155
|
letter-spacing: 0.04em;
|
|
156
|
-
color: var(--hi-color-text-secondary, #
|
|
156
|
+
color: var(--hi-color-text-secondary, #666666);
|
|
157
157
|
background: rgb(var(--color-border) / 4%);
|
|
158
158
|
padding: 0 var(--space-6, 0.375rem);
|
|
159
|
-
border-radius: var(--
|
|
159
|
+
border-radius: var(--radius-sm, 0.25rem);
|
|
160
160
|
}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
display: inline;
|
|
12
12
|
font-size: var(--text-base, 0.875rem);
|
|
13
13
|
line-height: 1.5;
|
|
14
|
-
color: var(--hi-color-text-primary, #
|
|
14
|
+
color: var(--hi-color-text-primary, #1e1e1e);
|
|
15
15
|
|
|
16
16
|
&.hk-label-sm {
|
|
17
17
|
font-size: var(--text-xs, 0.75rem);
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
a {
|
|
25
|
-
color: var(--hi-color-primary, #
|
|
25
|
+
color: var(--hi-color-primary, #7aa2f7);
|
|
26
26
|
font-weight: 500;
|
|
27
27
|
text-decoration: none;
|
|
28
28
|
cursor: pointer;
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
&:focus-visible {
|
|
35
|
-
outline: 2px solid color-mix(in srgb, var(--hi-color-primary, #
|
|
35
|
+
outline: 2px solid color-mix(in srgb, var(--hi-color-primary, #7aa2f7) 55%, transparent);
|
|
36
36
|
outline-offset: 2px;
|
|
37
37
|
}
|
|
38
38
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
.hk-list-pop-move,
|
|
5
5
|
.hk-list-slide-move,
|
|
6
6
|
.hk-list-fade-move {
|
|
7
|
-
transition: transform var(--
|
|
7
|
+
transition: transform var(--duration-normal, 0.3s) ease;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.hk-list-move-disabled {
|
|
@@ -13,14 +13,14 @@
|
|
|
13
13
|
|
|
14
14
|
.hk-list-pop-enter-active {
|
|
15
15
|
transition:
|
|
16
|
-
opacity var(--
|
|
17
|
-
transform var(--
|
|
16
|
+
opacity var(--duration-normal, 0.3s) cubic-bezier(0.16, 1, 0.3, 1),
|
|
17
|
+
transform var(--duration-normal, 0.3s) cubic-bezier(0.16, 1, 0.3, 1);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.hk-list-pop-leave-active {
|
|
21
21
|
transition:
|
|
22
|
-
opacity var(--
|
|
23
|
-
transform var(--
|
|
22
|
+
opacity var(--duration-normal, 0.3s) ease-in,
|
|
23
|
+
transform var(--duration-normal, 0.3s) cubic-bezier(0.5, 0, 0.75, 0);
|
|
24
24
|
position: absolute;
|
|
25
25
|
}
|
|
26
26
|
|
|
@@ -36,14 +36,14 @@
|
|
|
36
36
|
|
|
37
37
|
.hk-list-slide-enter-active {
|
|
38
38
|
transition:
|
|
39
|
-
opacity var(--
|
|
40
|
-
transform var(--
|
|
39
|
+
opacity var(--duration-normal, 0.3s) ease,
|
|
40
|
+
transform var(--duration-normal, 0.3s) cubic-bezier(0.16, 1, 0.3, 1);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
.hk-list-slide-leave-active {
|
|
44
44
|
transition:
|
|
45
|
-
opacity var(--
|
|
46
|
-
transform var(--
|
|
45
|
+
opacity var(--duration-normal, 0.3s) ease-in,
|
|
46
|
+
transform var(--duration-normal, 0.3s) ease-in;
|
|
47
47
|
position: absolute;
|
|
48
48
|
}
|
|
49
49
|
|
|
@@ -68,11 +68,11 @@
|
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
.hk-list-fade-enter-active {
|
|
71
|
-
transition: opacity var(--
|
|
71
|
+
transition: opacity var(--duration-normal, 0.3s) ease;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
.hk-list-fade-leave-active {
|
|
75
|
-
transition: opacity var(--
|
|
75
|
+
transition: opacity var(--duration-normal, 0.3s) ease-in;
|
|
76
76
|
position: absolute;
|
|
77
77
|
}
|
|
78
78
|
|
|
@@ -83,9 +83,9 @@
|
|
|
83
83
|
|
|
84
84
|
.hk-list-grow-enter-active {
|
|
85
85
|
transition:
|
|
86
|
-
transform var(--
|
|
87
|
-
opacity var(--
|
|
88
|
-
transition-delay: var(--
|
|
86
|
+
transform var(--duration-fast, 0.15s) cubic-bezier(0.16, 1, 0.3, 1),
|
|
87
|
+
opacity var(--duration-fast, 0.15s) cubic-bezier(0.16, 1, 0.3, 1);
|
|
88
|
+
transition-delay: var(--duration-fast, 0.15s);
|
|
89
89
|
pointer-events: none;
|
|
90
90
|
}
|
|
91
91
|
|
|
@@ -96,8 +96,8 @@
|
|
|
96
96
|
|
|
97
97
|
.hk-list-grow-leave-active {
|
|
98
98
|
transition:
|
|
99
|
-
transform var(--
|
|
100
|
-
opacity var(--
|
|
99
|
+
transform var(--duration-fast, 0.15s) cubic-bezier(0.5, 0, 0.75, 0),
|
|
100
|
+
opacity var(--duration-fast, 0.15s) ease-in;
|
|
101
101
|
pointer-events: none;
|
|
102
102
|
position: absolute;
|
|
103
103
|
width: 100%;
|
|
@@ -109,16 +109,16 @@
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
.hk-list-grow-move {
|
|
112
|
-
transition: transform var(--
|
|
113
|
-
transition-delay: var(--
|
|
112
|
+
transition: transform var(--duration-fast, 0.15s) ease;
|
|
113
|
+
transition-delay: var(--duration-fast, 0.15s);
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
.hk-list-reveal-enter-active {
|
|
117
117
|
interpolate-size: allow-keywords;
|
|
118
118
|
overflow: hidden;
|
|
119
119
|
transition:
|
|
120
|
-
height var(--
|
|
121
|
-
opacity var(--
|
|
120
|
+
height var(--duration-fast, 0.15s) cubic-bezier(0.16, 1, 0.3, 1),
|
|
121
|
+
opacity var(--duration-fast, 0.15s) cubic-bezier(0.16, 1, 0.3, 1);
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
.hk-list-reveal-leave-active {
|
|
@@ -128,8 +128,8 @@
|
|
|
128
128
|
* activating the body of a just-erased row would resurrect it. */
|
|
129
129
|
pointer-events: none;
|
|
130
130
|
transition:
|
|
131
|
-
height var(--
|
|
132
|
-
opacity var(--
|
|
131
|
+
height var(--duration-fast, 0.15s) cubic-bezier(0.5, 0, 0.75, 0),
|
|
132
|
+
opacity var(--duration-fast, 0.15s) ease-in;
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
.hk-list-reveal-enter-from,
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
.hk-list-reveal-move {
|
|
142
|
-
transition: transform var(--
|
|
142
|
+
transition: transform var(--duration-fast, 0.15s) ease;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
.hk-list-none-enter-active,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
align-items: center;
|
|
4
4
|
justify-content: center;
|
|
5
5
|
cursor: pointer;
|
|
6
|
-
border-radius: var(--
|
|
6
|
+
border-radius: var(--radius-md, 8px);
|
|
7
7
|
overflow: hidden;
|
|
8
8
|
flex-shrink: 0;
|
|
9
9
|
user-select: none;
|
|
@@ -23,7 +23,7 @@ a.hk-logo:focus-visible {
|
|
|
23
23
|
|
|
24
24
|
.hk-logo-img {
|
|
25
25
|
display: block;
|
|
26
|
-
border-radius: var(--
|
|
26
|
+
border-radius: var(--radius-md, 8px);
|
|
27
27
|
object-fit: contain;
|
|
28
28
|
}
|
|
29
29
|
|
|
@@ -34,7 +34,7 @@ a.hk-logo:focus-visible {
|
|
|
34
34
|
/* Contract token with hex fallback (house idiom). No radius here: the
|
|
35
35
|
* only render site is inside .hk-logo, whose matching border-radius +
|
|
36
36
|
* overflow: hidden already clip this exactly-fitting child. */
|
|
37
|
-
background: var(--hi-color-primary, #
|
|
37
|
+
background: var(--hi-color-primary, #7aa2f7);
|
|
38
38
|
color: rgb(var(--color-on-solid-text, 255 255 255));
|
|
39
39
|
}
|
|
40
40
|
|