@lindaui/tokens 0.1.0 → 0.2.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/dist/index.css +180 -98
  2. 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,14 +232,20 @@
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
  }
238
- .top-1\/2 {
239
- top: calc(1 / 2 * 100%);
244
+ .inset-x-0 {
245
+ inset-inline: 0;
246
+ }
247
+ .top-0 {
248
+ top: 0;
240
249
  }
241
250
  .top-3 {
242
251
  top: calc(var(--spacing) * 3);
@@ -256,15 +265,9 @@
256
265
  .bottom-4 {
257
266
  bottom: calc(var(--spacing) * 4);
258
267
  }
259
- .left-2\.5 {
260
- left: calc(var(--spacing) * 2.5);
261
- }
262
268
  .left-3 {
263
269
  left: calc(var(--spacing) * 3);
264
270
  }
265
- .left-3\.5 {
266
- left: calc(var(--spacing) * 3.5);
267
- }
268
271
  .left-4 {
269
272
  left: calc(var(--spacing) * 4);
270
273
  }
@@ -370,6 +373,9 @@
370
373
  .inline {
371
374
  display: inline;
372
375
  }
376
+ .inline-block {
377
+ display: inline-block;
378
+ }
373
379
  .inline-flex {
374
380
  display: inline-flex;
375
381
  }
@@ -661,10 +667,6 @@
661
667
  .shrink-0 {
662
668
  flex-shrink: 0;
663
669
  }
664
- .-translate-y-1\/2 {
665
- --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);
666
- translate: var(--tw-translate-x) var(--tw-translate-y);
667
- }
668
670
  .scale-125 {
669
671
  --tw-scale-x: 125%;
670
672
  --tw-scale-y: 125%;
@@ -763,6 +765,9 @@
763
765
  margin-block-end: calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)));
764
766
  }
765
767
  }
768
+ .gap-x-2 {
769
+ column-gap: calc(var(--spacing) * 2);
770
+ }
766
771
  .self-center {
767
772
  align-self: center;
768
773
  }
@@ -846,9 +851,6 @@
846
851
  border-color: color-mix(in oklab, var(--destructive) 35%, transparent);
847
852
  }
848
853
  }
849
- .bg-\[oklch\(0\.16_0\.02_240\)\] {
850
- background-color: oklch(0.16 0.02 240);
851
- }
852
854
  .bg-\[var\(--accent\)\]\/10 {
853
855
  background-color: var(--accent);
854
856
  @supports (color: color-mix(in lab, red, red)) {
@@ -909,6 +911,9 @@
909
911
  background-color: color-mix(in oklab, var(--destructive) 15%, transparent);
910
912
  }
911
913
  }
914
+ .bg-foreground {
915
+ background-color: var(--foreground);
916
+ }
912
917
  .bg-green-100 {
913
918
  background-color: var(--color-green-100);
914
919
  }
@@ -960,6 +965,24 @@
960
965
  .bg-yellow-100 {
961
966
  background-color: var(--color-yellow-100);
962
967
  }
968
+ .bg-linear-to-b {
969
+ --tw-gradient-position: to bottom;
970
+ @supports (background-image: linear-gradient(in lab, red, red)) {
971
+ --tw-gradient-position: to bottom in oklab;
972
+ }
973
+ background-image: linear-gradient(var(--tw-gradient-stops));
974
+ }
975
+ .from-black\/25 {
976
+ --tw-gradient-from: color-mix(in srgb, #000 25%, transparent);
977
+ @supports (color: color-mix(in lab, red, red)) {
978
+ --tw-gradient-from: color-mix(in oklab, var(--color-black) 25%, transparent);
979
+ }
980
+ --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));
981
+ }
982
+ .to-transparent {
983
+ --tw-gradient-to: transparent;
984
+ --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));
985
+ }
963
986
  .fill-foreground {
964
987
  fill: var(--foreground);
965
988
  }
@@ -1059,9 +1082,15 @@
1059
1082
  .pt-4 {
1060
1083
  padding-top: calc(var(--spacing) * 4);
1061
1084
  }
1085
+ .pt-\[max\(0\.75rem\,env\(safe-area-inset-top\)\)\] {
1086
+ padding-top: max(0.75rem, env(safe-area-inset-top));
1087
+ }
1062
1088
  .pt-\[max\(env\(safe-area-inset-top\)\,2rem\)\] {
1063
1089
  padding-top: max(env(safe-area-inset-top), 2rem);
1064
1090
  }
