@nadicodeai/design-system 12.1.102 → 12.1.104
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/DESIGN.md +459 -342
- package/dist/css/host.css +45 -36
- package/dist/css/index.css +52 -71
- package/dist/css/tokens.css +44 -35
- package/dist/tailwind/nadicode.tailwind.json +10 -6
- package/dist/tokens/nadicode.dtcg-resolved.json +306 -190
- package/dist/tokens/nadicode.dtcg.json +306 -190
- package/package.json +2 -1
package/dist/css/tokens.css
CHANGED
|
@@ -188,10 +188,10 @@
|
|
|
188
188
|
--nc-dark-canvas-soft-2: oklch(0.2178 0.0000 0.00);
|
|
189
189
|
--nc-dark-material-workspace: oklch(0.0000 0.0000 0.00);
|
|
190
190
|
--nc-dark-material-solid: oklch(0.0000 0.0000 0.00);
|
|
191
|
-
--nc-dark-material-resting: oklch(0.
|
|
192
|
-
--nc-dark-material-raised: oklch(0.
|
|
193
|
-
--nc-dark-material-floating: oklch(0.
|
|
194
|
-
--nc-dark-material-modal: oklch(0.
|
|
191
|
+
--nc-dark-material-resting: oklch(0.1543 0.0000 0.00);
|
|
192
|
+
--nc-dark-material-raised: oklch(0.1776 0.0000 0.00);
|
|
193
|
+
--nc-dark-material-floating: oklch(0.1957 0.0000 0.00);
|
|
194
|
+
--nc-dark-material-modal: oklch(0.1957 0.0000 0.00);
|
|
195
195
|
--nc-dark-ink: oklch(0.9461 0.0000 0.00);
|
|
196
196
|
--nc-dark-body: oklch(0.7090 0.0000 0.00);
|
|
197
197
|
--nc-dark-muted: oklch(0.6993 0.0000 0.00);
|
|
@@ -351,10 +351,14 @@
|
|
|
351
351
|
--nc-control-height-lg: 40px;
|
|
352
352
|
--nc-control-height-xs: 24px;
|
|
353
353
|
--nc-control-padding-inline: 12px;
|
|
354
|
+
--nc-button-padding-inline-sm: 6px;
|
|
355
|
+
--nc-button-padding-inline: 10px;
|
|
356
|
+
--nc-button-padding-inline-lg: 14px;
|
|
354
357
|
--nc-card-padding: 20px;
|
|
355
358
|
--nc-touch-target: 44px;
|
|
356
359
|
--nc-rounded-none: 0px;
|
|
357
360
|
--nc-rounded-xs: 2px;
|
|
361
|
+
--nc-rounded-xs-plus: 4px;
|
|
358
362
|
--nc-rounded-sm: 6px;
|
|
359
363
|
--nc-rounded-md: 8px;
|
|
360
364
|
--nc-rounded-lg: 12px;
|
|
@@ -470,7 +474,7 @@
|
|
|
470
474
|
sans-serif;
|
|
471
475
|
--nc-type-button-lg-font-size: 16px;
|
|
472
476
|
--nc-type-button-lg-font-weight: 500;
|
|
473
|
-
--nc-type-button-lg-line-height:
|
|
477
|
+
--nc-type-button-lg-line-height: 24px;
|
|
474
478
|
--nc-type-button-lg-letter-spacing: 0px;
|
|
475
479
|
--nc-type-button-font-family:
|
|
476
480
|
Geist,
|
|
@@ -480,7 +484,7 @@
|
|
|
480
484
|
sans-serif;
|
|
481
485
|
--nc-type-button-font-size: 14px;
|
|
482
486
|
--nc-type-button-font-weight: 500;
|
|
483
|
-
--nc-type-button-line-height:
|
|
487
|
+
--nc-type-button-line-height: 21px;
|
|
484
488
|
--nc-type-button-letter-spacing: 0px;
|
|
485
489
|
--nc-type-button-xs-font-family:
|
|
486
490
|
Geist,
|
|
@@ -660,28 +664,32 @@
|
|
|
660
664
|
--nc-material-glass-opacity: 60%;
|
|
661
665
|
--nc-material-glass-saturation: 180%;
|
|
662
666
|
--nc-material-glass-blur: 20px;
|
|
663
|
-
--nc-material-glass-highlight: inset 0px 1px 0px 0px rgb(100% 100% 100% / 0.18);
|
|
664
667
|
--nc-elevation-resting:
|
|
665
668
|
0px 0px 0px 1px rgb(0% 0% 0% / 0.08),
|
|
666
|
-
0px
|
|
667
|
-
0px
|
|
669
|
+
0px 1px 2px 0px rgb(0% 0% 0% / 0.05),
|
|
670
|
+
0px 2px 8px -2px rgb(0% 0% 0% / 0.06);
|
|
668
671
|
--nc-elevation-raised:
|
|
669
672
|
0px 0px 0px 1px rgb(0% 0% 0% / 0.08),
|
|
670
|
-
0px
|
|
671
|
-
0px
|
|
672
|
-
0px
|
|
673
|
+
0px 1px 2px 0px rgb(0% 0% 0% / 0.06),
|
|
674
|
+
0px 6px 12px -4px rgb(0% 0% 0% / 0.08),
|
|
675
|
+
0px 16px 32px -8px rgb(0% 0% 0% / 0.1);
|
|
673
676
|
--nc-elevation-floating:
|
|
674
677
|
0px 0px 0px 1px rgb(0% 0% 0% / 0.08),
|
|
675
|
-
0px
|
|
676
|
-
0px
|
|
677
|
-
0px
|
|
678
|
-
0px 0px 0px 1px rgb(100% 100% 100%);
|
|
678
|
+
0px 2px 4px 0px rgb(0% 0% 0% / 0.06),
|
|
679
|
+
0px 12px 24px -6px rgb(0% 0% 0% / 0.12),
|
|
680
|
+
0px 32px 64px -16px rgb(0% 0% 0% / 0.16);
|
|
679
681
|
--nc-elevation-modal:
|
|
680
682
|
0px 0px 0px 1px rgb(0% 0% 0% / 0.08),
|
|
681
|
-
0px
|
|
682
|
-
0px
|
|
683
|
-
0px
|
|
684
|
-
|
|
683
|
+
0px 2px 4px 0px rgb(0% 0% 0% / 0.06),
|
|
684
|
+
0px 24px 48px -12px rgb(0% 0% 0% / 0.18),
|
|
685
|
+
0px 64px 128px -32px rgb(0% 0% 0% / 0.26);
|
|
686
|
+
--nc-elevation-glass:
|
|
687
|
+
inset 0px 1px 0px 0px rgb(100% 100% 100% / 0.75),
|
|
688
|
+
inset 0px 0px 0px 1px rgb(100% 100% 100% / 0.35),
|
|
689
|
+
0px 0px 0px 1px rgb(0% 0% 0% / 0.07),
|
|
690
|
+
0px 2px 4px 0px rgb(0% 0% 0% / 0.06),
|
|
691
|
+
0px 12px 24px -6px rgb(0% 0% 0% / 0.12),
|
|
692
|
+
0px 32px 64px -16px rgb(0% 0% 0% / 0.16);
|
|
685
693
|
--nc-duration-control: 100ms;
|
|
686
694
|
--nc-duration-close: 140ms;
|
|
687
695
|
--nc-duration-confirm: 180ms;
|
|
@@ -849,24 +857,25 @@
|
|
|
849
857
|
--nc-category-pink-soft: var(--nc-dark-category-pink-soft);
|
|
850
858
|
--nc-category-pink-deep: var(--nc-dark-category-pink-deep);
|
|
851
859
|
--nc-elevation-resting:
|
|
852
|
-
0px 0px 0px
|
|
853
|
-
0px
|
|
854
|
-
0px
|
|
860
|
+
inset 0px 1px 0px 0px rgb(100% 100% 100% / 0.05),
|
|
861
|
+
0px 0px 0px 1px rgb(100% 100% 100% / 0.08),
|
|
862
|
+
0px 1px 2px 0px rgb(0% 0% 0% / 0.6);
|
|
855
863
|
--nc-elevation-raised:
|
|
856
|
-
0px 0px 0px
|
|
857
|
-
0px
|
|
858
|
-
0px
|
|
859
|
-
0px 0px 0px 1px rgb(0% 0% 0%);
|
|
864
|
+
inset 0px 1px 0px 0px rgb(100% 100% 100% / 0.07),
|
|
865
|
+
0px 0px 0px 1px rgb(100% 100% 100% / 0.1),
|
|
866
|
+
0px 16px 32px -8px rgb(0% 0% 0% / 0.6);
|
|
860
867
|
--nc-elevation-floating:
|
|
861
|
-
0px 0px 0px
|
|
862
|
-
0px
|
|
863
|
-
0px
|
|
864
|
-
0px 0px 0px 1px rgb(0% 0% 0%);
|
|
868
|
+
inset 0px 1px 0px 0px rgb(100% 100% 100% / 0.09),
|
|
869
|
+
0px 0px 0px 1px rgb(100% 100% 100% / 0.12),
|
|
870
|
+
0px 32px 64px -16px rgb(0% 0% 0% / 0.7);
|
|
865
871
|
--nc-elevation-modal:
|
|
866
|
-
0px 0px 0px
|
|
867
|
-
0px
|
|
868
|
-
0px
|
|
869
|
-
|
|
872
|
+
inset 0px 1px 0px 0px rgb(100% 100% 100% / 0.11),
|
|
873
|
+
0px 0px 0px 1px rgb(100% 100% 100% / 0.14),
|
|
874
|
+
0px 64px 128px -32px rgb(0% 0% 0% / 0.8);
|
|
875
|
+
--nc-elevation-glass:
|
|
876
|
+
inset 0px 1px 0px 0px rgb(100% 100% 100% / 0.12),
|
|
877
|
+
0px 0px 0px 1px rgb(100% 100% 100% / 0.12),
|
|
878
|
+
0px 32px 64px -16px rgb(0% 0% 0% / 0.7);
|
|
870
879
|
}
|
|
871
880
|
}
|
|
872
881
|
|
|
@@ -149,10 +149,10 @@
|
|
|
149
149
|
"dark-canvas-soft-2": "#1a1a1a",
|
|
150
150
|
"dark-material-workspace": "#000000",
|
|
151
151
|
"dark-material-solid": "#000000",
|
|
152
|
-
"dark-material-resting": "#
|
|
153
|
-
"dark-material-raised": "#
|
|
154
|
-
"dark-material-floating": "#
|
|
155
|
-
"dark-material-modal": "#
|
|
152
|
+
"dark-material-resting": "#0c0c0c",
|
|
153
|
+
"dark-material-raised": "#111111",
|
|
154
|
+
"dark-material-floating": "#151515",
|
|
155
|
+
"dark-material-modal": "#151515",
|
|
156
156
|
"dark-ink": "#ededed",
|
|
157
157
|
"dark-body": "#a1a1a1",
|
|
158
158
|
"dark-muted": "#9e9e9e",
|
|
@@ -465,7 +465,7 @@
|
|
|
465
465
|
"button-lg": [
|
|
466
466
|
"16px",
|
|
467
467
|
{
|
|
468
|
-
"lineHeight": "
|
|
468
|
+
"lineHeight": "24px",
|
|
469
469
|
"letterSpacing": "0px",
|
|
470
470
|
"fontWeight": "500"
|
|
471
471
|
}
|
|
@@ -473,7 +473,7 @@
|
|
|
473
473
|
"button": [
|
|
474
474
|
"14px",
|
|
475
475
|
{
|
|
476
|
-
"lineHeight": "
|
|
476
|
+
"lineHeight": "21px",
|
|
477
477
|
"letterSpacing": "0px",
|
|
478
478
|
"fontWeight": "500"
|
|
479
479
|
}
|
|
@@ -618,6 +618,7 @@
|
|
|
618
618
|
"borderRadius": {
|
|
619
619
|
"none": "0px",
|
|
620
620
|
"xs": "2px",
|
|
621
|
+
"xs-plus": "4px",
|
|
621
622
|
"sm": "6px",
|
|
622
623
|
"md": "8px",
|
|
623
624
|
"lg": "12px",
|
|
@@ -648,6 +649,9 @@
|
|
|
648
649
|
"control-height-lg": "40px",
|
|
649
650
|
"control-height-xs": "24px",
|
|
650
651
|
"control-padding-inline": "12px",
|
|
652
|
+
"button-padding-inline-sm": "6px",
|
|
653
|
+
"button-padding-inline": "10px",
|
|
654
|
+
"button-padding-inline-lg": "14px",
|
|
651
655
|
"card-padding": "20px",
|
|
652
656
|
"touch-target": "44px"
|
|
653
657
|
}
|