@whatsaaaa/design-system 0.4.0 → 0.6.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/README.md +18 -18
- package/assets/manifest.json +12 -0
- package/assets/whatsaaaa/ghost-on-dark.svg +1 -0
- package/assets/whatsaaaa/ghost-on-light.svg +1 -0
- package/dist/css/base.css +14 -0
- package/dist/css/code.css +18 -0
- package/dist/css/ghost.css +27 -0
- package/dist/css/icons.css +1 -0
- package/dist/css/pairs.css +57 -0
- package/dist/css/segmented.css +71 -0
- package/dist/ghost/bubble.d.ts +2 -2
- package/dist/ghost/bubble.js +18 -10
- package/dist/ghost/index.d.ts +8 -2
- package/dist/ghost/index.js +50 -10
- package/dist/ghost/svg.d.ts +4 -0
- package/dist/ghost/svg.js +9 -0
- package/dist/index.css +211 -0
- package/dist/shiki/index.d.ts +19 -0
- package/dist/shiki/index.js +25 -0
- package/dist/tailwind/theme.css +206 -0
- package/dist/tailwind/variants.css +43 -0
- package/dist/tailwind.css +42 -0
- package/dist/tokens.css +42 -0
- package/dist/tokens.d.ts +7 -0
- package/dist/tokens.js +14 -0
- package/docs/usage.md +171 -32
- package/package.json +11 -1
- package/src/vitepress/styles/vars.css +2 -2
- package/tokens/contrast.json +18 -0
- package/tokens/core.tokens.json +53 -0
- package/tokens/theme-dark.tokens.json +16 -0
- package/tokens/theme-light.tokens.json +16 -0
package/dist/index.css
CHANGED
|
@@ -154,11 +154,14 @@
|
|
|
154
154
|
--ws-radius-sm: 4px;
|
|
155
155
|
--ws-radius-xl: 12px;
|
|
156
156
|
--ws-radius-xs: 3px;
|
|
157
|
+
--ws-size-check: 1.25rem;
|
|
157
158
|
--ws-size-content: 50rem;
|
|
159
|
+
--ws-size-control: 2.5rem;
|
|
158
160
|
--ws-size-frame: 90rem;
|
|
159
161
|
--ws-size-outline: 15rem;
|
|
160
162
|
--ws-size-sidebar: 17rem;
|
|
161
163
|
--ws-size-status-line: 2rem;
|
|
164
|
+
--ws-size-step: 1.5rem;
|
|
162
165
|
--ws-size-tab-bar: 3rem;
|
|
163
166
|
--ws-space-2: .125rem;
|
|
164
167
|
--ws-space-4: .25rem;
|
|
@@ -278,6 +281,18 @@
|
|
|
278
281
|
--ws-text-overline-font-weight: 700;
|
|
279
282
|
--ws-text-overline-letter-spacing: .06875rem;
|
|
280
283
|
--ws-text-overline-line-height: 1.5;
|
|
284
|
+
--ws-text-tagline: var(--ws-text-tagline-font-weight) var(--ws-text-tagline-font-size)/var(--ws-text-tagline-line-height) var(--ws-text-tagline-font-family);
|
|
285
|
+
--ws-text-tagline-compact: var(--ws-text-tagline-compact-font-weight) var(--ws-text-tagline-compact-font-size)/var(--ws-text-tagline-compact-line-height) var(--ws-text-tagline-compact-font-family);
|
|
286
|
+
--ws-text-tagline-compact-font-family: var(--ws-font-family-sans);
|
|
287
|
+
--ws-text-tagline-compact-font-size: 1.125rem;
|
|
288
|
+
--ws-text-tagline-compact-font-weight: 500;
|
|
289
|
+
--ws-text-tagline-compact-letter-spacing: 0rem;
|
|
290
|
+
--ws-text-tagline-compact-line-height: 1.5;
|
|
291
|
+
--ws-text-tagline-font-family: var(--ws-font-family-sans);
|
|
292
|
+
--ws-text-tagline-font-size: 1.25rem;
|
|
293
|
+
--ws-text-tagline-font-weight: 500;
|
|
294
|
+
--ws-text-tagline-letter-spacing: 0rem;
|
|
295
|
+
--ws-text-tagline-line-height: 1.5;
|
|
281
296
|
}
|
|
282
297
|
|
|
283
298
|
:root, [data-theme="dark"], .dark:where(:not([data-theme], .light)) {
|
|
@@ -294,6 +309,8 @@
|
|
|
294
309
|
--ws-color-danger-tint: #eb6f9217;
|
|
295
310
|
--ws-color-field-border: var(--ws-palette-main-muted);
|
|
296
311
|
--ws-color-interactive: var(--ws-palette-main-foam);
|
|
312
|
+
--ws-color-interactive-active: #bcf0f9;
|
|
313
|
+
--ws-color-interactive-hover: #acdfe8;
|
|
297
314
|
--ws-color-note: var(--ws-palette-main-iris);
|
|
298
315
|
--ws-color-note-text: var(--ws-palette-main-iris);
|
|
299
316
|
--ws-color-note-tint: #c4a7e717;
|
|
@@ -329,6 +346,8 @@
|
|
|
329
346
|
--ws-color-danger-tint: #b4637a17;
|
|
330
347
|
--ws-color-field-border: var(--ws-palette-dawn-subtle);
|
|
331
348
|
--ws-color-interactive: var(--ws-palette-dawn-pine);
|
|
349
|
+
--ws-color-interactive-active: #004d65;
|
|
350
|
+
--ws-color-interactive-hover: #165b74;
|
|
332
351
|
--ws-color-note: var(--ws-palette-dawn-iris);
|
|
333
352
|
--ws-color-note-text: var(--ws-palette-dawn-text);
|
|
334
353
|
--ws-color-note-tint: #907aa917;
|
|
@@ -365,6 +384,8 @@
|
|
|
365
384
|
--ws-color-danger-tint: #b4637a17;
|
|
366
385
|
--ws-color-field-border: var(--ws-palette-dawn-subtle);
|
|
367
386
|
--ws-color-interactive: var(--ws-palette-dawn-pine);
|
|
387
|
+
--ws-color-interactive-active: #004d65;
|
|
388
|
+
--ws-color-interactive-hover: #165b74;
|
|
368
389
|
--ws-color-note: var(--ws-palette-dawn-iris);
|
|
369
390
|
--ws-color-note-text: var(--ws-palette-dawn-text);
|
|
370
391
|
--ws-color-note-tint: #907aa917;
|
|
@@ -392,6 +413,7 @@
|
|
|
392
413
|
--ws-icon-tip: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 1.8a4.3 4.3 0 0 0-2.3 7.9v1.5h4.6V9.7A4.3 4.3 0 0 0 8 1.8ZM6.4 13.6h3.2'/%3E%3C/svg%3E");
|
|
393
414
|
--ws-icon-warning: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2.2 14.2 13H1.8ZM8 6.6v3M8 11.3v.2'/%3E%3C/svg%3E");
|
|
394
415
|
--ws-icon-danger: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.4 1.8h5.2l3.6 3.6v5.2l-3.6 3.6H5.4l-3.6-3.6V5.4ZM8 5v3.6M8 10.9v.2'/%3E%3C/svg%3E");
|
|
416
|
+
--ws-icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5 6.5 12 13 4.5'/%3E%3C/svg%3E");
|
|
395
417
|
--ws-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 14' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 2 8 7 2 12'/%3E%3C/svg%3E");
|
|
396
418
|
--ws-icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9 9 3M4.25 3H9v4.75'/%3E%3C/svg%3E");
|
|
397
419
|
}
|
|
@@ -436,6 +458,20 @@ code, kbd, samp, pre {
|
|
|
436
458
|
font-variant-ligatures: none;
|
|
437
459
|
}
|
|
438
460
|
|
|
461
|
+
input[type="number"] {
|
|
462
|
+
appearance: textfield;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
input[type="number"]::-webkit-inner-spin-button {
|
|
466
|
+
appearance: none;
|
|
467
|
+
margin: 0;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
input[type="number"]::-webkit-outer-spin-button {
|
|
471
|
+
appearance: none;
|
|
472
|
+
margin: 0;
|
|
473
|
+
}
|
|
474
|
+
|
|
439
475
|
:focus-visible {
|
|
440
476
|
border-radius: var(--ws-radius-sm);
|
|
441
477
|
outline: var(--ws-border-width-medium) solid var(--ws-color-interactive);
|
|
@@ -804,6 +840,24 @@ code, kbd, samp, pre {
|
|
|
804
840
|
overflow-x: auto;
|
|
805
841
|
}
|
|
806
842
|
|
|
843
|
+
.ws-code--wrap {
|
|
844
|
+
--ws-code-hang: 0;
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
.ws-code--wrap > pre {
|
|
848
|
+
white-space: pre-wrap;
|
|
849
|
+
overflow-wrap: anywhere;
|
|
850
|
+
overflow-x: visible;
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
.ws-code--wrap .line {
|
|
854
|
+
box-sizing: border-box;
|
|
855
|
+
width: 100%;
|
|
856
|
+
text-indent: calc(var(--ws-code-hang) * -1ch);
|
|
857
|
+
padding-inline-start: calc(var(--ws-code-hang) * 1ch);
|
|
858
|
+
display: inline-block;
|
|
859
|
+
}
|
|
860
|
+
|
|
807
861
|
.ws-code code {
|
|
808
862
|
font: inherit;
|
|
809
863
|
}
|
|
@@ -884,6 +938,136 @@ code, kbd, samp, pre {
|
|
|
884
938
|
margin: 0;
|
|
885
939
|
}
|
|
886
940
|
|
|
941
|
+
.ws-segmented {
|
|
942
|
+
max-width: 100%;
|
|
943
|
+
display: inline-flex;
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
.ws-segmented > button {
|
|
947
|
+
min-width: 0;
|
|
948
|
+
min-height: var(--ws-size-control);
|
|
949
|
+
padding: 0 var(--ws-space-16);
|
|
950
|
+
border: var(--ws-border-width-thin) solid var(--ws-color-field-border);
|
|
951
|
+
color: var(--ws-color-text-secondary);
|
|
952
|
+
font: var(--ws-text-label);
|
|
953
|
+
cursor: pointer;
|
|
954
|
+
background: none;
|
|
955
|
+
border-radius: 0;
|
|
956
|
+
margin: 0;
|
|
957
|
+
position: relative;
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
.ws-segmented > button:first-child {
|
|
961
|
+
border-start-start-radius: var(--ws-radius-md);
|
|
962
|
+
border-end-start-radius: var(--ws-radius-md);
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
.ws-segmented > button:last-child {
|
|
966
|
+
border-start-end-radius: var(--ws-radius-md);
|
|
967
|
+
border-end-end-radius: var(--ws-radius-md);
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
.ws-segmented > button + button {
|
|
971
|
+
margin-inline-start: calc(-1 * var(--ws-border-width-thin));
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
.ws-segmented > button:hover {
|
|
975
|
+
z-index: 1;
|
|
976
|
+
border-color: var(--ws-color-text-secondary);
|
|
977
|
+
background: var(--ws-color-raised);
|
|
978
|
+
color: var(--ws-color-text);
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
.ws-segmented > button[aria-pressed="true"] {
|
|
982
|
+
z-index: 2;
|
|
983
|
+
border-color: var(--ws-color-interactive);
|
|
984
|
+
background: var(--ws-color-raised);
|
|
985
|
+
box-shadow: inset 0 0 0 var(--ws-border-width-thin) var(--ws-color-interactive);
|
|
986
|
+
color: var(--ws-color-text);
|
|
987
|
+
cursor: default;
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
.ws-segmented > button:focus-visible {
|
|
991
|
+
z-index: 3;
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
.ws-segmented > button:disabled {
|
|
995
|
+
z-index: 0;
|
|
996
|
+
border-color: var(--ws-color-text-faint);
|
|
997
|
+
color: var(--ws-color-text-faint);
|
|
998
|
+
cursor: not-allowed;
|
|
999
|
+
background: none;
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
@media (forced-colors: active) {
|
|
1003
|
+
.ws-segmented > button[aria-pressed="true"] {
|
|
1004
|
+
box-shadow: none;
|
|
1005
|
+
color: highlighttext;
|
|
1006
|
+
forced-color-adjust: none;
|
|
1007
|
+
background: highlight;
|
|
1008
|
+
border-color: highlight;
|
|
1009
|
+
outline-color: highlight;
|
|
1010
|
+
}
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
.ws-pairs {
|
|
1014
|
+
column-gap: var(--ws-space-16);
|
|
1015
|
+
border-bottom: var(--ws-border-width-thin) dashed var(--ws-color-border);
|
|
1016
|
+
grid-template-columns: fit-content(40%) minmax(0, 1fr);
|
|
1017
|
+
margin: 0;
|
|
1018
|
+
display: grid;
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
.ws-pairs > div {
|
|
1022
|
+
grid-column: 1 / -1;
|
|
1023
|
+
grid-template-columns: inherit;
|
|
1024
|
+
column-gap: inherit;
|
|
1025
|
+
padding-block: var(--ws-space-8);
|
|
1026
|
+
border-top: var(--ws-border-width-thin) dashed var(--ws-color-border);
|
|
1027
|
+
align-items: baseline;
|
|
1028
|
+
display: grid;
|
|
1029
|
+
}
|
|
1030
|
+
|
|
1031
|
+
@supports (grid-template-columns: subgrid) {
|
|
1032
|
+
.ws-pairs > div {
|
|
1033
|
+
grid-template-columns: subgrid;
|
|
1034
|
+
}
|
|
1035
|
+
}
|
|
1036
|
+
|
|
1037
|
+
.ws-pairs dt {
|
|
1038
|
+
color: var(--ws-color-text-secondary);
|
|
1039
|
+
font: var(--ws-text-label);
|
|
1040
|
+
overflow-wrap: anywhere;
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
.ws-pairs dd {
|
|
1044
|
+
color: var(--ws-color-text);
|
|
1045
|
+
font-family: var(--ws-font-family-sans);
|
|
1046
|
+
font-size: var(--ws-font-size-16);
|
|
1047
|
+
line-height: var(--ws-font-line-height-normal);
|
|
1048
|
+
overflow-wrap: anywhere;
|
|
1049
|
+
margin: 0;
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
.ws-pairs--amounts {
|
|
1053
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
.ws-pairs--amounts dd {
|
|
1057
|
+
font-variant-numeric: tabular-nums;
|
|
1058
|
+
text-align: end;
|
|
1059
|
+
white-space: nowrap;
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
.ws-pairs > .ws-pairs__total {
|
|
1063
|
+
border-top-style: solid;
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
.ws-pairs__total :is(dt, dd) {
|
|
1067
|
+
color: var(--ws-color-text);
|
|
1068
|
+
font-weight: var(--ws-font-weight-semibold);
|
|
1069
|
+
}
|
|
1070
|
+
|
|
887
1071
|
:is(.ws-theme-dark, .ws-status-line__item--dark):where(:is([data-theme="light"], .light:where(:not([data-theme], .dark))), :is([data-theme="light"], .light:where(:not([data-theme], .dark))) *):not(:is([data-theme="light"], .light:where(:not([data-theme], .dark))) :is([data-theme="dark"], .dark:where(:not([data-theme], .light))), :is([data-theme="light"], .light:where(:not([data-theme], .dark))) :is([data-theme="dark"], .dark:where(:not([data-theme], .light))) *), :is(.ws-theme-dark, .ws-status-line__item--dark):where(:is([data-theme="light"], .light:where(:not([data-theme], .dark))) :is([data-theme="dark"], .dark:where(:not([data-theme], .light))) :is([data-theme="light"], .light:where(:not([data-theme], .dark))), :is([data-theme="light"], .light:where(:not([data-theme], .dark))) :is([data-theme="dark"], .dark:where(:not([data-theme], .light))) :is([data-theme="light"], .light:where(:not([data-theme], .dark))) *):not(:is([data-theme="light"], .light:where(:not([data-theme], .dark))) :is([data-theme="dark"], .dark:where(:not([data-theme], .light))) :is([data-theme="light"], .light:where(:not([data-theme], .dark))) :is([data-theme="dark"], .dark:where(:not([data-theme], .light))), :is([data-theme="light"], .light:where(:not([data-theme], .dark))) :is([data-theme="dark"], .dark:where(:not([data-theme], .light))) :is([data-theme="light"], .light:where(:not([data-theme], .dark))) :is([data-theme="dark"], .dark:where(:not([data-theme], .light))) *), :is(.ws-theme-light, .ws-status-line__item--light):where(:is([data-theme="dark"], .dark:where(:not([data-theme], .light))), :is([data-theme="dark"], .dark:where(:not([data-theme], .light))) *):not(:is([data-theme="dark"], .dark:where(:not([data-theme], .light))) :is([data-theme="light"], .light:where(:not([data-theme], .dark))), :is([data-theme="dark"], .dark:where(:not([data-theme], .light))) :is([data-theme="light"], .light:where(:not([data-theme], .dark))) *), :is(.ws-theme-light, .ws-status-line__item--light):where(:is([data-theme="dark"], .dark:where(:not([data-theme], .light))) :is([data-theme="light"], .light:where(:not([data-theme], .dark))) :is([data-theme="dark"], .dark:where(:not([data-theme], .light))), :is([data-theme="dark"], .dark:where(:not([data-theme], .light))) :is([data-theme="light"], .light:where(:not([data-theme], .dark))) :is([data-theme="dark"], .dark:where(:not([data-theme], .light))) *):not(:is([data-theme="dark"], .dark:where(:not([data-theme], .light))) :is([data-theme="light"], .light:where(:not([data-theme], .dark))) :is([data-theme="dark"], .dark:where(:not([data-theme], .light))) :is([data-theme="light"], .light:where(:not([data-theme], .dark))), :is([data-theme="dark"], .dark:where(:not([data-theme], .light))) :is([data-theme="light"], .light:where(:not([data-theme], .dark))) :is([data-theme="dark"], .dark:where(:not([data-theme], .light))) :is([data-theme="light"], .light:where(:not([data-theme], .dark))) *) {
|
|
888
1072
|
display: none !important;
|
|
889
1073
|
}
|
|
@@ -1374,6 +1558,33 @@ ws-ghost {
|
|
|
1374
1558
|
display: block;
|
|
1375
1559
|
}
|
|
1376
1560
|
|
|
1561
|
+
@media (width < 64rem) {
|
|
1562
|
+
ws-ghost[compact-px="1"] .ws-ghost__sprite {
|
|
1563
|
+
width: 10px;
|
|
1564
|
+
height: 12px;
|
|
1565
|
+
}
|
|
1566
|
+
|
|
1567
|
+
ws-ghost[compact-px="2"] .ws-ghost__sprite {
|
|
1568
|
+
width: 20px;
|
|
1569
|
+
height: 24px;
|
|
1570
|
+
}
|
|
1571
|
+
|
|
1572
|
+
ws-ghost[compact-px="3"] .ws-ghost__sprite {
|
|
1573
|
+
width: 30px;
|
|
1574
|
+
height: 36px;
|
|
1575
|
+
}
|
|
1576
|
+
|
|
1577
|
+
ws-ghost[compact-px="4"] .ws-ghost__sprite {
|
|
1578
|
+
width: 40px;
|
|
1579
|
+
height: 48px;
|
|
1580
|
+
}
|
|
1581
|
+
|
|
1582
|
+
ws-ghost[compact-px="5"] .ws-ghost__sprite {
|
|
1583
|
+
width: 50px;
|
|
1584
|
+
height: 60px;
|
|
1585
|
+
}
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1377
1588
|
.ws-ghost__body {
|
|
1378
1589
|
fill: currentColor;
|
|
1379
1590
|
}
|
package/dist/shiki/index.d.ts
CHANGED
|
@@ -18,3 +18,22 @@ export declare const codeTheme: {
|
|
|
18
18
|
};
|
|
19
19
|
}[];
|
|
20
20
|
};
|
|
21
|
+
/** The part of a Shiki line element the transformer writes to. */
|
|
22
|
+
interface LineElement {
|
|
23
|
+
properties: Record<string, unknown>;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* A Shiki transformer for a code block that wraps, `ws-code--wrap`: it gives each line its
|
|
27
|
+
* hanging indent, `--ws-code-hang`, the width of its indent plus two, a tab counted as two as
|
|
28
|
+
* the block sets it. The rest of a wrapped line then starts one level in from the line's own
|
|
29
|
+
* text, so the shape of the code still reads.
|
|
30
|
+
*
|
|
31
|
+
* codeToHtml(code, { lang: 'json', theme: codeTheme, transformers: [hangingIndent()] })
|
|
32
|
+
*/
|
|
33
|
+
export declare function hangingIndent(): {
|
|
34
|
+
name: string;
|
|
35
|
+
line(this: {
|
|
36
|
+
source: string;
|
|
37
|
+
}, node: LineElement, line: number): void;
|
|
38
|
+
};
|
|
39
|
+
export {};
|
package/dist/shiki/index.js
CHANGED
|
@@ -62,3 +62,28 @@ export const codeTheme = {
|
|
|
62
62
|
rule(['markup.deleted'], hex('syntax.keyword')),
|
|
63
63
|
],
|
|
64
64
|
};
|
|
65
|
+
/**
|
|
66
|
+
* A Shiki transformer for a code block that wraps, `ws-code--wrap`: it gives each line its
|
|
67
|
+
* hanging indent, `--ws-code-hang`, the width of its indent plus two, a tab counted as two as
|
|
68
|
+
* the block sets it. The rest of a wrapped line then starts one level in from the line's own
|
|
69
|
+
* text, so the shape of the code still reads.
|
|
70
|
+
*
|
|
71
|
+
* codeToHtml(code, { lang: 'json', theme: codeTheme, transformers: [hangingIndent()] })
|
|
72
|
+
*/
|
|
73
|
+
export function hangingIndent() {
|
|
74
|
+
let source = '';
|
|
75
|
+
let lines = [];
|
|
76
|
+
return {
|
|
77
|
+
name: 'whatsaaaa:hanging-indent',
|
|
78
|
+
line(node, line) {
|
|
79
|
+
if (this.source !== source) {
|
|
80
|
+
source = this.source;
|
|
81
|
+
lines = source.split(/\r?\n/);
|
|
82
|
+
}
|
|
83
|
+
const indent = /^[\t ]*/.exec(lines[line - 1] ?? '')[0];
|
|
84
|
+
const hang = indent.replaceAll('\t', ' ').length + 2;
|
|
85
|
+
const style = node.properties.style;
|
|
86
|
+
node.properties.style = `${typeof style === 'string' && style ? `${style.replace(/;?$/, ';')}` : ''}--ws-code-hang:${hang}`;
|
|
87
|
+
},
|
|
88
|
+
};
|
|
89
|
+
}
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The tokens as Tailwind's theme, for tailwind.css. Written by the token build from the tokens,
|
|
3
|
+
* so every token of a group mapped here is here. Left out:
|
|
4
|
+
*
|
|
5
|
+
* palette a palette color never colors interface
|
|
6
|
+
* code code blocks are dark in both themes and read their own variables
|
|
7
|
+
* syntax code blocks are dark in both themes and read their own variables
|
|
8
|
+
* mark the colors of the ghost are its own
|
|
9
|
+
* font.size text takes a text style, not a size
|
|
10
|
+
* motion.duration Tailwind's duration-* takes milliseconds, and transitions take the fast one
|
|
11
|
+
*
|
|
12
|
+
* Inline: a utility reads the token itself, where it is used. So bg-surface follows the theme
|
|
13
|
+
* of the part of the page it is in, as the tokens do.
|
|
14
|
+
*/
|
|
15
|
+
@theme inline {
|
|
16
|
+
/*
|
|
17
|
+
* Colors are the roles and nothing else: Tailwind's palette is taken out, as the system
|
|
18
|
+
* never colors interface with a palette color. The token --ws-color-<role> is the color
|
|
19
|
+
* <role>: bg-surface, text-text-secondary, border-field-border, bg-danger-tint.
|
|
20
|
+
*/
|
|
21
|
+
--color-*: initial;
|
|
22
|
+
--color-bg: var(--ws-color-bg);
|
|
23
|
+
--color-border: var(--ws-color-border);
|
|
24
|
+
--color-border-strong: var(--ws-color-border-strong);
|
|
25
|
+
--color-brand: var(--ws-color-brand);
|
|
26
|
+
--color-brand-fill: var(--ws-color-brand-fill);
|
|
27
|
+
--color-danger: var(--ws-color-danger);
|
|
28
|
+
--color-danger-text: var(--ws-color-danger-text);
|
|
29
|
+
--color-danger-tint: var(--ws-color-danger-tint);
|
|
30
|
+
--color-field-border: var(--ws-color-field-border);
|
|
31
|
+
--color-interactive: var(--ws-color-interactive);
|
|
32
|
+
--color-interactive-active: var(--ws-color-interactive-active);
|
|
33
|
+
--color-interactive-hover: var(--ws-color-interactive-hover);
|
|
34
|
+
--color-note: var(--ws-color-note);
|
|
35
|
+
--color-note-text: var(--ws-color-note-text);
|
|
36
|
+
--color-note-tint: var(--ws-color-note-tint);
|
|
37
|
+
--color-on-brand: var(--ws-color-on-brand);
|
|
38
|
+
--color-on-interactive: var(--ws-color-on-interactive);
|
|
39
|
+
--color-raised: var(--ws-color-raised);
|
|
40
|
+
--color-selection: var(--ws-color-selection);
|
|
41
|
+
--color-surface: var(--ws-color-surface);
|
|
42
|
+
--color-tag-bg: var(--ws-color-tag-bg);
|
|
43
|
+
--color-tag-text: var(--ws-color-tag-text);
|
|
44
|
+
--color-text: var(--ws-color-text);
|
|
45
|
+
--color-text-faint: var(--ws-color-text-faint);
|
|
46
|
+
--color-text-secondary: var(--ws-color-text-secondary);
|
|
47
|
+
--color-tip: var(--ws-color-tip);
|
|
48
|
+
--color-tip-text: var(--ws-color-tip-text);
|
|
49
|
+
--color-tip-tint: var(--ws-color-tip-tint);
|
|
50
|
+
--color-warning: var(--ws-color-warning);
|
|
51
|
+
--color-warning-text: var(--ws-color-warning-text);
|
|
52
|
+
--color-warning-tint: var(--ws-color-warning-tint);
|
|
53
|
+
|
|
54
|
+
/* The two families, and no others: font-mono and font-sans. */
|
|
55
|
+
--font-*: initial;
|
|
56
|
+
--font-mono: var(--ws-font-family-mono);
|
|
57
|
+
--font-sans: var(--ws-font-family-sans);
|
|
58
|
+
|
|
59
|
+
/*
|
|
60
|
+
* The text styles, as font sizes that bring their line height, letter spacing and weight:
|
|
61
|
+
* text-h1, text-body-sm. A style's family does not come with it, so set it with font-mono or
|
|
62
|
+
* font-sans, as the style says, and text-overline with uppercase. Tailwind's own sizes stay
|
|
63
|
+
* for code that expects them.
|
|
64
|
+
*/
|
|
65
|
+
--text-body: var(--ws-text-body-font-size);
|
|
66
|
+
--text-body--line-height: var(--ws-text-body-line-height);
|
|
67
|
+
--text-body--letter-spacing: var(--ws-text-body-letter-spacing);
|
|
68
|
+
--text-body--font-weight: var(--ws-text-body-font-weight);
|
|
69
|
+
--text-body-sm: var(--ws-text-body-sm-font-size);
|
|
70
|
+
--text-body-sm--line-height: var(--ws-text-body-sm-line-height);
|
|
71
|
+
--text-body-sm--letter-spacing: var(--ws-text-body-sm-letter-spacing);
|
|
72
|
+
--text-body-sm--font-weight: var(--ws-text-body-sm-font-weight);
|
|
73
|
+
--text-caption: var(--ws-text-caption-font-size);
|
|
74
|
+
--text-caption--line-height: var(--ws-text-caption-line-height);
|
|
75
|
+
--text-caption--letter-spacing: var(--ws-text-caption-letter-spacing);
|
|
76
|
+
--text-caption--font-weight: var(--ws-text-caption-font-weight);
|
|
77
|
+
--text-code: var(--ws-text-code-font-size);
|
|
78
|
+
--text-code--line-height: var(--ws-text-code-line-height);
|
|
79
|
+
--text-code--letter-spacing: var(--ws-text-code-letter-spacing);
|
|
80
|
+
--text-code--font-weight: var(--ws-text-code-font-weight);
|
|
81
|
+
--text-display: var(--ws-text-display-font-size);
|
|
82
|
+
--text-display--line-height: var(--ws-text-display-line-height);
|
|
83
|
+
--text-display--letter-spacing: var(--ws-text-display-letter-spacing);
|
|
84
|
+
--text-display--font-weight: var(--ws-text-display-font-weight);
|
|
85
|
+
--text-display-compact: var(--ws-text-display-compact-font-size);
|
|
86
|
+
--text-display-compact--line-height: var(--ws-text-display-compact-line-height);
|
|
87
|
+
--text-display-compact--letter-spacing: var(--ws-text-display-compact-letter-spacing);
|
|
88
|
+
--text-display-compact--font-weight: var(--ws-text-display-compact-font-weight);
|
|
89
|
+
--text-h1: var(--ws-text-h1-font-size);
|
|
90
|
+
--text-h1--line-height: var(--ws-text-h1-line-height);
|
|
91
|
+
--text-h1--letter-spacing: var(--ws-text-h1-letter-spacing);
|
|
92
|
+
--text-h1--font-weight: var(--ws-text-h1-font-weight);
|
|
93
|
+
--text-h1-compact: var(--ws-text-h1-compact-font-size);
|
|
94
|
+
--text-h1-compact--line-height: var(--ws-text-h1-compact-line-height);
|
|
95
|
+
--text-h1-compact--letter-spacing: var(--ws-text-h1-compact-letter-spacing);
|
|
96
|
+
--text-h1-compact--font-weight: var(--ws-text-h1-compact-font-weight);
|
|
97
|
+
--text-h2: var(--ws-text-h2-font-size);
|
|
98
|
+
--text-h2--line-height: var(--ws-text-h2-line-height);
|
|
99
|
+
--text-h2--letter-spacing: var(--ws-text-h2-letter-spacing);
|
|
100
|
+
--text-h2--font-weight: var(--ws-text-h2-font-weight);
|
|
101
|
+
--text-h2-compact: var(--ws-text-h2-compact-font-size);
|
|
102
|
+
--text-h2-compact--line-height: var(--ws-text-h2-compact-line-height);
|
|
103
|
+
--text-h2-compact--letter-spacing: var(--ws-text-h2-compact-letter-spacing);
|
|
104
|
+
--text-h2-compact--font-weight: var(--ws-text-h2-compact-font-weight);
|
|
105
|
+
--text-h3: var(--ws-text-h3-font-size);
|
|
106
|
+
--text-h3--line-height: var(--ws-text-h3-line-height);
|
|
107
|
+
--text-h3--letter-spacing: var(--ws-text-h3-letter-spacing);
|
|
108
|
+
--text-h3--font-weight: var(--ws-text-h3-font-weight);
|
|
109
|
+
--text-h4: var(--ws-text-h4-font-size);
|
|
110
|
+
--text-h4--line-height: var(--ws-text-h4-line-height);
|
|
111
|
+
--text-h4--letter-spacing: var(--ws-text-h4-letter-spacing);
|
|
112
|
+
--text-h4--font-weight: var(--ws-text-h4-font-weight);
|
|
113
|
+
--text-label: var(--ws-text-label-font-size);
|
|
114
|
+
--text-label--line-height: var(--ws-text-label-line-height);
|
|
115
|
+
--text-label--letter-spacing: var(--ws-text-label-letter-spacing);
|
|
116
|
+
--text-label--font-weight: var(--ws-text-label-font-weight);
|
|
117
|
+
--text-label-sm: var(--ws-text-label-sm-font-size);
|
|
118
|
+
--text-label-sm--line-height: var(--ws-text-label-sm-line-height);
|
|
119
|
+
--text-label-sm--letter-spacing: var(--ws-text-label-sm-letter-spacing);
|
|
120
|
+
--text-label-sm--font-weight: var(--ws-text-label-sm-font-weight);
|
|
121
|
+
--text-lead: var(--ws-text-lead-font-size);
|
|
122
|
+
--text-lead--line-height: var(--ws-text-lead-line-height);
|
|
123
|
+
--text-lead--letter-spacing: var(--ws-text-lead-letter-spacing);
|
|
124
|
+
--text-lead--font-weight: var(--ws-text-lead-font-weight);
|
|
125
|
+
--text-overline: var(--ws-text-overline-font-size);
|
|
126
|
+
--text-overline--line-height: var(--ws-text-overline-line-height);
|
|
127
|
+
--text-overline--letter-spacing: var(--ws-text-overline-letter-spacing);
|
|
128
|
+
--text-overline--font-weight: var(--ws-text-overline-font-weight);
|
|
129
|
+
--text-tagline: var(--ws-text-tagline-font-size);
|
|
130
|
+
--text-tagline--line-height: var(--ws-text-tagline-line-height);
|
|
131
|
+
--text-tagline--letter-spacing: var(--ws-text-tagline-letter-spacing);
|
|
132
|
+
--text-tagline--font-weight: var(--ws-text-tagline-font-weight);
|
|
133
|
+
--text-tagline-compact: var(--ws-text-tagline-compact-font-size);
|
|
134
|
+
--text-tagline-compact--line-height: var(--ws-text-tagline-compact-line-height);
|
|
135
|
+
--text-tagline-compact--letter-spacing: var(--ws-text-tagline-compact-letter-spacing);
|
|
136
|
+
--text-tagline-compact--font-weight: var(--ws-text-tagline-compact-font-weight);
|
|
137
|
+
|
|
138
|
+
/* The line heights and weights under Tailwind's names: leading-normal, font-semibold. */
|
|
139
|
+
--leading-*: initial;
|
|
140
|
+
--leading-loose: var(--ws-font-line-height-loose);
|
|
141
|
+
--leading-none: var(--ws-font-line-height-none);
|
|
142
|
+
--leading-normal: var(--ws-font-line-height-normal);
|
|
143
|
+
--leading-relaxed: var(--ws-font-line-height-relaxed);
|
|
144
|
+
--leading-snug: var(--ws-font-line-height-snug);
|
|
145
|
+
--leading-tight: var(--ws-font-line-height-tight);
|
|
146
|
+
--font-weight-*: initial;
|
|
147
|
+
--font-weight-bold: var(--ws-font-weight-bold);
|
|
148
|
+
--font-weight-extrabold: var(--ws-font-weight-extrabold);
|
|
149
|
+
--font-weight-medium: var(--ws-font-weight-medium);
|
|
150
|
+
--font-weight-normal: var(--ws-font-weight-regular);
|
|
151
|
+
--font-weight-semibold: var(--ws-font-weight-semibold);
|
|
152
|
+
|
|
153
|
+
/*
|
|
154
|
+
* Space: every --ws-space-<px> is on Tailwind's scale, four pixels to a step, so p-4 is
|
|
155
|
+
* --ws-space-16 and gap-2.5 is --ws-space-10. The sizes are named steps of the same
|
|
156
|
+
* scale, for any width, height, padding or gap: h-tab-bar, max-w-content.
|
|
157
|
+
*/
|
|
158
|
+
--spacing: var(--ws-space-4);
|
|
159
|
+
--spacing-check: var(--ws-size-check);
|
|
160
|
+
--spacing-content: var(--ws-size-content);
|
|
161
|
+
--spacing-control: var(--ws-size-control);
|
|
162
|
+
--spacing-frame: var(--ws-size-frame);
|
|
163
|
+
--spacing-outline: var(--ws-size-outline);
|
|
164
|
+
--spacing-sidebar: var(--ws-size-sidebar);
|
|
165
|
+
--spacing-status-line: var(--ws-size-status-line);
|
|
166
|
+
--spacing-step: var(--ws-size-step);
|
|
167
|
+
--spacing-tab-bar: var(--ws-size-tab-bar);
|
|
168
|
+
|
|
169
|
+
/* The radii by their names: rounded-md is --ws-radius-md. rounded-full is Tailwind's own. */
|
|
170
|
+
--radius-*: initial;
|
|
171
|
+
--radius-lg: var(--ws-radius-lg);
|
|
172
|
+
--radius-md: var(--ws-radius-md);
|
|
173
|
+
--radius-sm: var(--ws-radius-sm);
|
|
174
|
+
--radius-xl: var(--ws-radius-xl);
|
|
175
|
+
--radius-xs: var(--ws-radius-xs);
|
|
176
|
+
|
|
177
|
+
/*
|
|
178
|
+
* Borders, not shadows. The widths by their names, border-thin and border-b-medium,
|
|
179
|
+
* next to Tailwind's border-2, and no shadow utilities.
|
|
180
|
+
*/
|
|
181
|
+
--border-width-medium: var(--ws-border-width-medium);
|
|
182
|
+
--border-width-thick: var(--ws-border-width-thick);
|
|
183
|
+
--border-width-thin: var(--ws-border-width-thin);
|
|
184
|
+
--shadow-*: initial;
|
|
185
|
+
--inset-shadow-*: initial;
|
|
186
|
+
--drop-shadow-*: initial;
|
|
187
|
+
--text-shadow-*: initial;
|
|
188
|
+
|
|
189
|
+
/*
|
|
190
|
+
* Motion. ease-standard is most movement, and Tailwind's ease-in-out is it too.
|
|
191
|
+
* Transitions take the fast duration. Movement still goes in motion-safe:, which is
|
|
192
|
+
* prefers-reduced-motion: no-preference.
|
|
193
|
+
*/
|
|
194
|
+
--ease-*: initial;
|
|
195
|
+
--ease-in: var(--ws-motion-easing-in);
|
|
196
|
+
--ease-out: var(--ws-motion-easing-out);
|
|
197
|
+
--ease-standard: var(--ws-motion-easing-standard);
|
|
198
|
+
--ease-in-out: var(--ws-motion-easing-standard);
|
|
199
|
+
--default-transition-duration: var(--ws-motion-duration-fast);
|
|
200
|
+
--default-transition-timing-function: var(--ws-motion-easing-standard);
|
|
201
|
+
|
|
202
|
+
/*
|
|
203
|
+
* The one breakpoint is Tailwind's lg, 64rem: max-lg: is the system's compact width,
|
|
204
|
+
* width < 64rem. The other breakpoints stay for code that expects them.
|
|
205
|
+
*/
|
|
206
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* dark: and light: follow the theme as the tokens do. The theme of an element is the nearest
|
|
3
|
+
* choice around it, made with data-theme="dark" or "light" or with a dark or light class, on
|
|
4
|
+
* <html> or on any element around a part of the page. On one element data-theme wins over the
|
|
5
|
+
* class, and both classes together choose nothing. With no choice around it the system decides:
|
|
6
|
+
* dark, unless it asks for light.
|
|
7
|
+
*
|
|
8
|
+
* Written by the token build from the selectors the tokens use, scripts/lib/theme-selectors.ts.
|
|
9
|
+
* Like the rules of ws-theme-dark and ws-theme-light, they follow a choice on <html> and three
|
|
10
|
+
* parts held in a theme, one inside the other.
|
|
11
|
+
*
|
|
12
|
+
* tailwind.css brings them. A library that defines its own dark: or light: after it, as Nuxt UI
|
|
13
|
+
* does, replaces them: import this file again after the library.
|
|
14
|
+
*/
|
|
15
|
+
@custom-variant dark {
|
|
16
|
+
&:where(
|
|
17
|
+
:where(:is([data-theme='dark'], .dark:where(:not([data-theme], .light))), :is([data-theme='dark'], .dark:where(:not([data-theme], .light))) *):not(:is([data-theme='dark'], .dark:where(:not([data-theme], .light))) :is([data-theme='light'], .light:where(:not([data-theme], .dark))), :is([data-theme='dark'], .dark:where(:not([data-theme], .light))) :is([data-theme='light'], .light:where(:not([data-theme], .dark))) *),
|
|
18
|
+
:where(:is([data-theme='dark'], .dark:where(:not([data-theme], .light))) :is([data-theme='light'], .light:where(:not([data-theme], .dark))) :is([data-theme='dark'], .dark:where(:not([data-theme], .light))), :is([data-theme='dark'], .dark:where(:not([data-theme], .light))) :is([data-theme='light'], .light:where(:not([data-theme], .dark))) :is([data-theme='dark'], .dark:where(:not([data-theme], .light))) *):not(:is([data-theme='dark'], .dark:where(:not([data-theme], .light))) :is([data-theme='light'], .light:where(:not([data-theme], .dark))) :is([data-theme='dark'], .dark:where(:not([data-theme], .light))) :is([data-theme='light'], .light:where(:not([data-theme], .dark))), :is([data-theme='dark'], .dark:where(:not([data-theme], .light))) :is([data-theme='light'], .light:where(:not([data-theme], .dark))) :is([data-theme='dark'], .dark:where(:not([data-theme], .light))) :is([data-theme='light'], .light:where(:not([data-theme], .dark))) *)
|
|
19
|
+
) {
|
|
20
|
+
@slot;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@media not (prefers-color-scheme: light) {
|
|
24
|
+
&:where(:not([data-theme], .dark:where(:not(.light)), .light:where(:not(.dark)), :is([data-theme], .dark:where(:not(.light)), .light:where(:not(.dark))) *)) {
|
|
25
|
+
@slot;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@custom-variant light {
|
|
31
|
+
&:where(
|
|
32
|
+
:where(:is([data-theme='light'], .light:where(:not([data-theme], .dark))), :is([data-theme='light'], .light:where(:not([data-theme], .dark))) *):not(:is([data-theme='light'], .light:where(:not([data-theme], .dark))) :is([data-theme='dark'], .dark:where(:not([data-theme], .light))), :is([data-theme='light'], .light:where(:not([data-theme], .dark))) :is([data-theme='dark'], .dark:where(:not([data-theme], .light))) *),
|
|
33
|
+
:where(:is([data-theme='light'], .light:where(:not([data-theme], .dark))) :is([data-theme='dark'], .dark:where(:not([data-theme], .light))) :is([data-theme='light'], .light:where(:not([data-theme], .dark))), :is([data-theme='light'], .light:where(:not([data-theme], .dark))) :is([data-theme='dark'], .dark:where(:not([data-theme], .light))) :is([data-theme='light'], .light:where(:not([data-theme], .dark))) *):not(:is([data-theme='light'], .light:where(:not([data-theme], .dark))) :is([data-theme='dark'], .dark:where(:not([data-theme], .light))) :is([data-theme='light'], .light:where(:not([data-theme], .dark))) :is([data-theme='dark'], .dark:where(:not([data-theme], .light))), :is([data-theme='light'], .light:where(:not([data-theme], .dark))) :is([data-theme='dark'], .dark:where(:not([data-theme], .light))) :is([data-theme='light'], .light:where(:not([data-theme], .dark))) :is([data-theme='dark'], .dark:where(:not([data-theme], .light))) *)
|
|
34
|
+
) {
|
|
35
|
+
@slot;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@media (prefers-color-scheme: light) {
|
|
39
|
+
&:where(:not([data-theme], .dark:where(:not(.light)), .light:where(:not(.dark)), :is([data-theme], .dark:where(:not(.light)), .light:where(:not(.dark))) *)) {
|
|
40
|
+
@slot;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The design system for Tailwind CSS v4. Import it instead of tailwindcss, as the first import of
|
|
3
|
+
* the app's stylesheet, and instead of index.css:
|
|
4
|
+
*
|
|
5
|
+
* @import '@whatsaaaa/design-system/tailwind.css';
|
|
6
|
+
*
|
|
7
|
+
* It brings Tailwind and everything index.css brings, in cascade layers, gives Tailwind the
|
|
8
|
+
* system's tokens as its theme, and brings the dark: and light: variants of tailwind/variants.css.
|
|
9
|
+
* Written by the CSS build from the imports of index.css.
|
|
10
|
+
*
|
|
11
|
+
* The layers, in the order they win:
|
|
12
|
+
*
|
|
13
|
+
* theme Tailwind's theme variables, then the tokens and the icons
|
|
14
|
+
* base Tailwind's preflight, then the system's base.css: its page defaults, focus
|
|
15
|
+
* ring and selection win over the preflight, and every utility wins over both
|
|
16
|
+
* components the rest of index.css, the system's classes: ws-prose, the terminal frame
|
|
17
|
+
* and every other piece
|
|
18
|
+
* utilities Tailwind's utilities
|
|
19
|
+
*
|
|
20
|
+
* CSS outside any layer wins over all of them. The fonts are @font-face rules, which no layer
|
|
21
|
+
* orders.
|
|
22
|
+
*/
|
|
23
|
+
@layer theme, base, components, utilities;
|
|
24
|
+
|
|
25
|
+
/* Within a layer the later wins: Tailwind's theme and preflight come before the system's. */
|
|
26
|
+
@import 'tailwindcss/theme.css' layer(theme);
|
|
27
|
+
@import 'tailwindcss/preflight.css' layer(base);
|
|
28
|
+
@import './fonts.css';
|
|
29
|
+
@import './tokens.css' layer(theme);
|
|
30
|
+
@import './css/icons.css' layer(theme);
|
|
31
|
+
@import './css/base.css' layer(base);
|
|
32
|
+
@import './css/theme.css' layer(components);
|
|
33
|
+
@import './css/prose.css' layer(components);
|
|
34
|
+
@import './css/code.css' layer(components);
|
|
35
|
+
@import './css/callout.css' layer(components);
|
|
36
|
+
@import './css/segmented.css' layer(components);
|
|
37
|
+
@import './css/pairs.css' layer(components);
|
|
38
|
+
@import './css/terminal.css' layer(components);
|
|
39
|
+
@import './css/ghost.css' layer(components);
|
|
40
|
+
@import 'tailwindcss/utilities.css' layer(utilities);
|
|
41
|
+
@import './tailwind/theme.css';
|
|
42
|
+
@import './tailwind/variants.css';
|