1091
+ .pr-3 {
1092
+ padding-right: calc(var(--spacing) * 3);
1093
+ }
1065
1094
  .pr-8 {
1066
1095
  padding-right: calc(var(--spacing) * 8);
1067
1096
  }
@@ -1074,8 +1103,11 @@
1074
1103
  .pb-4 {
1075
1104
  padding-bottom: calc(var(--spacing) * 4);
1076
1105
  }
1077
- .pl-8 {
1078
- padding-left: calc(var(--spacing) * 8);
1106
+ .pl-2 {
1107
+ padding-left: calc(var(--spacing) * 2);
1108
+ }
1109
+ .pl-\[max\(0\.875rem\,env\(safe-area-inset-left\)\)\] {
1110
+ padding-left: max(0.875rem, env(safe-area-inset-left));
1079
1111
  }
1080
1112
  .text-center {
1081
1113
  text-align: center;
@@ -1184,15 +1216,9 @@
1184
1216
  .text-\[inherit\] {
1185
1217
  color: inherit;
1186
1218
  }
1187
- .text-\[oklch\(0\.9_0\.01_220\)\] {
1188
- color: oklch(0.9 0.01 220);
1189
- }
1190
1219
  .text-\[oklch\(0\.16_0\.02_240\)\] {
1191
1220
  color: oklch(0.16 0.02 240);
1192
1221
  }
1193
- .text-\[oklch\(0\.72_0\.16_18\)\] {
1194
- color: oklch(0.72 0.16 18);
1195
- }
1196
1222
  .text-\[var\(--accent\)\] {
1197
1223
  color: var(--accent);
1198
1224
  }
@@ -1214,6 +1240,9 @@
1214
1240
  .text-\[var\(--warning\)\] {
1215
1241
  color: var(--warning);
1216
1242
  }
1243
+ .text-background {
1244
+ color: var(--background);
1245
+ }
1217
1246
  .text-black {
1218
1247
  color: var(--color-black);
1219
1248
  }
@@ -1268,20 +1297,14 @@
1268
1297
  .text-viewer-foreground {
1269
1298
  color: var(--viewer-foreground);
1270
1299
  }
1271
- .text-white {
1272
- color: var(--color-white);
1273
- }
1274
- .text-white\/65 {
1275
- color: color-mix(in srgb, #fff 65%, transparent);
1300
+ .text-viewer-foreground\/70 {
1301
+ color: var(--viewer-foreground);
1276
1302
  @supports (color: color-mix(in lab, red, red)) {
1277
- color: color-mix(in oklab, var(--color-white) 65%, transparent);
1303
+ color: color-mix(in oklab, var(--viewer-foreground) 70%, transparent);
1278
1304
  }
1279
1305
  }
1280
- .text-white\/70 {
1281
- color: color-mix(in srgb, #fff 70%, transparent);
1282
- @supports (color: color-mix(in lab, red, red)) {
1283
- color: color-mix(in oklab, var(--color-white) 70%, transparent);
1284
- }
1306
+ .text-white {
1307
+ color: var(--color-white);
1285
1308
  }
1286
1309
  .text-yellow-800 {
1287
1310
  color: var(--color-yellow-800);
@@ -1327,6 +1350,10 @@
1327
1350
  --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));
1328
1351
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
1329
1352
  }
1353
+ .shadow-sm {
1354
+ --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));
1355
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
1356
+ }
1330
1357
  .filter {
1331
1358
  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,);
1332
1359
  }
@@ -1367,6 +1394,13 @@
1367
1394
  }
1368
1395
  }
1369
1396
  }
