@fusion.dev/helix-styles 0.235.1 → 0.237.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/base.css +336 -60
- package/dist/elements.css +16 -4
- package/dist/primitives.css +90 -24
- package/dist/tokens.css +266 -52
- package/dist/tokens.json +182 -46
- package/package.json +1 -1
package/dist/elements.css
CHANGED
|
@@ -425,7 +425,11 @@ helix-data-table:not(:defined):is([selectable], [reorderable-rows]:not([child-fi
|
|
|
425
425
|
}
|
|
426
426
|
helix-data-table:not(:defined)[selectable][reorderable-rows]:not([child-field]) {
|
|
427
427
|
--_data-table-lead: calc(1em + 2 * var(--data-table-padding-inline, var(--helix-space-sm)))
|
|
428
|
-
calc(
|
|
428
|
+
calc(
|
|
429
|
+
var(--checkbox-size, var(--helix-size-checkbox)) +
|
|
430
|
+
var(--data-table-padding-inline, var(--helix-space-none)) +
|
|
431
|
+
var(--data-table-padding-inline, var(--helix-space-md))
|
|
432
|
+
);
|
|
429
433
|
}
|
|
430
434
|
helix-data-table:not(:defined):has(> helix-table-row):is([selectable], [reorderable-rows]:not([child-field]))::before,
|
|
431
435
|
helix-data-table:is([selectable], [reorderable-rows]:not([child-field])) > helix-table-row:not([hidden])::before {
|
|
@@ -441,12 +445,15 @@ helix-data-table:where([selectable], [reorderable-rows]:not([child-field])) > he
|
|
|
441
445
|
block-size: 1em;
|
|
442
446
|
box-sizing: content-box;
|
|
443
447
|
inline-size: 1em;
|
|
444
|
-
padding-block: var(--data-table-padding-block, var(--helix-space-
|
|
448
|
+
padding-block: var(--data-table-padding-block, calc(var(--helix-space-control) * 0.5));
|
|
445
449
|
padding-inline: var(--data-table-padding-inline, var(--helix-space-sm));
|
|
446
450
|
}
|
|
447
451
|
helix-data-table[selectable] > helix-table-row:not([hidden])::before {
|
|
448
452
|
block-size: var(--checkbox-size, var(--helix-size-checkbox));
|
|
449
453
|
inline-size: var(--checkbox-size, var(--helix-size-checkbox));
|
|
454
|
+
padding-block: var(--helix-space-none);
|
|
455
|
+
padding-inline-end: var(--data-table-padding-inline, var(--helix-space-md));
|
|
456
|
+
padding-inline-start: var(--data-table-padding-inline, var(--helix-space-none));
|
|
450
457
|
}
|
|
451
458
|
helix-data-table:not(:defined):has(> helix-table-row)[selectable][reorderable-rows]:not([child-field])::before,
|
|
452
459
|
helix-data-table[selectable][reorderable-rows]:not([child-field]) > helix-table-row:not([hidden])::before {
|
|
@@ -527,6 +534,10 @@ helix-table:not(:defined) > helix-table-column:last-of-type,
|
|
|
527
534
|
helix-table:not(:defined) > helix-table-row > helix-table-cell:last-child {
|
|
528
535
|
padding-inline-end: var(--helix-space-none);
|
|
529
536
|
}
|
|
537
|
+
helix-table:not(:defined) > helix-table-row:last-of-type > helix-table-cell,
|
|
538
|
+
helix-table:not(:defined) > helix-table-row:last-of-type::before {
|
|
539
|
+
border-block-end-color: transparent;
|
|
540
|
+
}
|
|
530
541
|
helix-table:not(:defined) > helix-table-row > helix-table-cell[header] {
|
|
531
542
|
font-weight: var(--helix-weight-medium);
|
|
532
543
|
}
|
|
@@ -584,16 +595,17 @@ helix-data-table > helix-table-row > helix-table-cell {
|
|
|
584
595
|
border-block-end: var(--helix-border-thin) solid
|
|
585
596
|
var(--data-table-rule-color, var(--helix-color-border));
|
|
586
597
|
box-sizing: border-box;
|
|
598
|
+
align-content: center;
|
|
587
599
|
color: var(--data-table-color, var(--helix-color-foreground));
|
|
588
600
|
display: block;
|
|
589
601
|
font-family: var(--helix-font-sans);
|
|
590
602
|
font-size: var(--data-table-text, var(--helix-text-control));
|
|
591
603
|
font-variant-numeric: tabular-nums;
|
|
592
604
|
font-weight: inherit;
|
|
593
|
-
min-block-size:
|
|
605
|
+
min-block-size: var(--helix-size-control);
|
|
594
606
|
min-inline-size: auto;
|
|
595
607
|
overflow-wrap: normal;
|
|
596
|
-
padding-block: var(--data-table-padding-block, var(--helix-space-
|
|
608
|
+
padding-block: var(--data-table-padding-block, calc(var(--helix-space-control) * 0.5));
|
|
597
609
|
padding-inline: var(--data-table-padding-inline, var(--helix-space-none) var(--helix-space-md));
|
|
598
610
|
}
|
|
599
611
|
helix-data-table > helix-table-row > helix-table-cell:last-child {
|
package/dist/primitives.css
CHANGED
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
--_helix-neutral-550: oklch(0.53 var(--_helix-neutral-cast));
|
|
33
33
|
--_helix-neutral-600: oklch(0.5 var(--_helix-neutral-cast));
|
|
34
34
|
--_helix-neutral-700: oklch(0.33 var(--_helix-neutral-cast));
|
|
35
|
+
--_helix-neutral-775: oklch(0.235 var(--_helix-neutral-cast));
|
|
35
36
|
--_helix-neutral-800: oklch(0.21 var(--_helix-neutral-cast));
|
|
36
37
|
--_helix-neutral-900: oklch(0.182 var(--_helix-neutral-cast));
|
|
37
38
|
--_helix-neutral-950: oklch(0.15 var(--_helix-neutral-cast));
|
|
@@ -44,18 +45,59 @@
|
|
|
44
45
|
--_helix-series-hue-6: 315;
|
|
45
46
|
--_helix-series-hue-7: 90;
|
|
46
47
|
--_helix-series-hue-8: 225;
|
|
47
|
-
--_helix-brand-500: var(--_helix-seed-brand);
|
|
48
|
-
--_helix-brand-600: oklch(from var(--_helix-
|
|
49
|
-
--_helix-brand-700: oklch(from var(--_helix-
|
|
48
|
+
--_helix-brand-500: oklch(from var(--_helix-seed-brand) min(l, 0.5) c h);
|
|
49
|
+
--_helix-brand-600: oklch(from var(--_helix-brand-500) calc(l - 0.05) c h);
|
|
50
|
+
--_helix-brand-700: oklch(from var(--_helix-brand-500) calc(l - 0.1) c h);
|
|
50
51
|
--_helix-brand-800: oklch(from var(--_helix-brand-700) calc(l - 0.05) c h);
|
|
51
|
-
--_helix-brand-400: oklch(
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
--_helix-brand-400: oklch(
|
|
53
|
+
from var(--_helix-seed-brand) clamp(0.68, calc(l + 0.13), max(l, 0.87)) c h
|
|
54
|
+
);
|
|
55
|
+
--_helix-brand-mark-500: oklch(from var(--_helix-seed-brand) min(l, 0.54) c h);
|
|
56
|
+
--_helix-brand-mark-400: oklch(from var(--_helix-seed-brand) max(l, 0.6) c h);
|
|
57
|
+
--_helix-brand-300: oklch(from var(--_helix-brand-400) calc(l + 0.05) c h);
|
|
58
|
+
--_helix-brand-200: oklch(from var(--_helix-brand-400) calc(l + 0.1) c h);
|
|
59
|
+
--_helix-fill-luminance: calc(
|
|
60
|
+
(
|
|
61
|
+
clamp(0, (y - 0.185) * 1000, 1) *
|
|
62
|
+
y +
|
|
63
|
+
(1 - clamp(0, (y - 0.185) * 1000, 1)) *
|
|
64
|
+
clamp(0.115, y, 0.135)
|
|
65
|
+
) /
|
|
66
|
+
max(y, 0.001)
|
|
67
|
+
);
|
|
68
|
+
--_helix-fill-hover: calc(1.15 - 0.27 * clamp(0, (y - 0.185) * 1000, 1));
|
|
69
|
+
--_helix-fill-press: calc(1.3 - 0.5 * clamp(0, (y - 0.185) * 1000, 1));
|
|
70
|
+
--_helix-brand-fill-dark: color(
|
|
71
|
+
from
|
|
72
|
+
oklch(
|
|
73
|
+
from var(--_helix-seed-brand)
|
|
74
|
+
calc(
|
|
75
|
+
clamp(0, (l - 0.68) * 1000, 1) *
|
|
76
|
+
(l - 0.05) +
|
|
77
|
+
(1 - clamp(0, (l - 0.68) * 1000, 1)) *
|
|
78
|
+
clamp(0.48, l - 0.05, 0.54)
|
|
79
|
+
)
|
|
80
|
+
c h
|
|
81
|
+
)
|
|
82
|
+
xyz-d65 calc(x * var(--_helix-fill-luminance)) calc(y * var(--_helix-fill-luminance))
|
|
83
|
+
calc(z * var(--_helix-fill-luminance))
|
|
84
|
+
);
|
|
85
|
+
--_helix-brand-fill-dark-hover: color(
|
|
86
|
+
from var(--_helix-brand-fill-dark) xyz-d65 calc(x * var(--_helix-fill-hover))
|
|
87
|
+
calc(y * var(--_helix-fill-hover)) calc(z * var(--_helix-fill-hover))
|
|
88
|
+
);
|
|
89
|
+
--_helix-brand-fill-dark-active: color(
|
|
90
|
+
from var(--_helix-brand-fill-dark) xyz-d65 calc(x * var(--_helix-fill-press))
|
|
91
|
+
calc(y * var(--_helix-fill-press)) calc(z * var(--_helix-fill-press))
|
|
92
|
+
);
|
|
54
93
|
--_helix-brand-50: oklch(from var(--_helix-seed-brand) 0.95 calc(c * 0.25) h);
|
|
55
94
|
--_helix-brand-900: oklch(from var(--_helix-seed-brand) 0.28 calc(c * 0.5) h);
|
|
56
95
|
--_helix-brand-quiet-500: oklch(from var(--_helix-brand-500) l calc(c * 0.5) h);
|
|
57
96
|
--_helix-brand-quiet-400: oklch(from var(--_helix-brand-400) l calc(c * 0.5) h);
|
|
58
|
-
--_helix-brand-on:
|
|
97
|
+
--_helix-brand-on: light-dark(
|
|
98
|
+
oklch(from var(--_helix-seed-brand) 1 0 0),
|
|
99
|
+
oklch(from var(--_helix-seed-brand) clamp(0, (0.68 - l) * 1000, 1) 0 0)
|
|
100
|
+
);
|
|
59
101
|
--_helix-brand-wash: color-mix(
|
|
60
102
|
in oklab,
|
|
61
103
|
light-dark(var(--_helix-brand-500), var(--_helix-brand-400)) 20%,
|
|
@@ -74,15 +116,39 @@
|
|
|
74
116
|
--_helix-ink-surface-hover-dark: oklch(from var(--_helix-ink-400) calc(l - 0.09) c h);
|
|
75
117
|
--_helix-ink-surface-active: oklch(from var(--_helix-ink-500) calc(l + 0.16) c h);
|
|
76
118
|
--_helix-ink-surface-active-dark: oklch(from var(--_helix-ink-400) calc(l - 0.17) c h);
|
|
77
|
-
--_helix-accent-500: var(--_helix-seed-accent);
|
|
78
|
-
--_helix-accent-600: oklch(from var(--_helix-
|
|
79
|
-
--_helix-accent-700: oklch(from var(--_helix-
|
|
80
|
-
--_helix-accent-400: oklch(
|
|
81
|
-
|
|
82
|
-
|
|
119
|
+
--_helix-accent-500: oklch(from var(--_helix-seed-accent) min(l, 0.5) c h);
|
|
120
|
+
--_helix-accent-600: oklch(from var(--_helix-accent-500) calc(l - 0.05) c h);
|
|
121
|
+
--_helix-accent-700: oklch(from var(--_helix-accent-500) calc(l - 0.1) c h);
|
|
122
|
+
--_helix-accent-400: oklch(
|
|
123
|
+
from var(--_helix-seed-accent) clamp(0.68, calc(l + 0.13), max(l, 0.87)) c h
|
|
124
|
+
);
|
|
125
|
+
--_helix-accent-300: oklch(from var(--_helix-accent-400) calc(l + 0.05) c h);
|
|
126
|
+
--_helix-accent-200: oklch(from var(--_helix-accent-400) calc(l + 0.1) c h);
|
|
83
127
|
--_helix-accent-50: oklch(from var(--_helix-seed-accent) 0.95 calc(c * 0.25) h);
|
|
84
128
|
--_helix-accent-900: oklch(from var(--_helix-seed-accent) 0.28 calc(c * 0.5) h);
|
|
85
|
-
--_helix-accent-
|
|
129
|
+
--_helix-accent-fill-dark: color(
|
|
130
|
+
from
|
|
131
|
+
oklch(
|
|
132
|
+
from var(--_helix-seed-accent)
|
|
133
|
+
calc(
|
|
134
|
+
clamp(0, (l - 0.68) * 1000, 1) *
|
|
135
|
+
(l - 0.05) +
|
|
136
|
+
(1 - clamp(0, (l - 0.68) * 1000, 1)) *
|
|
137
|
+
clamp(0.48, l - 0.05, 0.54)
|
|
138
|
+
)
|
|
139
|
+
c h
|
|
140
|
+
)
|
|
141
|
+
xyz-d65 calc(x * var(--_helix-fill-luminance)) calc(y * var(--_helix-fill-luminance))
|
|
142
|
+
calc(z * var(--_helix-fill-luminance))
|
|
143
|
+
);
|
|
144
|
+
--_helix-accent-fill-dark-hover: color(
|
|
145
|
+
from var(--_helix-accent-fill-dark) xyz-d65 calc(x * var(--_helix-fill-hover))
|
|
146
|
+
calc(y * var(--_helix-fill-hover)) calc(z * var(--_helix-fill-hover))
|
|
147
|
+
);
|
|
148
|
+
--_helix-accent-on: light-dark(
|
|
149
|
+
oklch(from var(--_helix-seed-accent) 1 0 0),
|
|
150
|
+
oklch(from var(--_helix-seed-accent) clamp(0, (0.68 - l) * 1000, 1) 0 0)
|
|
151
|
+
);
|
|
86
152
|
--_helix-accent-quiet-500: oklch(from var(--_helix-accent-500) l calc(c * 0.5) h);
|
|
87
153
|
--_helix-accent-quiet-400: oklch(from var(--_helix-accent-400) l calc(c * 0.5) h);
|
|
88
154
|
--_helix-info-500: oklch(0.58 0.16 245);
|
|
@@ -90,9 +156,9 @@
|
|
|
90
156
|
--_helix-warning-500: oklch(0.7 0.185 75);
|
|
91
157
|
--_helix-danger-500: oklch(0.57 0.21 27);
|
|
92
158
|
--_helix-danger-600: oklch(from var(--_helix-danger-500) calc(l - 0.07) calc(c - 0.04) h);
|
|
93
|
-
--_helix-info-600: oklch(from var(--_helix-info-500) calc(l - 0.
|
|
94
|
-
--_helix-success-600: oklch(from var(--_helix-success-500) calc(l - 0.
|
|
95
|
-
--_helix-warning-600: oklch(from var(--_helix-warning-500) calc(l - 0.
|
|
159
|
+
--_helix-info-600: oklch(from var(--_helix-info-500) calc(l - 0.1) calc(c - 0.04) h);
|
|
160
|
+
--_helix-success-600: oklch(from var(--_helix-success-500) calc(l - 0.11) calc(c - 0.04) h);
|
|
161
|
+
--_helix-warning-600: oklch(from var(--_helix-warning-500) calc(l - 0.21) calc(c - 0.075) h);
|
|
96
162
|
--_helix-danger-700: oklch(from var(--_helix-danger-500) calc(l - 0.14) calc(c - 0.06) h);
|
|
97
163
|
--_helix-info-700: oklch(from var(--_helix-info-500) calc(l - 0.14) calc(c - 0.06) h);
|
|
98
164
|
--_helix-success-700: oklch(from var(--_helix-success-500) calc(l - 0.14) calc(c - 0.06) h);
|
|
@@ -101,19 +167,19 @@
|
|
|
101
167
|
--_helix-success-400: oklch(from var(--_helix-success-500) calc(l + 0.12) c h);
|
|
102
168
|
--_helix-warning-400: oklch(from var(--_helix-warning-500) calc(l + 0.12) c h);
|
|
103
169
|
--_helix-danger-400: oklch(from var(--_helix-danger-500) calc(l + 0.12) c h);
|
|
104
|
-
--_helix-syntax-comment-light: oklch(from #6e7781 0.
|
|
170
|
+
--_helix-syntax-comment-light: oklch(from #6e7781 0.52 c h);
|
|
105
171
|
--_helix-syntax-comment-dark: #8b949e;
|
|
106
|
-
--_helix-syntax-keyword-light: oklch(from #cf222e 0.
|
|
172
|
+
--_helix-syntax-keyword-light: oklch(from #cf222e 0.54 c h);
|
|
107
173
|
--_helix-syntax-keyword-dark: #ff7b72;
|
|
108
|
-
--_helix-syntax-string-light: oklch(from #0a3069 0.
|
|
174
|
+
--_helix-syntax-string-light: oklch(from #0a3069 0.44 c h);
|
|
109
175
|
--_helix-syntax-string-dark: #a5d6ff;
|
|
110
|
-
--_helix-syntax-tag-light: oklch(from #116329 0.
|
|
176
|
+
--_helix-syntax-tag-light: oklch(from #116329 0.5 c h);
|
|
111
177
|
--_helix-syntax-tag-dark: #7ee787;
|
|
112
|
-
--_helix-syntax-name-light: oklch(from #0550ae 0.
|
|
178
|
+
--_helix-syntax-name-light: oklch(from #0550ae 0.52 c h);
|
|
113
179
|
--_helix-syntax-name-dark: #79c0ff;
|
|
114
|
-
--_helix-syntax-callable-light: oklch(from #8250df 0.
|
|
180
|
+
--_helix-syntax-callable-light: oklch(from #8250df 0.54 c h);
|
|
115
181
|
--_helix-syntax-callable-dark: #d2a8ff;
|
|
116
|
-
--_helix-syntax-constant-light: oklch(from #953800 0.
|
|
182
|
+
--_helix-syntax-constant-light: oklch(from #953800 0.53 c h);
|
|
117
183
|
--_helix-syntax-constant-dark: #ffa657;
|
|
118
184
|
--_helix-syntax-invalid-light: oklch(from #82071e 0.5 c h);
|
|
119
185
|
--_helix-syntax-invalid-dark: #ffa198;
|