@encore-os/tokens 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.
- package/dist/tokens.css +10 -4
- package/dist/tokens.json +92 -8
- package/dist/tokens.ts +8 -4
- package/package.json +1 -1
package/dist/tokens.css
CHANGED
|
@@ -18,6 +18,8 @@
|
|
|
18
18
|
--color-destructive-foreground: var(--destructive-foreground);
|
|
19
19
|
--color-accent: var(--accent);
|
|
20
20
|
--color-accent-foreground: var(--accent-foreground);
|
|
21
|
+
--color-brand: var(--brand);
|
|
22
|
+
--color-brand-foreground: var(--brand-foreground);
|
|
21
23
|
--color-destructive: var(--destructive);
|
|
22
24
|
--color-success: var(--success);
|
|
23
25
|
--color-warning: var(--warning);
|
|
@@ -61,8 +63,10 @@
|
|
|
61
63
|
--popover-foreground: #0f1624;
|
|
62
64
|
--input: #c8ced8;
|
|
63
65
|
--destructive-foreground: #f9fafb;
|
|
64
|
-
--accent: #
|
|
65
|
-
--accent-foreground: #
|
|
66
|
+
--accent: #c5d2e6;
|
|
67
|
+
--accent-foreground: #0f1624;
|
|
68
|
+
--brand: #0a7db2;
|
|
69
|
+
--brand-foreground: #ffffff;
|
|
66
70
|
--destructive: #d92626;
|
|
67
71
|
--success: #279b57;
|
|
68
72
|
--warning: #e9980c;
|
|
@@ -106,8 +110,10 @@
|
|
|
106
110
|
--popover-foreground: #e6edf6;
|
|
107
111
|
--input: #1d2a42;
|
|
108
112
|
--destructive-foreground: #1a0606;
|
|
109
|
-
--accent: #
|
|
110
|
-
--accent-foreground: #
|
|
113
|
+
--accent: #1d2a42;
|
|
114
|
+
--accent-foreground: #e6edf6;
|
|
115
|
+
--brand: #38bdf8;
|
|
116
|
+
--brand-foreground: #04141f;
|
|
111
117
|
--destructive: #f04848;
|
|
112
118
|
--success: #3ddc84;
|
|
113
119
|
--warning: #f5b133;
|
package/dist/tokens.json
CHANGED
|
@@ -1922,12 +1922,12 @@
|
|
|
1922
1922
|
},
|
|
1923
1923
|
"accent": {
|
|
1924
1924
|
"$type": "color",
|
|
1925
|
-
"$value": "#
|
|
1925
|
+
"$value": "#c5d2e6",
|
|
1926
1926
|
"filePath": "src/tokens.json",
|
|
1927
1927
|
"isSource": true,
|
|
1928
1928
|
"original": {
|
|
1929
1929
|
"$type": "color",
|
|
1930
|
-
"$value": "{primitive.
|
|
1930
|
+
"$value": "{primitive.neutral.150}"
|
|
1931
1931
|
},
|
|
1932
1932
|
"name": "SemanticLightAccent",
|
|
1933
1933
|
"attributes": {
|
|
@@ -1943,12 +1943,12 @@
|
|
|
1943
1943
|
},
|
|
1944
1944
|
"accentForeground": {
|
|
1945
1945
|
"$type": "color",
|
|
1946
|
-
"$value": "#
|
|
1946
|
+
"$value": "#0f1624",
|
|
1947
1947
|
"filePath": "src/tokens.json",
|
|
1948
1948
|
"isSource": true,
|
|
1949
1949
|
"original": {
|
|
1950
1950
|
"$type": "color",
|
|
1951
|
-
"$value": "{primitive.neutral.
|
|
1951
|
+
"$value": "{primitive.neutral.950}"
|
|
1952
1952
|
},
|
|
1953
1953
|
"name": "SemanticLightAccentForeground",
|
|
1954
1954
|
"attributes": {
|
|
@@ -1962,6 +1962,48 @@
|
|
|
1962
1962
|
"accentForeground"
|
|
1963
1963
|
]
|
|
1964
1964
|
},
|
|
1965
|
+
"brand": {
|
|
1966
|
+
"$type": "color",
|
|
1967
|
+
"$value": "#0a7db2",
|
|
1968
|
+
"filePath": "src/tokens.json",
|
|
1969
|
+
"isSource": true,
|
|
1970
|
+
"original": {
|
|
1971
|
+
"$type": "color",
|
|
1972
|
+
"$value": "{primitive.accent.500}"
|
|
1973
|
+
},
|
|
1974
|
+
"name": "SemanticLightBrand",
|
|
1975
|
+
"attributes": {
|
|
1976
|
+
"category": "semantic",
|
|
1977
|
+
"type": "light",
|
|
1978
|
+
"item": "brand"
|
|
1979
|
+
},
|
|
1980
|
+
"path": [
|
|
1981
|
+
"semantic",
|
|
1982
|
+
"light",
|
|
1983
|
+
"brand"
|
|
1984
|
+
]
|
|
1985
|
+
},
|
|
1986
|
+
"brandForeground": {
|
|
1987
|
+
"$type": "color",
|
|
1988
|
+
"$value": "#ffffff",
|
|
1989
|
+
"filePath": "src/tokens.json",
|
|
1990
|
+
"isSource": true,
|
|
1991
|
+
"original": {
|
|
1992
|
+
"$type": "color",
|
|
1993
|
+
"$value": "{primitive.neutral.0}"
|
|
1994
|
+
},
|
|
1995
|
+
"name": "SemanticLightBrandForeground",
|
|
1996
|
+
"attributes": {
|
|
1997
|
+
"category": "semantic",
|
|
1998
|
+
"type": "light",
|
|
1999
|
+
"item": "brandForeground"
|
|
2000
|
+
},
|
|
2001
|
+
"path": [
|
|
2002
|
+
"semantic",
|
|
2003
|
+
"light",
|
|
2004
|
+
"brandForeground"
|
|
2005
|
+
]
|
|
2006
|
+
},
|
|
1965
2007
|
"destructive": {
|
|
1966
2008
|
"$type": "color",
|
|
1967
2009
|
"$value": "#d92626",
|
|
@@ -2407,12 +2449,12 @@
|
|
|
2407
2449
|
},
|
|
2408
2450
|
"accent": {
|
|
2409
2451
|
"$type": "color",
|
|
2410
|
-
"$value": "#
|
|
2452
|
+
"$value": "#1d2a42",
|
|
2411
2453
|
"filePath": "src/tokens.json",
|
|
2412
2454
|
"isSource": true,
|
|
2413
2455
|
"original": {
|
|
2414
2456
|
"$type": "color",
|
|
2415
|
-
"$value": "{primitive.
|
|
2457
|
+
"$value": "{primitive.neutral.745}"
|
|
2416
2458
|
},
|
|
2417
2459
|
"name": "SemanticDarkAccent",
|
|
2418
2460
|
"attributes": {
|
|
@@ -2428,12 +2470,12 @@
|
|
|
2428
2470
|
},
|
|
2429
2471
|
"accentForeground": {
|
|
2430
2472
|
"$type": "color",
|
|
2431
|
-
"$value": "#
|
|
2473
|
+
"$value": "#e6edf6",
|
|
2432
2474
|
"filePath": "src/tokens.json",
|
|
2433
2475
|
"isSource": true,
|
|
2434
2476
|
"original": {
|
|
2435
2477
|
"$type": "color",
|
|
2436
|
-
"$value": "{primitive.neutral.
|
|
2478
|
+
"$value": "{primitive.neutral.100}"
|
|
2437
2479
|
},
|
|
2438
2480
|
"name": "SemanticDarkAccentForeground",
|
|
2439
2481
|
"attributes": {
|
|
@@ -2447,6 +2489,48 @@
|
|
|
2447
2489
|
"accentForeground"
|
|
2448
2490
|
]
|
|
2449
2491
|
},
|
|
2492
|
+
"brand": {
|
|
2493
|
+
"$type": "color",
|
|
2494
|
+
"$value": "#38bdf8",
|
|
2495
|
+
"filePath": "src/tokens.json",
|
|
2496
|
+
"isSource": true,
|
|
2497
|
+
"original": {
|
|
2498
|
+
"$type": "color",
|
|
2499
|
+
"$value": "{primitive.accent.300}"
|
|
2500
|
+
},
|
|
2501
|
+
"name": "SemanticDarkBrand",
|
|
2502
|
+
"attributes": {
|
|
2503
|
+
"category": "semantic",
|
|
2504
|
+
"type": "dark",
|
|
2505
|
+
"item": "brand"
|
|
2506
|
+
},
|
|
2507
|
+
"path": [
|
|
2508
|
+
"semantic",
|
|
2509
|
+
"dark",
|
|
2510
|
+
"brand"
|
|
2511
|
+
]
|
|
2512
|
+
},
|
|
2513
|
+
"brandForeground": {
|
|
2514
|
+
"$type": "color",
|
|
2515
|
+
"$value": "#04141f",
|
|
2516
|
+
"filePath": "src/tokens.json",
|
|
2517
|
+
"isSource": true,
|
|
2518
|
+
"original": {
|
|
2519
|
+
"$type": "color",
|
|
2520
|
+
"$value": "{primitive.neutral.970}"
|
|
2521
|
+
},
|
|
2522
|
+
"name": "SemanticDarkBrandForeground",
|
|
2523
|
+
"attributes": {
|
|
2524
|
+
"category": "semantic",
|
|
2525
|
+
"type": "dark",
|
|
2526
|
+
"item": "brandForeground"
|
|
2527
|
+
},
|
|
2528
|
+
"path": [
|
|
2529
|
+
"semantic",
|
|
2530
|
+
"dark",
|
|
2531
|
+
"brandForeground"
|
|
2532
|
+
]
|
|
2533
|
+
},
|
|
2450
2534
|
"destructive": {
|
|
2451
2535
|
"$type": "color",
|
|
2452
2536
|
"$value": "#f04848",
|
package/dist/tokens.ts
CHANGED
|
@@ -16,8 +16,10 @@ export const lightTokens = {
|
|
|
16
16
|
"popoverForeground": "#0f1624",
|
|
17
17
|
"input": "#c8ced8",
|
|
18
18
|
"destructiveForeground": "#f9fafb",
|
|
19
|
-
"accent": "#
|
|
20
|
-
"accentForeground": "#
|
|
19
|
+
"accent": "#c5d2e6",
|
|
20
|
+
"accentForeground": "#0f1624",
|
|
21
|
+
"brand": "#0a7db2",
|
|
22
|
+
"brandForeground": "#ffffff",
|
|
21
23
|
"destructive": "#d92626",
|
|
22
24
|
"success": "#279b57",
|
|
23
25
|
"warning": "#e9980c",
|
|
@@ -41,8 +43,10 @@ export const darkTokens = {
|
|
|
41
43
|
"popoverForeground": "#e6edf6",
|
|
42
44
|
"input": "#1d2a42",
|
|
43
45
|
"destructiveForeground": "#1a0606",
|
|
44
|
-
"accent": "#
|
|
45
|
-
"accentForeground": "#
|
|
46
|
+
"accent": "#1d2a42",
|
|
47
|
+
"accentForeground": "#e6edf6",
|
|
48
|
+
"brand": "#38bdf8",
|
|
49
|
+
"brandForeground": "#04141f",
|
|
46
50
|
"destructive": "#f04848",
|
|
47
51
|
"success": "#3ddc84",
|
|
48
52
|
"warning": "#f5b133",
|