1397
+ .hover\:bg-border {
1398
+ &:hover {
1399
+ @media (hover: hover) {
1400
+ background-color: var(--border);
1401
+ }
1402
+ }
1403
+ }
1370
1404
  .active\:bg-accent {
1371
1405
  &:active {
1372
1406
  background-color: var(--accent);
@@ -12842,6 +12876,14 @@
12842
12876
  --danger-foreground: var(--primary-foreground);
12843
12877
  --separator: var(--border);
12844
12878
  --focus: var(--ring);
12879
+ --field-background: var(--background);
12880
+ --field-foreground: var(--foreground);
12881
+ --field-placeholder: var(--muted-foreground);
12882
+ --field-border: var(--input);
12883
+ --field-border-hover: var(--input);
12884
+ --field-border-focus: var(--ring);
12885
+ --field-focus: var(--ring);
12886
+ --field-radius: var(--radius);
12845
12887
  --accent-soft: var(--primary);
12846
12888
  @supports (color: color-mix(in lab, red, red)) {
12847
12889
  --accent-soft: color-mix(in oklch, var(--primary) 14%, var(--surface));
@@ -12894,20 +12936,45 @@
12894
12936
  font-size: 18px;
12895
12937
  }
12896
12938
  }
12897
- @property --tw-translate-x {
12898
- syntax: "*";
12899
- inherits: false;
12900
- initial-value: 0;
12939
+ @keyframes ti-rec-pulse {
12940
+ 0% {
12941
+ transform: scale(0.62);
12942
+ opacity: 0.7;
12943
+ }
12944
+ 100% {
12945
+ transform: scale(1.25);
12946
+ opacity: 0;
12947
+ }
12901
12948
  }
12902
- @property --tw-translate-y {
12903
- syntax: "*";
12904
- inherits: false;
12905
- initial-value: 0;
12949
+ @keyframes ti-rec-blink {
12950
+ 0%, 100% {
12951
+ opacity: 1;
12952
+ }
12953
+ 50% {
12954
+ opacity: 0.25;
12955
+ }
12906
12956
  }
12907
- @property --tw-translate-z {
12908
- syntax: "*";
12909
- inherits: false;
12910
- initial-value: 0;
12957
+ @keyframes ti-wf {
12958
+ 0%, 100% {
12959
+ height: 4px;
12960
+ }
12961
+ 50% {
12962
+ height: var(--wfmax);
12963
+ }
12964
+ }
12965
+ @keyframes ti-fade {
12966
+ from {
12967
+ opacity: 0;
12968
+ }
12969
+ }
12970
+ .ti-rec-pulse {
12971
+ animation: ti-rec-pulse 1.8s ease-out infinite;
12972
+ }
12973
+ .ti-rec-blink {
12974
+ animation: ti-rec-blink 1.2s ease-in-out infinite;
12975
+ }
12976
+ .ti-fade {
12977
+ animation: ti-fade 0.25s ease both;
12911
12978
  }
12912
12979
  @property --tw-scale-x {
12913
12980
  syntax: "*";
@@ -12954,6 +13021,48 @@
12954
13021
  inherits: false;
12955
13022
  initial-value: solid;
12956
13023
  }
13024
+ @property --tw-gradient-position {
13025
+ syntax: "*";
13026
+ inherits: false;
13027
+ }
13028
+ @property --tw-gradient-from {
13029
+ syntax: "<color>";
13030
+ inherits: false;
13031
+ initial-value: #0000;
13032
+ }
13033
+ @property --tw-gradient-via {
13034
+ syntax: "<color>";
13035
+ inherits: false;
13036
+ initial-value: #0000;
13037
+ }
13038
+ @property --tw-gradient-to {
13039
+ syntax: "<color>";
13040
+ inherits: false;
13041
+ initial-value: #0000;
13042
+ }
13043
+ @property --tw-gradient-stops {
13044
+ syntax: "*";
13045
+ inherits: false;
13046
+ }
13047
+ @property --tw-gradient-via-stops {
13048
+ syntax: "*";
13049
+ inherits: false;
13050
+ }
13051
+ @property --tw-gradient-from-position {
13052
+ syntax: "<length-percentage>";
13053
+ inherits: false;
13054
+ initial-value: 0%;
13055
+ }
13056
+ @property --tw-gradient-via-position {
13057
+ syntax: "<length-percentage>";
13058
+ inherits: false;
13059
+ initial-value: 50%;
13060
+ }
13061
+ @property --tw-gradient-to-position {
13062
+ syntax: "<length-percentage>";
13063
+ inherits: false;
13064
+ initial-value: 100%;
13065
+ }
12957
13066
  @property --tw-leading {
12958
13067
  syntax: "*";
12959
13068
  inherits: false;
@@ -13117,62 +13226,35 @@
13117
13226
  initial-value: "";
13118
13227
  inherits: false;
13119
13228
  }
13120
- @property --tw-outline-style {
13229
+ @property --tw-translate-x {
13121
13230
  syntax: "*";
13122
13231
  inherits: false;
13123
- initial-value: solid;
13124
- }
13125
- @property --tw-border-spacing-x {
13126
- syntax: "<length>";
13127
- inherits: false;
13128
- initial-value: 0;
13129
- }
13130
- @property --tw-border-spacing-y {
13131
- syntax: "<length>";
13132
- inherits: false;
13133
13232
  initial-value: 0;
13134
13233
  }
13135
- @property --tw-gradient-position {
13234
+ @property --tw-translate-y {
13136
13235
  syntax: "*";
13137
13236
  inherits: false;
13237
+ initial-value: 0;
13138
13238
  }
13139
- @property --tw-gradient-from {
13140
- syntax: "<color>";
13141
- inherits: false;
13142
- initial-value: #0000;
13143
- }
13144
- @property --tw-gradient-via {
13145
- syntax: "<color>";
13146
- inherits: false;
13147
- initial-value: #0000;
13148
- }
13149
- @property --tw-gradient-to {
13150
- syntax: "<color>";
13151
- inherits: false;
13152
- initial-value: #0000;
13153
- }
13154
- @property --tw-gradient-stops {
13239
+ @property --tw-translate-z {
13155
13240
  syntax: "*";
13156
13241
  inherits: false;
13242
+ initial-value: 0;
13157
13243
  }
13158
- @property --tw-gradient-via-stops {
13244
+ @property --tw-outline-style {
13159
13245
  syntax: "*";
13160
13246
  inherits: false;
13247
+ initial-value: solid;
13161
13248
  }
13162
- @property --tw-gradient-from-position {
13163
- syntax: "<length-percentage>";
13164
- inherits: false;
13165
- initial-value: 0%;
13166
- }
13167
- @property --tw-gradient-via-position {
13168
- syntax: "<length-percentage>";
13249
+ @property --tw-border-spacing-x {
13250
+ syntax: "<length>";
13169
13251
  inherits: false;
13170
- initial-value: 50%;
13252
+ initial-value: 0;
13171
13253
  }
13172
- @property --tw-gradient-to-position {
13173
- syntax: "<length-percentage>";
13254
+ @property --tw-border-spacing-y {
13255
+ syntax: "<length>";
13174
13256
  inherits: false;
13175
- initial-value: 100%;
13257
+ initial-value: 0;
13176
13258
  }
13177
13259
  @property --tw-backdrop-blur {
13178
13260
  syntax: "*";
@@ -13273,9 +13355,6 @@
13273
13355
  @layer properties {
13274
13356
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
13275
13357
  *, ::before, ::after, ::backdrop {
13276
- --tw-translate-x: 0;
13277
- --tw-translate-y: 0;
13278
- --tw-translate-z: 0;
13279
13358
  --tw-scale-x: 1;
13280
13359
  --tw-scale-y: 1;
13281
13360
  --tw-scale-z: 1;
@@ -13286,6 +13365,15 @@
13286
13365
  --tw-skew-y: initial;
13287
13366
  --tw-space-y-reverse: 0;
13288
13367
  --tw-border-style: solid;
13368
+ --tw-gradient-position: initial;
13369
+ --tw-gradient-from: #0000;
13370
+ --tw-gradient-via: #0000;
13371
+ --tw-gradient-to: #0000;
13372
+ --tw-gradient-stops: initial;
13373
+ --tw-gradient-via-stops: initial;
13374
+ --tw-gradient-from-position: 0%;
13375
+ --tw-gradient-via-position: 50%;
13376
+ --tw-gradient-to-position: 100%;
13289
13377
  --tw-leading: initial;
13290
13378
  --tw-font-weight: initial;
13291
13379
  --tw-tracking: initial;
@@ -13341,18 +13429,12 @@
13341
13429
  --tw-exit-translate-x: 0;
13342
13430
  --tw-exit-translate-y: 0;
13343
13431
  --tw-content: "";
13432
+ --tw-translate-x: 0;
13433
+ --tw-translate-y: 0;
13434
+ --tw-translate-z: 0;
13344
13435
  --tw-outline-style: solid;
13345
13436
  --tw-border-spacing-x: 0;
13346
13437
  --tw-border-spacing-y: 0;
13347
- --tw-gradient-position: initial;
13348
- --tw-gradient-from: #0000;
13349
- --tw-gradient-via: #0000;
13350
- --tw-gradient-to: #0000;
13351
- --tw-gradient-stops: initial;
13352
- --tw-gradient-via-stops: initial;
13353
- --tw-gradient-from-position: 0%;
13354
- --tw-gradient-via-position: 50%;
13355
- --tw-gradient-to-position: 100%;
13356
13438
  --tw-backdrop-blur: initial;
13357
13439
  --tw-backdrop-brightness: initial;
13358
13440
  --tw-backdrop-contrast: initial;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lindaui/tokens",
3
- "version": "0.1.0",
3
+ "version": "0.2.1",
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",