@prolibu-suite/cobalt-tokens 0.4.0 → 0.4.1
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.
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
--co-semantic-surface-secondary: var(--co-color-gray-800);
|
|
8
8
|
--co-semantic-surface-page: var(--co-color-gray-800);
|
|
9
9
|
--co-semantic-surface-muted: var(--co-color-gray-600);
|
|
10
|
-
--co-semantic-surface-hover: var(--co-color-opacity-blanco-
|
|
10
|
+
--co-semantic-surface-hover: var(--co-color-opacity-blanco-8);
|
|
11
11
|
--co-semantic-surface-disabled: var(--co-color-gray-700);
|
|
12
12
|
--co-semantic-on-primary: var(--co-color-base-negro);
|
|
13
13
|
--co-semantic-on-secondary: var(--co-color-base-blanco);
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
[data-theme="light"] {
|
|
6
|
+
--co-semantic-surface-primary: var(--co-color-base-negro);
|
|
7
|
+
--co-semantic-surface-secondary: var(--co-color-base-blanco);
|
|
8
|
+
--co-semantic-surface-page: var(--co-color-base-blanco);
|
|
9
|
+
--co-semantic-surface-muted: var(--co-color-gray-200);
|
|
10
|
+
--co-semantic-surface-hover: var(--co-color-opacity-negro-8);
|
|
11
|
+
--co-semantic-surface-disabled: var(--co-color-gray-100);
|
|
12
|
+
--co-semantic-on-primary: var(--co-color-base-blanco);
|
|
13
|
+
--co-semantic-on-secondary: var(--co-color-base-negro);
|
|
14
|
+
--co-semantic-text-default: var(--co-color-base-negro);
|
|
15
|
+
--co-semantic-text-inverse: var(--co-color-base-blanco);
|
|
16
|
+
--co-semantic-text-secondary: var(--co-color-gray-600);
|
|
17
|
+
--co-semantic-text-muted: var(--co-color-gray-500);
|
|
18
|
+
--co-semantic-text-disabled: var(--co-color-gray-400);
|
|
19
|
+
--co-semantic-border-default: var(--co-color-opacity-negro-16);
|
|
20
|
+
--co-semantic-border-subtle: var(--co-color-opacity-negro-8);
|
|
21
|
+
--co-semantic-border-strong: var(--co-color-opacity-negro-50);
|
|
22
|
+
--co-semantic-border-field: var(--co-color-opacity-negro-25);
|
|
23
|
+
--co-semantic-border-focus: var(--co-color-opacity-negro-50);
|
|
24
|
+
--co-semantic-border-focus-ring: var(--co-color-opacity-negro-8);
|
|
25
|
+
--co-semantic-control-thumb: var(--co-color-base-blanco);
|
|
26
|
+
--co-semantic-control-shadow: var(--co-color-opacity-negro-16);
|
|
27
|
+
--co-semantic-status-success: var(--co-color-status-success);
|
|
28
|
+
--co-semantic-status-error: var(--co-color-status-error);
|
|
29
|
+
--co-semantic-status-warning: var(--co-color-primary-amarillo);
|
|
30
|
+
--co-semantic-status-info: var(--co-color-status-progress);
|
|
31
|
+
}
|
package/build/css/tokens.css
CHANGED
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
--co-semantic-surface-secondary: var(--co-color-base-blanco);
|
|
214
214
|
--co-semantic-surface-page: var(--co-color-base-blanco);
|
|
215
215
|
--co-semantic-surface-muted: var(--co-color-gray-200);
|
|
216
|
-
--co-semantic-surface-hover: var(--co-color-opacity-negro-
|
|
216
|
+
--co-semantic-surface-hover: var(--co-color-opacity-negro-8);
|
|
217
217
|
--co-semantic-surface-disabled: var(--co-color-gray-100);
|
|
218
218
|
--co-semantic-on-primary: var(--co-color-base-blanco);
|
|
219
219
|
--co-semantic-on-secondary: var(--co-color-base-negro);
|
package/build/js/tokens.mjs
CHANGED
|
@@ -144,7 +144,7 @@ export const SemanticSurfacePrimary = "#1f1c1b";
|
|
|
144
144
|
export const SemanticSurfaceSecondary = "#ffffff";
|
|
145
145
|
export const SemanticSurfacePage = "#ffffff";
|
|
146
146
|
export const SemanticSurfaceMuted = "#e3e3e3";
|
|
147
|
-
export const SemanticSurfaceHover = "rgba(31, 28, 27, 0.
|
|
147
|
+
export const SemanticSurfaceHover = "rgba(31, 28, 27, 0.08)";
|
|
148
148
|
export const SemanticSurfaceDisabled = "#f6f6f6";
|
|
149
149
|
export const SemanticOnPrimary = "#ffffff";
|
|
150
150
|
export const SemanticOnSecondary = "#1f1c1b";
|
package/build/scss/_tokens.scss
CHANGED
|
@@ -143,7 +143,7 @@ $co-semantic-surface-primary: #1f1c1b;
|
|
|
143
143
|
$co-semantic-surface-secondary: #ffffff;
|
|
144
144
|
$co-semantic-surface-page: #ffffff;
|
|
145
145
|
$co-semantic-surface-muted: #e3e3e3;
|
|
146
|
-
$co-semantic-surface-hover: rgba(31, 28, 27, 0.
|
|
146
|
+
$co-semantic-surface-hover: rgba(31, 28, 27, 0.08);
|
|
147
147
|
$co-semantic-surface-disabled: #f6f6f6;
|
|
148
148
|
$co-semantic-on-primary: #ffffff;
|
|
149
149
|
$co-semantic-on-secondary: #1f1c1b;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prolibu-suite/cobalt-tokens",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Cobalt Design System Tokens — CSS, SCSS, JS/TS",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
},
|
|
11
11
|
"./css": "./build/css/tokens.css",
|
|
12
12
|
"./css/dark": "./build/css/tokens-dark.css",
|
|
13
|
+
"./css/light": "./build/css/tokens-light.css",
|
|
13
14
|
"./css/motion-reduced": "./build/css/tokens-motion-reduced.css",
|
|
14
15
|
"./scss": "./build/scss/_tokens.scss"
|
|
15
16
|
},
|
|
@@ -33,7 +34,7 @@
|
|
|
33
34
|
"access": "public"
|
|
34
35
|
},
|
|
35
36
|
"scripts": {
|
|
36
|
-
"build": "style-dictionary build --config config.js && node config.dark.js && node config.motion.js",
|
|
37
|
+
"build": "style-dictionary build --config config.js && node config.dark.js && node config.light.js && node config.motion.js",
|
|
37
38
|
"dev": "style-dictionary build --config config.js --watch",
|
|
38
39
|
"clean": "rm -rf build"
|
|
39
40
|
}
|