@tide-design/foundation 0.16.0 → 0.18.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/dist/cli.js CHANGED
@@ -364,6 +364,10 @@ const commonBackground = {
364
364
  light: "white",
365
365
  dark: "gray-900"
366
366
  },
367
+ inset: {
368
+ light: "gray-50",
369
+ dark: "gray-900"
370
+ },
367
371
  disabled: {
368
372
  light: "gray-100",
369
373
  dark: "gray-900"
@@ -656,6 +660,11 @@ const contrastPairs = [
656
660
  "subtle-active"
657
661
  ].map((state) => `bg-neutral-${state}`), 4.5),
658
662
  ...pairs(["text-default"], ["bg-neutral-subtle-hover"], 4),
663
+ ...pairs([
664
+ "text-default",
665
+ "text-muted",
666
+ "text-primary"
667
+ ], ["bg-inset"], 4.5),
659
668
  ...roles.flatMap((role) => pairs([`text-${role}`], [...surfaces, `bg-${role}-subtle`], 4.5)),
660
669
  ...roles.flatMap((role) => pairs([`text-${role}-on-subtle`], onSubtleRest.map((state) => `bg-${role}-${state}`), 4.5)),
661
670
  ...roles.flatMap((role) => pairs([`text-${role}-on-subtle`], subtleTransient.map((state) => `bg-${role}-${state}`), 4)),
@@ -678,6 +687,7 @@ const contrastPairs = [
678
687
  ...roles.map((role) => `border-${role}`),
679
688
  "outline-focus"
680
689
  ], surfaces, 3),
690
+ ...pairs(["border-primary"], ["bg-inset"], 3),
681
691
  ...roles.flatMap((role) => pairs([`border-${role}`], [`bg-${role}-subtle`, `bg-${role}-subtle-active`], 3)),
682
692
  ...roles.flatMap((role) => pairs([`text-${role}`], [`bg-${role}-subtle-active`], 3))
683
693
  ];
package/dist/contrast.js CHANGED
@@ -39,6 +39,11 @@ const contrastPairs = [
39
39
  "subtle-active"
40
40
  ].map((state) => `bg-neutral-${state}`), 4.5),
41
41
  ...pairs(["text-default"], ["bg-neutral-subtle-hover"], 4),
42
+ ...pairs([
43
+ "text-default",
44
+ "text-muted",
45
+ "text-primary"
46
+ ], ["bg-inset"], 4.5),
42
47
  ...roles.flatMap((role) => pairs([`text-${role}`], [...surfaces, `bg-${role}-subtle`], 4.5)),
43
48
  ...roles.flatMap((role) => pairs([`text-${role}-on-subtle`], onSubtleRest.map((state) => `bg-${role}-${state}`), 4.5)),
44
49
  ...roles.flatMap((role) => pairs([`text-${role}-on-subtle`], subtleTransient.map((state) => `bg-${role}-${state}`), 4)),
@@ -61,6 +66,7 @@ const contrastPairs = [
61
66
  ...roles.map((role) => `border-${role}`),
62
67
  "outline-focus"
63
68
  ], surfaces, 3),
69
+ ...pairs(["border-primary"], ["bg-inset"], 3),
64
70
  ...roles.flatMap((role) => pairs([`border-${role}`], [`bg-${role}-subtle`, `bg-${role}-subtle-active`], 3)),
65
71
  ...roles.flatMap((role) => pairs([`text-${role}`], [`bg-${role}-subtle-active`], 3))
66
72
  ];
@@ -128,6 +128,10 @@ declare const commonBackground: {
128
128
  readonly light: "white";
129
129
  readonly dark: "gray-900";
130
130
  };
131
+ readonly inset: {
132
+ readonly light: "gray-50";
133
+ readonly dark: "gray-900";
134
+ };
131
135
  readonly disabled: {
132
136
  readonly light: "gray-100";
133
137
  readonly dark: "gray-900";
package/dist/semantic.js CHANGED
@@ -79,6 +79,10 @@ const commonBackground = {
79
79
  light: "white",
80
80
  dark: "gray-900"
81
81
  },
82
+ inset: {
83
+ light: "gray-50",
84
+ dark: "gray-900"
85
+ },
82
86
  disabled: {
83
87
  light: "gray-100",
84
88
  dark: "gray-900"
@@ -154,6 +154,7 @@ export const tailwindMergeConfig = {
154
154
  "canvas",
155
155
  "surface",
156
156
  "raised",
157
+ "inset",
157
158
  "disabled",
158
159
  "overlay",
159
160
  "hover",
package/dist/tailwind.css CHANGED
@@ -107,6 +107,7 @@
107
107
  --background-color-canvas: var(--tide-bg-canvas);
108
108
  --background-color-surface: var(--tide-bg-surface);
109
109
  --background-color-raised: var(--tide-bg-raised);
110
+ --background-color-inset: var(--tide-bg-inset);
110
111
  --background-color-disabled: var(--tide-bg-disabled);
111
112
  --background-color-overlay: var(--tide-bg-overlay);
112
113
  --background-color-hover: var(--tide-bg-hover);
package/dist/tokens.css CHANGED
@@ -268,6 +268,7 @@
268
268
  --tide-bg-canvas: var(--tide-color-white);
269
269
  --tide-bg-surface: var(--tide-color-white);
270
270
  --tide-bg-raised: var(--tide-color-white);
271
+ --tide-bg-inset: var(--tide-color-gray-50);
271
272
  --tide-bg-disabled: var(--tide-color-gray-100);
272
273
  --tide-bg-overlay: #28292c80;
273
274
  --tide-bg-hover: #28292c0a;
@@ -462,6 +463,7 @@
462
463
  --tide-bg-canvas: var(--tide-color-gray-950);
463
464
  --tide-bg-surface: var(--tide-color-gray-950);
464
465
  --tide-bg-raised: var(--tide-color-gray-900);
466
+ --tide-bg-inset: var(--tide-color-gray-900);
465
467
  --tide-bg-disabled: var(--tide-color-gray-900);
466
468
  --tide-bg-overlay: #28292cb3;
467
469
  --tide-bg-hover: #ffffff0f;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tide-design/foundation",
3
- "version": "0.16.0",
3
+ "version": "0.18.0",
4
4
  "description": "Tide 디자인 시스템의 Token과 CSS",
5
5
  "keywords": [
6
6
  "color",