@ibis-design/css 0.4.0 → 0.5.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.
|
@@ -198,6 +198,8 @@
|
|
|
198
198
|
--component-button-primary-default-padding-x: var(--spacing-4);
|
|
199
199
|
--component-button-primary-default-padding-y: var(--spacing-2);
|
|
200
200
|
--component-button-primary-hover-background: var(--color-primary-900);
|
|
201
|
+
--component-button-primary-focused-background: var(--color-primary-900);
|
|
202
|
+
--component-button-primary-focused-border-width: var(--border-width-medium);
|
|
201
203
|
--component-button-primary-disabled-background: var(--color-neutral-200);
|
|
202
204
|
--component-button-primary-disabled-color: var(--color-neutral-300);
|
|
203
205
|
--component-button-primary-disabled-border-color: var(--color-neutral-300);
|
|
@@ -196,6 +196,8 @@ $component-button-primary-default-border-width: $border-width-thin;
|
|
|
196
196
|
$component-button-primary-default-padding-x: $spacing-4;
|
|
197
197
|
$component-button-primary-default-padding-y: $spacing-2;
|
|
198
198
|
$component-button-primary-hover-background: $color-primary-900;
|
|
199
|
+
$component-button-primary-focused-background: $color-primary-900;
|
|
200
|
+
$component-button-primary-focused-border-width: $border-width-medium;
|
|
199
201
|
$component-button-primary-disabled-background: $color-neutral-200;
|
|
200
202
|
$component-button-primary-disabled-color: $color-neutral-300;
|
|
201
203
|
$component-button-primary-disabled-border-color: $color-neutral-300;
|
|
@@ -299,6 +299,10 @@ module.exports = {
|
|
|
299
299
|
background: "var(--component-button-primary-hover-background)",
|
|
300
300
|
borderColor: "var(--component-button-primary-hover-border-color)"
|
|
301
301
|
},
|
|
302
|
+
focused: {
|
|
303
|
+
background: "var(--component-button-primary-focused-background)",
|
|
304
|
+
borderWidth: "var(--component-button-primary-focused-border-width)"
|
|
305
|
+
},
|
|
302
306
|
disabled: {
|
|
303
307
|
background: "var(--component-button-primary-disabled-background)",
|
|
304
308
|
color: "var(--component-button-primary-disabled-color)",
|
package/package.json
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@ibis-design/css",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Design tokens, CSS variables, and Tailwind preset for the IBIS design system.",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"exports": {
|
|
7
|
-
".": "./dist/ibis/ibis-design.css",
|
|
8
|
-
"./ibis-design.css": "./dist/ibis/ibis-design.css",
|
|
9
|
-
"./ibis-design.scss": "./dist/ibis/ibis-design.scss",
|
|
10
|
-
"./alchemy-design.css": "./dist/alchemy/alchemy-design.css",
|
|
11
|
-
"./alchemy-design.scss": "./dist/alchemy/alchemy-design.scss",
|
|
12
|
-
"./tailwind.preset": "./dist/ibis/tailwind.preset.js",
|
|
13
|
-
"./preset": "./dist/ibis/tailwind.preset.js",
|
|
14
|
-
"./ibis/tailwind.preset": "./dist/ibis/tailwind.preset.js",
|
|
15
|
-
"./alchemy/tailwind.preset": "./dist/alchemy/tailwind.preset.js"
|
|
16
|
-
},
|
|
17
|
-
"files": [
|
|
18
|
-
"dist"
|
|
19
|
-
],
|
|
20
|
-
"scripts": {
|
|
21
|
-
"build": "node --experimental-strip-types src/scripts/build.ts",
|
|
22
|
-
"prepublishOnly": "npm run build"
|
|
23
|
-
},
|
|
24
|
-
"devDependencies": {
|
|
25
|
-
"sd-tailwindcss-transformer": "^2.2.1",
|
|
26
|
-
"style-dictionary": "^5.4.0"
|
|
27
|
-
}
|
|
28
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@ibis-design/css",
|
|
3
|
+
"version": "0.5.0",
|
|
4
|
+
"description": "Design tokens, CSS variables, and Tailwind preset for the IBIS design system.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": "./dist/ibis/ibis-design.css",
|
|
8
|
+
"./ibis-design.css": "./dist/ibis/ibis-design.css",
|
|
9
|
+
"./ibis-design.scss": "./dist/ibis/ibis-design.scss",
|
|
10
|
+
"./alchemy-design.css": "./dist/alchemy/alchemy-design.css",
|
|
11
|
+
"./alchemy-design.scss": "./dist/alchemy/alchemy-design.scss",
|
|
12
|
+
"./tailwind.preset": "./dist/ibis/tailwind.preset.js",
|
|
13
|
+
"./preset": "./dist/ibis/tailwind.preset.js",
|
|
14
|
+
"./ibis/tailwind.preset": "./dist/ibis/tailwind.preset.js",
|
|
15
|
+
"./alchemy/tailwind.preset": "./dist/alchemy/tailwind.preset.js"
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"dist"
|
|
19
|
+
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"build": "node --experimental-strip-types src/scripts/build.ts",
|
|
22
|
+
"prepublishOnly": "npm run build"
|
|
23
|
+
},
|
|
24
|
+
"devDependencies": {
|
|
25
|
+
"sd-tailwindcss-transformer": "^2.2.1",
|
|
26
|
+
"style-dictionary": "^5.4.0"
|
|
27
|
+
}
|
|
28
|
+
}
|