@lindaui/tokens 0.2.0 → 0.2.2
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/index.css +177 -74
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -220,6 +220,9 @@
|
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
222
|
@layer utilities {
|
|
223
|
+
.pointer-events-auto {
|
|
224
|
+
pointer-events: auto;
|
|
225
|
+
}
|
|
223
226
|
.pointer-events-none {
|
|
224
227
|
pointer-events: none;
|
|
225
228
|
}
|
|
@@ -229,12 +232,21 @@
|
|
|
229
232
|
.absolute {
|
|
230
233
|
position: absolute;
|
|
231
234
|
}
|
|
235
|
+
.fixed {
|
|
236
|
+
position: fixed;
|
|
237
|
+
}
|
|
232
238
|
.relative {
|
|
233
239
|
position: relative;
|
|
234
240
|
}
|
|
235
241
|
.inset-0 {
|
|
236
242
|
inset: 0;
|
|
237
243
|
}
|
|
244
|
+
.inset-x-0 {
|
|
245
|
+
inset-inline: 0;
|
|
246
|
+
}
|
|
247
|
+
.top-0 {
|
|
248
|
+
top: 0;
|
|
249
|
+
}
|
|
238
250
|
.top-3 {
|
|
239
251
|
top: calc(var(--spacing) * 3);
|
|
240
252
|
}
|
|
@@ -256,9 +268,6 @@
|
|
|
256
268
|
.left-3 {
|
|
257
269
|
left: calc(var(--spacing) * 3);
|
|
258
270
|
}
|
|
259
|
-
.left-3\.5 {
|
|
260
|
-
left: calc(var(--spacing) * 3.5);
|
|
261
|
-
}
|
|
262
271
|
.left-4 {
|
|
263
272
|
left: calc(var(--spacing) * 4);
|
|
264
273
|
}
|
|
@@ -364,6 +373,9 @@
|
|
|
364
373
|
.inline {
|
|
365
374
|
display: inline;
|
|
366
375
|
}
|
|
376
|
+
.inline-block {
|
|
377
|
+
display: inline-block;
|
|
378
|
+
}
|
|
367
379
|
.inline-flex {
|
|
368
380
|
display: inline-flex;
|
|
369
381
|
}
|
|
@@ -424,6 +436,9 @@
|
|
|
424
436
|
.h-8 {
|
|
425
437
|
height: calc(var(--spacing) * 8);
|
|
426
438
|
}
|
|
439
|
+
.h-9 {
|
|
440
|
+
height: calc(var(--spacing) * 9);
|
|
441
|
+
}
|
|
427
442
|
.h-10 {
|
|
428
443
|
height: calc(var(--spacing) * 10);
|
|
429
444
|
}
|
|
@@ -643,6 +658,9 @@
|
|
|
643
658
|
.min-w-\[8rem\] {
|
|
644
659
|
min-width: 8rem;
|
|
645
660
|
}
|
|
661
|
+
.min-w-\[240px\] {
|
|
662
|
+
min-width: 240px;
|
|
663
|
+
}
|
|
646
664
|
.flex-1 {
|
|
647
665
|
flex: 1;
|
|
648
666
|
}
|
|
@@ -736,6 +754,13 @@
|
|
|
736
754
|
.gap-\[3px\] {
|
|
737
755
|
gap: 3px;
|
|
738
756
|
}
|
|
757
|
+
.space-y-2 {
|
|
758
|
+
:where(& > :not(:last-child)) {
|
|
759
|
+
--tw-space-y-reverse: 0;
|
|
760
|
+
margin-block-start: calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));
|
|
761
|
+
margin-block-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));
|
|
762
|
+
}
|
|
763
|
+
}
|
|
739
764
|
.space-y-3 {
|
|
740
765
|
:where(& > :not(:last-child)) {
|
|
741
766
|
--tw-space-y-reverse: 0;
|
|
@@ -750,6 +775,9 @@
|
|
|
750
775
|
margin-block-end: calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)));
|
|
751
776
|
}
|
|
752
777
|
}
|
|
778
|
+
.gap-x-2 {
|
|
779
|
+
column-gap: calc(var(--spacing) * 2);
|
|
780
|
+
}
|
|
753
781
|
.self-center {
|
|
754
782
|
align-self: center;
|
|
755
783
|
}
|
|
@@ -833,9 +861,6 @@
|
|
|
833
861
|
border-color: color-mix(in oklab, var(--destructive) 35%, transparent);
|
|
834
862
|
}
|
|
835
863
|
}
|
|
836
|
-
.bg-\[oklch\(0\.16_0\.02_240\)\] {
|
|
837
|
-
background-color: oklch(0.16 0.02 240);
|
|
838
|
-
}
|
|
839
864
|
.bg-\[var\(--accent\)\]\/10 {
|
|
840
865
|
background-color: var(--accent);
|
|
841
866
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -896,6 +921,9 @@
|
|
|
896
921
|
background-color: color-mix(in oklab, var(--destructive) 15%, transparent);
|
|
897
922
|
}
|
|
898
923
|
}
|
|
924
|
+
.bg-foreground {
|
|
925
|
+
background-color: var(--foreground);
|
|
926
|
+
}
|
|
899
927
|
.bg-green-100 {
|
|
900
928
|
background-color: var(--color-green-100);
|
|
901
929
|
}
|
|
@@ -947,6 +975,24 @@
|
|
|
947
975
|
.bg-yellow-100 {
|
|
948
976
|
background-color: var(--color-yellow-100);
|
|
949
977
|
}
|
|
978
|
+
.bg-linear-to-b {
|
|
979
|
+
--tw-gradient-position: to bottom;
|
|
980
|
+
@supports (background-image: linear-gradient(in lab, red, red)) {
|
|
981
|
+
--tw-gradient-position: to bottom in oklab;
|
|
982
|
+
}
|
|
983
|
+
background-image: linear-gradient(var(--tw-gradient-stops));
|
|
984
|
+
}
|
|
985
|
+
.from-black\/25 {
|
|
986
|
+
--tw-gradient-from: color-mix(in srgb, #000 25%, transparent);
|
|
987
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
988
|
+
--tw-gradient-from: color-mix(in oklab, var(--color-black) 25%, transparent);
|
|
989
|
+
}
|
|
990
|
+
--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
|
|
991
|
+
}
|
|
992
|
+
.to-transparent {
|
|
993
|
+
--tw-gradient-to: transparent;
|
|
994
|
+
--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
|
|
995
|
+
}
|
|
950
996
|
.fill-foreground {
|
|
951
997
|
fill: var(--foreground);
|
|
952
998
|
}
|
|
@@ -1004,6 +1050,9 @@
|
|
|
1004
1050
|
.px-4 {
|
|
1005
1051
|
padding-inline: calc(var(--spacing) * 4);
|
|
1006
1052
|
}
|
|
1053
|
+
.px-5 {
|
|
1054
|
+
padding-inline: calc(var(--spacing) * 5);
|
|
1055
|
+
}
|
|
1007
1056
|
.px-6 {
|
|
1008
1057
|
padding-inline: calc(var(--spacing) * 6);
|
|
1009
1058
|
}
|
|
@@ -1046,9 +1095,15 @@
|
|
|
1046
1095
|
.pt-4 {
|
|
1047
1096
|
padding-top: calc(var(--spacing) * 4);
|
|
1048
1097
|
}
|
|
1098
|
+
.pt-\[max\(0\.75rem\,env\(safe-area-inset-top\)\)\] {
|
|
1099
|
+
padding-top: max(0.75rem, env(safe-area-inset-top));
|
|
1100
|
+
}
|
|
1049
1101
|
.pt-\[max\(env\(safe-area-inset-top\)\,2rem\)\] {
|
|
1050
1102
|
padding-top: max(env(safe-area-inset-top), 2rem);
|
|
1051
1103
|
}
|
|
1104
|
+
.pr-3 {
|
|
1105
|
+
padding-right: calc(var(--spacing) * 3);
|
|
1106
|
+
}
|
|
1052
1107
|
.pr-8 {
|
|
1053
1108
|
padding-right: calc(var(--spacing) * 8);
|
|
1054
1109
|
}
|
|
@@ -1061,6 +1116,12 @@
|
|
|
1061
1116
|
.pb-4 {
|
|
1062
1117
|
padding-bottom: calc(var(--spacing) * 4);
|
|
1063
1118
|
}
|
|
1119
|
+
.pl-2 {
|
|
1120
|
+
padding-left: calc(var(--spacing) * 2);
|
|
1121
|
+
}
|
|
1122
|
+
.pl-\[max\(0\.875rem\,env\(safe-area-inset-left\)\)\] {
|
|
1123
|
+
padding-left: max(0.875rem, env(safe-area-inset-left));
|
|
1124
|
+
}
|
|
1064
1125
|
.text-center {
|
|
1065
1126
|
text-align: center;
|
|
1066
1127
|
}
|
|
@@ -1168,15 +1229,9 @@
|
|
|
1168
1229
|
.text-\[inherit\] {
|
|
1169
1230
|
color: inherit;
|
|
1170
1231
|
}
|
|
1171
|
-
.text-\[oklch\(0\.9_0\.01_220\)\] {
|
|
1172
|
-
color: oklch(0.9 0.01 220);
|
|
1173
|
-
}
|
|
1174
1232
|
.text-\[oklch\(0\.16_0\.02_240\)\] {
|
|
1175
1233
|
color: oklch(0.16 0.02 240);
|
|
1176
1234
|
}
|
|
1177
|
-
.text-\[oklch\(0\.72_0\.16_18\)\] {
|
|
1178
|
-
color: oklch(0.72 0.16 18);
|
|
1179
|
-
}
|
|
1180
1235
|
.text-\[var\(--accent\)\] {
|
|
1181
1236
|
color: var(--accent);
|
|
1182
1237
|
}
|
|
@@ -1198,6 +1253,9 @@
|
|
|
1198
1253
|
.text-\[var\(--warning\)\] {
|
|
1199
1254
|
color: var(--warning);
|
|
1200
1255
|
}
|
|
1256
|
+
.text-background {
|
|
1257
|
+
color: var(--background);
|
|
1258
|
+
}
|
|
1201
1259
|
.text-black {
|
|
1202
1260
|
color: var(--color-black);
|
|
1203
1261
|
}
|
|
@@ -1252,20 +1310,14 @@
|
|
|
1252
1310
|
.text-viewer-foreground {
|
|
1253
1311
|
color: var(--viewer-foreground);
|
|
1254
1312
|
}
|
|
1255
|
-
.text-
|
|
1256
|
-
color: var(--
|
|
1257
|
-
}
|
|
1258
|
-
.text-white\/65 {
|
|
1259
|
-
color: color-mix(in srgb, #fff 65%, transparent);
|
|
1313
|
+
.text-viewer-foreground\/70 {
|
|
1314
|
+
color: var(--viewer-foreground);
|
|
1260
1315
|
@supports (color: color-mix(in lab, red, red)) {
|
|
1261
|
-
color: color-mix(in oklab, var(--
|
|
1316
|
+
color: color-mix(in oklab, var(--viewer-foreground) 70%, transparent);
|
|
1262
1317
|
}
|
|
1263
1318
|
}
|
|
1264
|
-
.text-white
|
|
1265
|
-
color: color-
|
|
1266
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
1267
|
-
color: color-mix(in oklab, var(--color-white) 70%, transparent);
|
|
1268
|
-
}
|
|
1319
|
+
.text-white {
|
|
1320
|
+
color: var(--color-white);
|
|
1269
1321
|
}
|
|
1270
1322
|
.text-yellow-800 {
|
|
1271
1323
|
color: var(--color-yellow-800);
|
|
@@ -1311,6 +1363,10 @@
|
|
|
1311
1363
|
--tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
1312
1364
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
1313
1365
|
}
|
|
1366
|
+
.shadow-sm {
|
|
1367
|
+
--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
1368
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
1369
|
+
}
|
|
1314
1370
|
.filter {
|
|
1315
1371
|
filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
|
|
1316
1372
|
}
|
|
@@ -1351,6 +1407,13 @@
|
|
|
1351
1407
|
}
|
|
1352
1408
|
}
|
|
1353
1409
|
}
|
|
1410
|
+
.hover\:bg-border {
|
|
1411
|
+
&:hover {
|
|
1412
|
+
@media (hover: hover) {
|
|
1413
|
+
background-color: var(--border);
|
|
1414
|
+
}
|
|
1415
|
+
}
|
|
1416
|
+
}
|
|
1354
1417
|
.active\:bg-accent {
|
|
1355
1418
|
&:active {
|
|
1356
1419
|
background-color: var(--accent);
|
|
@@ -12886,6 +12949,46 @@
|
|
|
12886
12949
|
font-size: 18px;
|
|
12887
12950
|
}
|
|
12888
12951
|
}
|
|
12952
|
+
@keyframes ti-rec-pulse {
|
|
12953
|
+
0% {
|
|
12954
|
+
transform: scale(0.62);
|
|
12955
|
+
opacity: 0.7;
|
|
12956
|
+
}
|
|
12957
|
+
100% {
|
|
12958
|
+
transform: scale(1.25);
|
|
12959
|
+
opacity: 0;
|
|
12960
|
+
}
|
|
12961
|
+
}
|
|
12962
|
+
@keyframes ti-rec-blink {
|
|
12963
|
+
0%, 100% {
|
|
12964
|
+
opacity: 1;
|
|
12965
|
+
}
|
|
12966
|
+
50% {
|
|
12967
|
+
opacity: 0.25;
|
|
12968
|
+
}
|
|
12969
|
+
}
|
|
12970
|
+
@keyframes ti-wf {
|
|
12971
|
+
0%, 100% {
|
|
12972
|
+
height: 4px;
|
|
12973
|
+
}
|
|
12974
|
+
50% {
|
|
12975
|
+
height: var(--wfmax);
|
|
12976
|
+
}
|
|
12977
|
+
}
|
|
12978
|
+
@keyframes ti-fade {
|
|
12979
|
+
from {
|
|
12980
|
+
opacity: 0;
|
|
12981
|
+
}
|
|
12982
|
+
}
|
|
12983
|
+
.ti-rec-pulse {
|
|
12984
|
+
animation: ti-rec-pulse 1.8s ease-out infinite;
|
|
12985
|
+
}
|
|
12986
|
+
.ti-rec-blink {
|
|
12987
|
+
animation: ti-rec-blink 1.2s ease-in-out infinite;
|
|
12988
|
+
}
|
|
12989
|
+
.ti-fade {
|
|
12990
|
+
animation: ti-fade 0.25s ease both;
|
|
12991
|
+
}
|
|
12889
12992
|
@property --tw-scale-x {
|
|
12890
12993
|
syntax: "*";
|
|
12891
12994
|
inherits: false;
|
|
@@ -12931,6 +13034,48 @@
|
|
|
12931
13034
|
inherits: false;
|
|
12932
13035
|
initial-value: solid;
|
|
12933
13036
|
}
|
|
13037
|
+
@property --tw-gradient-position {
|
|
13038
|
+
syntax: "*";
|
|
13039
|
+
inherits: false;
|
|
13040
|
+
}
|
|
13041
|
+
@property --tw-gradient-from {
|
|
13042
|
+
syntax: "<color>";
|
|
13043
|
+
inherits: false;
|
|
13044
|
+
initial-value: #0000;
|
|
13045
|
+
}
|
|
13046
|
+
@property --tw-gradient-via {
|
|
13047
|
+
syntax: "<color>";
|
|
13048
|
+
inherits: false;
|
|
13049
|
+
initial-value: #0000;
|
|
13050
|
+
}
|
|
13051
|
+
@property --tw-gradient-to {
|
|
13052
|
+
syntax: "<color>";
|
|
13053
|
+
inherits: false;
|
|
13054
|
+
initial-value: #0000;
|
|
13055
|
+
}
|
|
13056
|
+
@property --tw-gradient-stops {
|
|
13057
|
+
syntax: "*";
|
|
13058
|
+
inherits: false;
|
|
13059
|
+
}
|
|
13060
|
+
@property --tw-gradient-via-stops {
|
|
13061
|
+
syntax: "*";
|
|
13062
|
+
inherits: false;
|
|
13063
|
+
}
|
|
13064
|
+
@property --tw-gradient-from-position {
|
|
13065
|
+
syntax: "<length-percentage>";
|
|
13066
|
+
inherits: false;
|
|
13067
|
+
initial-value: 0%;
|
|
13068
|
+
}
|
|
13069
|
+
@property --tw-gradient-via-position {
|
|
13070
|
+
syntax: "<length-percentage>";
|
|
13071
|
+
inherits: false;
|
|
13072
|
+
initial-value: 50%;
|
|
13073
|
+
}
|
|
13074
|
+
@property --tw-gradient-to-position {
|
|
13075
|
+
syntax: "<length-percentage>";
|
|
13076
|
+
inherits: false;
|
|
13077
|
+
initial-value: 100%;
|
|
13078
|
+
}
|
|
12934
13079
|
@property --tw-leading {
|
|
12935
13080
|
syntax: "*";
|
|
12936
13081
|
inherits: false;
|
|
@@ -13124,48 +13269,6 @@
|
|
|
13124
13269
|
inherits: false;
|
|
13125
13270
|
initial-value: 0;
|
|
13126
13271
|
}
|
|
13127
|
-
@property --tw-gradient-position {
|
|
13128
|
-
syntax: "*";
|
|
13129
|
-
inherits: false;
|
|
13130
|
-
}
|
|
13131
|
-
@property --tw-gradient-from {
|
|
13132
|
-
syntax: "<color>";
|
|
13133
|
-
inherits: false;
|
|
13134
|
-
initial-value: #0000;
|
|
13135
|
-
}
|
|
13136
|
-
@property --tw-gradient-via {
|
|
13137
|
-
syntax: "<color>";
|
|
13138
|
-
inherits: false;
|
|
13139
|
-
initial-value: #0000;
|
|
13140
|
-
}
|
|
13141
|
-
@property --tw-gradient-to {
|
|
13142
|
-
syntax: "<color>";
|
|
13143
|
-
inherits: false;
|
|
13144
|
-
initial-value: #0000;
|
|
13145
|
-
}
|
|
13146
|
-
@property --tw-gradient-stops {
|
|
13147
|
-
syntax: "*";
|
|
13148
|
-
inherits: false;
|
|
13149
|
-
}
|
|
13150
|
-
@property --tw-gradient-via-stops {
|
|
13151
|
-
syntax: "*";
|
|
13152
|
-
inherits: false;
|
|
13153
|
-
}
|
|
13154
|
-
@property --tw-gradient-from-position {
|
|
13155
|
-
syntax: "<length-percentage>";
|
|
13156
|
-
inherits: false;
|
|
13157
|
-
initial-value: 0%;
|
|
13158
|
-
}
|
|
13159
|
-
@property --tw-gradient-via-position {
|
|
13160
|
-
syntax: "<length-percentage>";
|
|
13161
|
-
inherits: false;
|
|
13162
|
-
initial-value: 50%;
|
|
13163
|
-
}
|
|
13164
|
-
@property --tw-gradient-to-position {
|
|
13165
|
-
syntax: "<length-percentage>";
|
|
13166
|
-
inherits: false;
|
|
13167
|
-
initial-value: 100%;
|
|
13168
|
-
}
|
|
13169
13272
|
@property --tw-backdrop-blur {
|
|
13170
13273
|
syntax: "*";
|
|
13171
13274
|
inherits: false;
|
|
@@ -13275,6 +13378,15 @@
|
|
|
13275
13378
|
--tw-skew-y: initial;
|
|
13276
13379
|
--tw-space-y-reverse: 0;
|
|
13277
13380
|
--tw-border-style: solid;
|
|
13381
|
+
--tw-gradient-position: initial;
|
|
13382
|
+
--tw-gradient-from: #0000;
|
|
13383
|
+
--tw-gradient-via: #0000;
|
|
13384
|
+
--tw-gradient-to: #0000;
|
|
13385
|
+
--tw-gradient-stops: initial;
|
|
13386
|
+
--tw-gradient-via-stops: initial;
|
|
13387
|
+
--tw-gradient-from-position: 0%;
|
|
13388
|
+
--tw-gradient-via-position: 50%;
|
|
13389
|
+
--tw-gradient-to-position: 100%;
|
|
13278
13390
|
--tw-leading: initial;
|
|
13279
13391
|
--tw-font-weight: initial;
|
|
13280
13392
|
--tw-tracking: initial;
|
|
@@ -13336,15 +13448,6 @@
|
|
|
13336
13448
|
--tw-outline-style: solid;
|
|
13337
13449
|
--tw-border-spacing-x: 0;
|
|
13338
13450
|
--tw-border-spacing-y: 0;
|
|
13339
|
-
--tw-gradient-position: initial;
|
|
13340
|
-
--tw-gradient-from: #0000;
|
|
13341
|
-
--tw-gradient-via: #0000;
|
|
13342
|
-
--tw-gradient-to: #0000;
|
|
13343
|
-
--tw-gradient-stops: initial;
|
|
13344
|
-
--tw-gradient-via-stops: initial;
|
|
13345
|
-
--tw-gradient-from-position: 0%;
|
|
13346
|
-
--tw-gradient-via-position: 50%;
|
|
13347
|
-
--tw-gradient-to-position: 100%;
|
|
13348
13451
|
--tw-backdrop-blur: initial;
|
|
13349
13452
|
--tw-backdrop-brightness: initial;
|
|
13350
13453
|
--tw-backdrop-contrast: initial;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lindaui/tokens",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Brand design tokens (OKLCH light/dark) + HeroUI v3 + Tailwind v4 compiled into a single CSS bundle.",
|
|
5
5
|
"author": "Franco Carballar <francocarballar@gmail.com>",
|
|
6
6
|
"license": "MIT",
|