@stasho/ds 0.3.0 → 0.4.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/package.json
CHANGED
|
@@ -106,6 +106,7 @@ const buttonVariants = cva(
|
|
|
106
106
|
xs: "py-[6px] px-3 text-[11px] gap-1.5",
|
|
107
107
|
sm: "py-[7px] px-3.5 text-xs gap-[7px]",
|
|
108
108
|
md: "py-[9px] px-[18px] text-[13px] gap-2",
|
|
109
|
+
lg: "py-[13px] px-6 text-[15px] gap-2.5",
|
|
109
110
|
},
|
|
110
111
|
},
|
|
111
112
|
compoundVariants: [
|
|
@@ -113,6 +114,7 @@ const buttonVariants = cva(
|
|
|
113
114
|
{ variant: "outline", size: "xs", class: "py-[5px] px-[11px]" },
|
|
114
115
|
{ variant: "outline", size: "sm", class: "py-[6px] px-[13px]" },
|
|
115
116
|
{ variant: "outline", size: "md", class: "py-[8px] px-[17px]" },
|
|
117
|
+
{ variant: "outline", size: "lg", class: "py-[12px] px-[23px]" },
|
|
116
118
|
],
|
|
117
119
|
defaultVariants: {
|
|
118
120
|
variant: "primary",
|
|
@@ -129,6 +131,7 @@ const ledSizeClass: Record<Size, string> = {
|
|
|
129
131
|
xs: "size-1",
|
|
130
132
|
sm: "size-[5px]",
|
|
131
133
|
md: "size-1.5",
|
|
134
|
+
lg: "size-2",
|
|
132
135
|
};
|
|
133
136
|
|
|
134
137
|
// Icon dimensions per size (used for both iconLeft wrapper and iconRight wrapper).
|
|
@@ -136,6 +139,7 @@ const iconSizeClass: Record<Size, string> = {
|
|
|
136
139
|
xs: "size-[11px]",
|
|
137
140
|
sm: "size-3",
|
|
138
141
|
md: "size-[13px]",
|
|
142
|
+
lg: "size-4",
|
|
139
143
|
};
|
|
140
144
|
|
|
141
145
|
// LED color + static glow per variant.
|
package/src/styles/tokens.css
CHANGED
|
@@ -178,10 +178,10 @@
|
|
|
178
178
|
|
|
179
179
|
--muted: var(--color-base-800);
|
|
180
180
|
--muted-foreground: oklch(0.62 0.012 273);
|
|
181
|
-
--surface:
|
|
181
|
+
--surface: oklch(0.18 0.005 273);
|
|
182
182
|
--surface-foreground: #f3f3f3;
|
|
183
|
-
--edge: rgba(255, 255, 255, 0.
|
|
184
|
-
--edge-hover: rgba(255, 255, 255, 0.
|
|
183
|
+
--edge: rgba(255, 255, 255, 0.16);
|
|
184
|
+
--edge-hover: rgba(255, 255, 255, 0.24);
|
|
185
185
|
--popover-bg: var(--surface);
|
|
186
186
|
--popover-border: var(--edge);
|
|
187
187
|
|