@techfides/ui-library-design 0.9.0 → 0.9.1

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 (2) hide show
  1. package/css/theme.css +42 -82
  2. package/package.json +1 -1
package/css/theme.css CHANGED
@@ -50,13 +50,11 @@
50
50
 
51
51
  @theme static inline {
52
52
  --ceiling-tf-accent: var(--tf-accent-ceiling);
53
-
54
53
  --color-tf-accent: var(--tf-accent);
55
- --color-tf-accent-hi: oklch(from var(--tf-accent) 0.73 c h);
56
- --color-tf-accent-surface: oklch(from var(--tf-accent) 0.55 c h);
57
- --color-tf-accent-deep: oklch(from var(--tf-accent) 0.45 c h);
58
- --color-tf-on-accent: #ffffff;
59
-
54
+ --color-tf-accent-hi: oklch(from var(--tf-accent) 73% c h);
55
+ --color-tf-accent-surface: oklch(from var(--tf-accent) 55% c h);
56
+ --color-tf-accent-deep: oklch(from var(--tf-accent) 45% c h);
57
+ --color-tf-on-accent: #fff;
60
58
  --color-tf-accent-tint: color-mix(
61
59
  in oklab,
62
60
  var(--tf-accent) var(--tf-tint),
@@ -76,13 +74,11 @@
76
74
  --color-tf-panel-2: rgb(255 255 255 / 3%);
77
75
  --color-tf-panel-hi: rgb(255 255 255 / 8.5%);
78
76
  --color-tf-glass: rgb(255 255 255 / 6.5%);
79
-
80
77
  --color-tf-sunken: rgb(0 0 0 / 26%);
81
78
  --color-tf-sunken-hi: rgb(0 0 0 / 20%);
82
79
  --color-tf-sunken-quiet: rgb(0 0 0 / 34%);
83
80
  --color-tf-control: rgb(255 255 255 / 9%);
84
81
  --color-tf-control-hi: rgb(255 255 255 / 12%);
85
-
86
82
  --color-tf-surface-hi: color-mix(in oklab, #fff 4.5%, var(--color-tf-surface));
87
83
  --color-tf-surface-quiet: color-mix(in oklab, var(--color-tf-bg) 55%, var(--color-tf-surface));
88
84
  --color-tf-shade-under: color-mix(in oklab, var(--color-tf-bg) 38%, transparent);
@@ -95,26 +91,22 @@
95
91
  --color-tf-fg: #eef1f6;
96
92
  --color-tf-fg-held: color-mix(in oklab, #eef1f6 82%, var(--color-tf-bg));
97
93
  --color-tf-muted: #98a1b2;
98
-
99
- --color-tf-success: oklch(0.55 0.19 133);
100
- --color-tf-success-hi: oklch(0.73 0.195 133);
101
- --color-tf-warning: oklch(0.6 0.13 70);
102
- --color-tf-warning-hi: oklch(0.73 0.158 70);
103
- --color-tf-info: oklch(0.55 0.196 243);
104
- --color-tf-info-hi: oklch(0.73 0.156 243);
105
- --color-tf-danger: oklch(0.55 0.241 27);
106
- --color-tf-danger-hi: oklch(0.73 0.17 27);
107
- --color-tf-on-semantic: #ffffff;
108
-
94
+ --color-tf-success: oklch(55% 0.19 133deg);
95
+ --color-tf-success-hi: oklch(73% 0.195 133deg);
96
+ --color-tf-warning: oklch(60% 0.13 70deg);
97
+ --color-tf-warning-hi: oklch(73% 0.158 70deg);
98
+ --color-tf-info: oklch(55% 0.196 243deg);
99
+ --color-tf-info-hi: oklch(73% 0.156 243deg);
100
+ --color-tf-danger: oklch(55% 0.241 27deg);
101
+ --color-tf-danger-hi: oklch(73% 0.17 27deg);
102
+ --color-tf-on-semantic: #fff;
109
103
  --ceiling-tf-success: 0.169;
110
104
  --ceiling-tf-warning: 0.13;
111
105
  --ceiling-tf-info: 0.145;
112
106
  --ceiling-tf-danger: 0.244;
113
-
114
107
  --tf-tint: 15%;
115
108
  --tf-edge: 32%;
116
109
  --tf-edge-rest: 32%;
117
-
118
110
  --tf-rest-angle: 110deg;
119
111
  --tf-rest-waist: 33%;
120
112
  --tf-mixed-angle: 150deg;
@@ -122,11 +114,9 @@
122
114
  --tf-milk-reach: 34%;
123
115
  --tf-pressed-angle: 124deg;
124
116
  --tf-fall-angle: 180deg;
125
-
126
117
  --tf-glass-flat:
127
118
  linear-gradient(var(--color-tf-glass), var(--color-tf-glass)), var(--color-tf-bg);
128
119
  --tf-rise-angle: 290deg;
129
-
130
120
  --color-tf-success-tint: color-mix(
131
121
  in oklab,
132
122
  var(--color-tf-success) var(--tf-tint),
@@ -168,10 +158,8 @@
168
158
  var(--color-tf-danger) var(--tf-edge),
169
159
  var(--color-tf-surface)
170
160
  );
171
-
172
161
  --font-tf-display: 'Poppins', system-ui, sans-serif;
173
162
  --font-tf-body: 'Inter Variable', 'Inter', system-ui, sans-serif;
174
-
175
163
  --text-tf-numeral: clamp(96px, 11vw, 160px);
176
164
  --text-tf-numeral--line-height: 1;
177
165
  --text-tf-display: clamp(38px, 4.5vw, 54px);
@@ -198,16 +186,13 @@
198
186
  --text-tf-caption--line-height: 1.6;
199
187
  --text-tf-caption-sm: 12px;
200
188
  --text-tf-caption-sm--line-height: 1.6;
201
-
202
189
  --tracking-tf-tight: -0.022em;
203
190
  --tracking-tf-eyebrow: 0.12em;
204
-
205
191
  --breakpoint-*: initial;
206
192
  --breakpoint-sm: 40rem;
207
193
  --breakpoint-md: 48rem;
208
194
  --breakpoint-lg: 64rem;
209
195
  --breakpoint-xl: 80rem;
210
-
211
196
  --container-*: initial;
212
197
  --max-width-*: initial;
213
198
  --container-tf-panel: 24rem;
@@ -216,97 +201,77 @@
216
201
  --container-tf-measure: 65ch;
217
202
  --container-tf-page: 56rem;
218
203
  --container-tf-canvas: 100rem;
219
-
220
204
  --spacing-tf-hairline: 1px;
221
-
222
205
  --spacing-tf-control-2xs: 1.5rem;
223
206
  --spacing-tf-control-xs: 2rem;
224
207
  --spacing-tf-control-sm: 2.5rem;
225
208
  --spacing-tf-control-md: 3rem;
226
209
  --spacing-tf-control-lg: 3.5rem;
227
-
228
210
  --spacing-tf-row: 2.25rem;
229
211
  --spacing-tf-chip-sm: 1.5rem;
230
212
  --spacing-tf-target: 3rem;
231
-
232
213
  --spacing-tf-menu: 12rem;
233
214
  --spacing-tf-sidebar: 17rem;
234
215
  --spacing-tf-rail: 5rem;
235
-
236
216
  --spacing-tf-icon-2xs: 0.875rem;
237
217
  --spacing-tf-icon-xs: 1rem;
238
218
  --spacing-tf-icon-sm: 1.125rem;
239
219
  --spacing-tf-icon-md: 1.25rem;
240
220
  --spacing-tf-icon-lg: 1.375rem;
241
-
242
221
  --spacing-tf-icon-solo-xs: 1rem;
243
222
  --spacing-tf-icon-solo-sm: 1.25rem;
244
223
  --spacing-tf-icon-solo-md: 1.375rem;
245
224
  --spacing-tf-icon-solo-lg: 1.5rem;
246
-
247
225
  --spacing-tf-mark-glyph: 0.875rem;
248
226
  --spacing-tf-mark-dot: 0.625rem;
249
227
  --spacing-tf-mark-track: 0.375rem;
250
228
  --spacing-tf-mark-inset: 0.1875rem;
251
-
252
229
  --tf-mark-path: 23;
253
230
  --tf-icon-stroke: 2.75;
254
231
  --tf-icon-stroke-solo: 3;
255
-
256
232
  --blur-tf-panel: 16px;
257
233
  --blur-tf-glass: 16px;
258
234
  --blur-tf-scrim: 6px;
259
235
  --blur-tf-cloud-md: 14px;
260
236
  --blur-tf-cloud-tight: 10px;
261
237
  --blur-tf-cloud-wide: 32px;
262
-
263
238
  --radius-tf-none: 0;
264
239
  --radius-tf-inline: 0.375rem;
265
240
  --radius-tf-control: 0.625rem;
266
241
  --radius-tf-block: 0.75rem;
267
242
  --radius-tf-card: 1rem;
268
243
  --radius-tf-pill: 9999px;
269
-
270
244
  --shadow-tf-float: 0 18px 44px -18px rgb(0 0 0 / 88%);
271
245
  --shadow-tf-mark: 0 1px 2px rgb(0 0 0 / 40%);
272
-
273
246
  --ease-tf: cubic-bezier(0.16, 0.8, 0.3, 1);
274
247
  --ease-tf-spring: cubic-bezier(0.34, 1.56, 0.5, 1);
275
248
  --ease-tf-glide: cubic-bezier(0.45, 0.05, 0.35, 1);
276
249
  --ease-tf-settle: cubic-bezier(0.32, 1.36, 0.58, 1);
277
-
278
250
  --tf-z-raised: 10;
279
251
  --tf-z-dropdown: 20;
280
252
  --tf-z-tooltip: 30;
281
253
  --tf-z-modal: 40;
282
254
  --tf-z-toast: 50;
283
-
284
255
  --tf-duration-1: 140ms;
285
256
  --tf-duration-2: 240ms;
286
257
  --tf-duration-3: 600ms;
287
258
  --tf-duration-4: 700ms;
288
-
289
259
  --tf-marquee-pace: calc(var(--spacing-tf-icon-solo-lg) * (1s / var(--tf-duration-3)));
290
-
291
260
  --tf-sweep-duration: calc(var(--tf-duration-3) * 30);
292
261
  --tf-twinkle-duration: calc(var(--tf-duration-3) * 26);
293
262
  --tf-pulse-duration: calc(var(--tf-duration-3) * 3);
294
-
295
263
  --tf-timing-quick: var(--tf-duration-1) var(--ease-tf);
296
264
  --tf-timing-glide: var(--tf-duration-2) var(--ease-tf-glide);
297
265
  --tf-timing-drift: var(--tf-duration-3) var(--ease-tf-glide);
298
266
  --tf-timing-trail: var(--tf-duration-4) var(--ease-tf-glide);
299
267
  --tf-timing-spring: var(--tf-duration-2) var(--ease-tf-spring);
300
268
  --tf-timing-settle: var(--tf-duration-2) var(--ease-tf-settle);
301
-
302
269
  --tf-blend-timing: var(--tf-timing-glide);
303
270
  --tf-shadow-timing: var(--tf-timing-glide);
304
271
  --tf-move-timing: var(--tf-timing-quick);
305
272
  --tf-weather-timing: var(--tf-timing-drift);
306
273
  --tf-ink-timing: var(--tf-timing-quick);
307
-
308
274
  --tf-cloud-blur: var(--blur-tf-cloud-md);
309
-
310
275
  --animate-tf-blend-in: tf-blend-in var(--tf-duration-2) var(--ease-tf-glide);
311
276
  --animate-tf-arrive: tf-arrive var(--tf-duration-2) var(--ease-tf) both;
312
277
  --animate-tf-depart: tf-depart var(--tf-duration-1) var(--ease-tf) both;
@@ -476,7 +441,7 @@
476
441
  }
477
442
 
478
443
  @keyframes tf-chip-in {
479
- from {
444
+ 0% {
480
445
  width: 0;
481
446
  padding-inline: 0;
482
447
  margin-inline-end: calc(var(--tf-chip-gap, 0px) * -1);
@@ -632,15 +597,10 @@
632
597
  }
633
598
 
634
599
  @custom-variant interactive (&:not(:disabled):not([aria-disabled='true']):not([data-disabled]));
635
-
636
600
  @custom-variant hovered (&:hover, &[data-hover]);
637
-
638
601
  @custom-variant pressed (&:active, &[data-active]);
639
-
640
602
  @custom-variant focused (&:focus-visible, &[data-focus-visible]);
641
-
642
603
  @custom-variant reached (&:focus-within, &[data-reached]);
643
-
644
604
  @custom-variant asleep (
645
605
  &:has(:placeholder-shown, [data-placeholder-shown]):not(:focus-within):not([data-reached]):not([data-state='open'])
646
606
  );
@@ -732,7 +692,7 @@
732
692
  @property --tf-nudge {
733
693
  syntax: '<length>';
734
694
  inherits: true;
735
- initial-value: 0px;
695
+ initial-value: 0;
736
696
  }
737
697
 
738
698
  @property --tf-tally {
@@ -773,25 +733,25 @@
773
733
 
774
734
  @property --tf-marquee-run {
775
735
  syntax: '<length>';
776
- initial-value: 0px;
736
+ initial-value: 0;
777
737
  inherits: true;
778
738
  }
779
739
 
780
740
  @property --tf-marquee-pace {
781
741
  syntax: '<length>';
782
- initial-value: 0px;
742
+ initial-value: 0;
783
743
  inherits: true;
784
744
  }
785
745
 
786
746
  @property --tf-fade-head {
787
747
  syntax: '<length>';
788
- initial-value: 0px;
748
+ initial-value: 0;
789
749
  inherits: false;
790
750
  }
791
751
 
792
752
  @property --tf-fade-foot {
793
753
  syntax: '<length>';
794
- initial-value: 0px;
754
+ initial-value: 0;
795
755
  inherits: false;
796
756
  }
797
757
 
@@ -856,15 +816,15 @@
856
816
  }
857
817
 
858
818
  @utility tf-fill-scale {
859
- --tf-lift: oklch(from var(--tf-base) 0.6 min(calc(var(--tf-c, c) * 1.1), var(--tf-ceiling)) h);
819
+ --tf-lift: oklch(from var(--tf-base) 60% min(calc(var(--tf-c, c) * 1.1), var(--tf-ceiling)) h);
860
820
  --tf-vivid: oklch(
861
- from var(--tf-base) 0.51 min(calc(var(--tf-c, c) * 1.05), calc(var(--tf-ceiling) * 0.85)) h
821
+ from var(--tf-base) 51% min(calc(var(--tf-c, c) * 1.05), calc(var(--tf-ceiling) * 0.85)) h
862
822
  );
863
- --tf-deep: oklch(from var(--tf-base) 0.42 min(c, calc(var(--tf-ceiling) * 0.7)) h);
823
+ --tf-deep: oklch(from var(--tf-base) 42% min(c, calc(var(--tf-ceiling) * 0.7)) h);
864
824
  --tf-flare: oklch(
865
- from var(--tf-base) 0.68 min(calc(var(--tf-c, c) * 1.1), calc(var(--tf-ceiling) * 0.77)) h
825
+ from var(--tf-base) 68% min(calc(var(--tf-c, c) * 1.1), calc(var(--tf-ceiling) * 0.77)) h
866
826
  );
867
- --tf-abyss: oklch(from var(--tf-base) 0.33 min(c, calc(var(--tf-ceiling) * 0.55)) h);
827
+ --tf-abyss: oklch(from var(--tf-base) 33% min(c, calc(var(--tf-ceiling) * 0.55)) h);
868
828
  }
869
829
 
870
830
  @utility bg-tf-blend {
@@ -884,11 +844,11 @@
884
844
  }
885
845
 
886
846
  @utility tf-ink-scale {
887
- --tf-lift: oklch(from var(--tf-base) 0.88 calc(var(--tf-c, c) * 1.1) h);
888
- --tf-vivid: oklch(from var(--tf-base) 0.82 calc(var(--tf-c, c) * 1.3) h);
889
- --tf-deep: oklch(from var(--tf-base) 0.7 c h);
890
- --tf-flare: oklch(from var(--tf-base) 0.92 calc(var(--tf-c, c) * 1.15) h);
891
- --tf-abyss: oklch(from var(--tf-base) 0.66 calc(var(--tf-c, c) * 1.05) h);
847
+ --tf-lift: oklch(from var(--tf-base) 88% calc(var(--tf-c, c) * 1.1) h);
848
+ --tf-vivid: oklch(from var(--tf-base) 82% calc(var(--tf-c, c) * 1.3) h);
849
+ --tf-deep: oklch(from var(--tf-base) 70% c h);
850
+ --tf-flare: oklch(from var(--tf-base) 92% calc(var(--tf-c, c) * 1.15) h);
851
+ --tf-abyss: oklch(from var(--tf-base) 66% calc(var(--tf-c, c) * 1.05) h);
892
852
  }
893
853
 
894
854
  @utility text-tf-blend {
@@ -899,6 +859,7 @@
899
859
  --tf-rest-trail: var(--color-tf-fg);
900
860
 
901
861
  @apply tf-ramp;
862
+
902
863
  background-clip: text;
903
864
  color: transparent;
904
865
  text-box-trim: trim-start;
@@ -926,9 +887,9 @@
926
887
  }
927
888
 
928
889
  @utility tf-label-lit {
929
- --tf-label-lead: var(--tf-label-ink, oklch(from var(--tf-base) 0.73 c h));
930
- --tf-label-mid: var(--tf-label-ink, oklch(from var(--tf-base) 0.73 c h));
931
- --tf-label-trail: var(--tf-label-ink, oklch(from var(--tf-base) 0.73 c h));
890
+ --tf-label-lead: var(--tf-label-ink, oklch(from var(--tf-base) 73% c h));
891
+ --tf-label-mid: var(--tf-label-ink, oklch(from var(--tf-base) 73% c h));
892
+ --tf-label-trail: var(--tf-label-ink, oklch(from var(--tf-base) 73% c h));
932
893
  }
933
894
 
934
895
  @utility tf-label-failed {
@@ -1041,7 +1002,6 @@
1041
1002
 
1042
1003
  @utility tf-blend-outline {
1043
1004
  @apply tf-ink-scale;
1044
-
1045
1005
  @apply tf-ring-scale;
1046
1006
 
1047
1007
  --tf-outline-lift: var(--tf-ring-lit-bloom);
@@ -1099,7 +1059,7 @@
1099
1059
  mask-image: linear-gradient(
1100
1060
  to bottom,
1101
1061
  transparent 0,
1102
- transparent var(--tf-fade-head, 0px),
1062
+ transparent var(--tf-fade-head, 0),
1103
1063
  #000 calc(var(--tf-fade-head, 0px) + var(--spacing)),
1104
1064
  #000 calc(100% - var(--tf-fade-foot, 0px)),
1105
1065
  transparent 100%
@@ -1198,10 +1158,10 @@
1198
1158
  }
1199
1159
 
1200
1160
  @utility tf-ring-scale {
1201
- --tf-ring-dim: oklch(from var(--tf-base) 0.34 calc(var(--tf-c, c) * 0.34) h);
1202
- --tf-ring-dim-bloom: oklch(from var(--tf-base) 0.45 calc(var(--tf-c, c) * 0.42) h);
1203
- --tf-ring-lit: oklch(from var(--tf-base) 0.6 calc(var(--tf-c, c) * 0.85) h);
1204
- --tf-ring-lit-bloom: oklch(from var(--tf-base) 0.78 c h);
1161
+ --tf-ring-dim: oklch(from var(--tf-base) 34% calc(var(--tf-c, c) * 0.34) h);
1162
+ --tf-ring-dim-bloom: oklch(from var(--tf-base) 45% calc(var(--tf-c, c) * 0.42) h);
1163
+ --tf-ring-lit: oklch(from var(--tf-base) 60% calc(var(--tf-c, c) * 0.85) h);
1164
+ --tf-ring-lit-bloom: oklch(from var(--tf-base) 78% c h);
1205
1165
  }
1206
1166
 
1207
1167
  @utility tf-ring-rest {
@@ -1350,7 +1310,7 @@
1350
1310
 
1351
1311
  --tf-rest-lead: var(--tf-ring-base);
1352
1312
  --tf-rest-mid: oklch(from var(--tf-ring-base) l c h / calc(100% - var(--tf-blend-waist)));
1353
- --tf-rest-trail: oklch(from var(--tf-ring-base) l c h / 0);
1313
+ --tf-rest-trail: oklch(from var(--tf-ring-base) l c h / 0%);
1354
1314
 
1355
1315
  @apply tf-ramp;
1356
1316
  }
@@ -1411,9 +1371,9 @@
1411
1371
  }
1412
1372
 
1413
1373
  @utility tf-cloud-scale {
1414
- --tf-haze: oklch(from var(--tf-base) 0.85 c h);
1415
- --tf-haze-lit: oklch(from var(--tf-base) 0.92 c h);
1416
- --tf-haze-quiet: oklch(from var(--tf-base) 0.6 c h);
1374
+ --tf-haze: oklch(from var(--tf-base) 85% c h);
1375
+ --tf-haze-lit: oklch(from var(--tf-base) 92% c h);
1376
+ --tf-haze-quiet: oklch(from var(--tf-base) 60% c h);
1417
1377
  }
1418
1378
 
1419
1379
  @utility tf-cloud-brand {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@techfides/ui-library-design",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Framework-agnostic design core for the TechFides UI library: Tailwind design tokens and component variant recipes",
5
5
  "keywords": [
6
6
  "cva",