Skip to content

Commit 4766846

Browse files
authored
Adjust dark theme for decorative zinc (#44)
* fix: adjust decorative zinc for dark mode * Update output configs --------- Co-authored-by: johanekhager <johanekhager@users.noreply.github.com>
1 parent d55728c commit 4766846

13 files changed

+50
-50
lines changed

dist/output/colors.spectrum.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use strict";
22
/**
33
* Do not edit directly
4-
* Generated on Wed, 28 Feb 2024 09:00:00 GMT
4+
* Generated on Thu, 29 Feb 2024 08:28:44 GMT
55
*/
66
module.exports = /** @type {const} */ {
77
"black": "#000000",

dist/output/colors.spectrum.tailwind.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use strict";
22
/**
33
* Do not edit directly
4-
* Generated on Wed, 28 Feb 2024 09:00:00 GMT
4+
* Generated on Thu, 29 Feb 2024 08:28:44 GMT
55
*/
66
module.exports = /** @type {const} */ {
77
"black": "#000000",

dist/output/colors.theme.dark.react.js

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use strict";
22
/**
33
* Do not edit directly
4-
* Generated on Wed, 28 Feb 2024 09:00:00 GMT
4+
* Generated on Thu, 29 Feb 2024 08:28:44 GMT
55
*/
66
module.exports = /** @type {const} */ {
77
"background": {
@@ -37,8 +37,8 @@ module.exports = /** @type {const} */ {
3737
"strongHover": "#d7256d",
3838
"strongActive": "#8e104a",
3939
"strongDisabled": "rgba(244,63,133, 0.5)",
40-
"medium": "#28282b",
41-
"mediumHover": "#34353a",
40+
"medium": "#1c1c1e",
41+
"mediumHover": "#28282b",
4242
"mediumActive": "#3f3f46",
4343
"weakHover": "#34353a",
4444
"weakActive": "#3f3f46"
@@ -129,9 +129,9 @@ module.exports = /** @type {const} */ {
129129
"strong": "#ca8a04"
130130
},
131131
"zinc": {
132-
"default": "#0f0f10",
133-
"weak": "#1c1c1e",
134-
"medium": "#28282b",
132+
"default": "#28282b",
133+
"weak": "#28282b",
134+
"medium": "#3f3f46",
135135
"strong": "#57595f"
136136
},
137137
"cerise": {
@@ -158,7 +158,7 @@ module.exports = /** @type {const} */ {
158158
"neutral": {
159159
"default": "rgba(255,255,255, 0.14)",
160160
"medium": "rgba(255,255,255, 0.2)",
161-
"strong": "rgba( #ffffff, 0.28)"
161+
"strong": "rgba(255,255,255, 0.28)"
162162
},
163163
"success": {
164164
"default": "rgba(52,53,58, 0.05)"

dist/output/colors.theme.light.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use strict";
22
/**
33
* Do not edit directly
4-
* Generated on Wed, 28 Feb 2024 09:00:00 GMT
4+
* Generated on Thu, 29 Feb 2024 08:28:44 GMT
55
*/
66
module.exports = /** @type {const} */ {
77
"background": {

dist/output/colors.theme.tailwind.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use strict";
22
/**
33
* Do not edit directly
4-
* Generated on Wed, 28 Feb 2024 09:00:00 GMT
4+
* Generated on Thu, 29 Feb 2024 08:28:44 GMT
55
*/
66
module.exports = /** @type {const} */ {
77
"background": {

src/output/colors.spectrum.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Do not edit directly
3-
* Generated on Wed, 28 Feb 2024 09:00:00 GMT
3+
* Generated on Thu, 29 Feb 2024 08:28:44 GMT
44
*/
55

66
module.exports = /** @type {const} */ {

src/output/colors.spectrum.tailwind.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Do not edit directly
3-
* Generated on Wed, 28 Feb 2024 09:00:00 GMT
3+
* Generated on Thu, 29 Feb 2024 08:28:44 GMT
44
*/
55

66
module.exports = /** @type {const} */ {

src/output/colors.theme.dark.react.js

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Do not edit directly
3-
* Generated on Wed, 28 Feb 2024 09:00:00 GMT
3+
* Generated on Thu, 29 Feb 2024 08:28:44 GMT
44
*/
55

66
module.exports = /** @type {const} */ {
@@ -37,8 +37,8 @@ module.exports = /** @type {const} */ {
3737
"strongHover": "#d7256d",
3838
"strongActive": "#8e104a",
3939
"strongDisabled": "rgba(244,63,133, 0.5)",
40-
"medium": "#28282b",
41-
"mediumHover": "#34353a",
40+
"medium": "#1c1c1e",
41+
"mediumHover": "#28282b",
4242
"mediumActive": "#3f3f46",
4343
"weakHover": "#34353a",
4444
"weakActive": "#3f3f46"
@@ -129,9 +129,9 @@ module.exports = /** @type {const} */ {
129129
"strong": "#ca8a04"
130130
},
131131
"zinc": {
132-
"default": "#0f0f10",
133-
"weak": "#1c1c1e",
134-
"medium": "#28282b",
132+
"default": "#28282b",
133+
"weak": "#28282b",
134+
"medium": "#3f3f46",
135135
"strong": "#57595f"
136136
},
137137
"cerise": {
@@ -158,7 +158,7 @@ module.exports = /** @type {const} */ {
158158
"neutral": {
159159
"default": "rgba(255,255,255, 0.14)",
160160
"medium": "rgba(255,255,255, 0.2)",
161-
"strong": "rgba( #ffffff, 0.28)"
161+
"strong": "rgba(255,255,255, 0.28)"
162162
},
163163
"success": {
164164
"default": "rgba(52,53,58, 0.05)"

src/output/colors.theme.light.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Do not edit directly
3-
* Generated on Wed, 28 Feb 2024 09:00:00 GMT
3+
* Generated on Thu, 29 Feb 2024 08:28:44 GMT
44
*/
55

66
module.exports = /** @type {const} */ {

src/output/colors.theme.tailwind.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Do not edit directly
3-
* Generated on Wed, 28 Feb 2024 09:00:00 GMT
3+
* Generated on Thu, 29 Feb 2024 08:28:44 GMT
44
*/
55

66
module.exports = /** @type {const} */ {

src/output/theme-dark.css

+6-6
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
--color-background-action-strong-hover: rgb(215, 37, 109);
2121
--color-background-action-strong-active: rgb(142, 16, 74);
2222
--color-background-action-strong-disabled: rgba(244,63,133, 0.5);
23-
--color-background-action-medium: rgb(40, 40, 43);
24-
--color-background-action-medium-hover: rgb(52, 53, 58);
23+
--color-background-action-medium: rgb(28, 28, 30);
24+
--color-background-action-medium-hover: rgb(40, 40, 43);
2525
--color-background-action-medium-active: rgb(63, 63, 70);
2626
--color-background-action-weak-hover: rgb(52, 53, 58);
2727
--color-background-action-weak-active: rgb(63, 63, 70);
@@ -81,9 +81,9 @@
8181
--color-background-decorative-yellow-weak: rgb(113, 63, 18);
8282
--color-background-decorative-yellow-medium: rgb(133, 77, 14);
8383
--color-background-decorative-yellow-strong: rgb(202, 138, 4);
84-
--color-background-decorative-zinc-default: rgb(15, 15, 16);
85-
--color-background-decorative-zinc-weak: rgb(28, 28, 30);
86-
--color-background-decorative-zinc-medium: rgb(40, 40, 43);
84+
--color-background-decorative-zinc-default: rgb(40, 40, 43);
85+
--color-background-decorative-zinc-weak: rgb(40, 40, 43);
86+
--color-background-decorative-zinc-medium: rgb(63, 63, 70);
8787
--color-background-decorative-zinc-strong: rgb(87, 89, 95);
8888
--color-background-decorative-cerise-default: rgb(73, 13, 37);
8989
--color-background-decorative-cerise-weak: rgb(131, 24, 67);
@@ -99,7 +99,7 @@
9999
--color-background-decorative-red-strong: rgb(220, 38, 38);
100100
--color-border-neutral-default: rgba(255,255,255, 0.14);
101101
--color-border-neutral-medium: rgba(255,255,255, 0.2);
102-
--color-border-neutral-strong: rgba( rgb(255, 255, 255), 0.28);
102+
--color-border-neutral-strong: rgba(255,255,255, 0.28);
103103
--color-border-success-default: rgba(52,53,58, 0.05);
104104
--color-border-danger-default: rgba(52,53,58, 0.05);
105105
--color-border-warning-default: rgba(52,53,58, 0.05);

tokens.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -2714,14 +2714,14 @@
27142714
"description": "rgba($color.pink.500, 0.5)"
27152715
},
27162716
"medium": {
2717-
"value": "{color.zinc.800}",
2717+
"value": "{color.zinc.900}",
27182718
"type": "color",
2719-
"description": "{color.zinc.800}"
2719+
"description": "{color.zinc.900}"
27202720
},
27212721
"medium-hover": {
2722-
"value": "{color.zinc.750}",
2722+
"value": "{color.zinc.800}",
27232723
"type": "color",
2724-
"description": "{color.zinc.750}"
2724+
"description": "{color.zinc.800}"
27252725
},
27262726
"medium-active": {
27272727
"value": "{color.zinc.700}",
@@ -3050,19 +3050,19 @@
30503050
},
30513051
"zinc": {
30523052
"DEFAULT": {
3053-
"value": "{color.zinc.1000}",
3053+
"value": "{color.zinc.800}",
30543054
"type": "color",
3055-
"description": "{color.zinc.1000}"
3055+
"description": "{color.zinc.800}"
30563056
},
30573057
"weak": {
3058-
"value": "{color.zinc.900}",
3058+
"value": "{color.zinc.800}",
30593059
"type": "color",
3060-
"description": "{color.zinc.900"
3060+
"description": "{color.zinc.800"
30613061
},
30623062
"medium": {
3063-
"value": "{color.zinc.800}",
3063+
"value": "{color.zinc.700}",
30643064
"type": "color",
3065-
"description": "{color.zinc.800}"
3065+
"description": "{color.zinc.700}"
30663066
},
30673067
"strong": {
30683068
"value": "{color.zinc.600}",
@@ -3151,7 +3151,7 @@
31513151
"description": "rgba({color.white}, 0.2)"
31523152
},
31533153
"strong": {
3154-
"value": "rgba( {color.white}, 0.28)",
3154+
"value": "rgba({color.white}, 0.28)",
31553155
"type": "color",
31563156
"description": "rgba({color.white}, 0.28)"
31573157
}

tokens/dark.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -139,15 +139,15 @@
139139
"failedToResolve": true
140140
},
141141
"medium": {
142-
"value": "{color.zinc.800}",
142+
"value": "{color.zinc.900}",
143143
"type": "color",
144-
"description": "{color.zinc.800}",
144+
"description": "{color.zinc.900}",
145145
"failedToResolve": true
146146
},
147147
"medium-hover": {
148-
"value": "{color.zinc.750}",
148+
"value": "{color.zinc.800}",
149149
"type": "color",
150-
"description": "{color.zinc.750}",
150+
"description": "{color.zinc.800}",
151151
"failedToResolve": true
152152
},
153153
"medium-active": {
@@ -536,21 +536,21 @@
536536
},
537537
"zinc": {
538538
"DEFAULT": {
539-
"value": "{color.zinc.1000}",
539+
"value": "{color.zinc.800}",
540540
"type": "color",
541-
"description": "{color.zinc.1000}",
541+
"description": "{color.zinc.800}",
542542
"failedToResolve": true
543543
},
544544
"weak": {
545-
"value": "{color.zinc.900}",
545+
"value": "{color.zinc.800}",
546546
"type": "color",
547-
"description": "{color.zinc.900",
547+
"description": "{color.zinc.800",
548548
"failedToResolve": true
549549
},
550550
"medium": {
551-
"value": "{color.zinc.800}",
551+
"value": "{color.zinc.700}",
552552
"type": "color",
553-
"description": "{color.zinc.800}",
553+
"description": "{color.zinc.700}",
554554
"failedToResolve": true
555555
},
556556
"strong": {
@@ -655,7 +655,7 @@
655655
"failedToResolve": true
656656
},
657657
"strong": {
658-
"value": "rgba( {color.white}, 0.28)",
658+
"value": "rgba({color.white}, 0.28)",
659659
"type": "color",
660660
"description": "rgba({color.white}, 0.28)",
661661
"failedToResolve": true

0 commit comments

Comments
 (0)