Skip to content

Commit 0f5f75d

Browse files
authored
Action active and dark alert colors (#53)
* fix: action active and dark alert colors * Update output configs * Update README.md * Update output configs --------- Co-authored-by: johanekhager <johanekhager@users.noreply.github.com>
1 parent 26f08cc commit 0f5f75d

16 files changed

Lines changed: 62 additions & 53 deletions

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ To use this inside your Tailwind config you should import the relevant config in
1616

1717
```javascript
1818
// tailwind.config.js
19-
const {tokenColors, themeColors} = require('@teamtailor/design-tokens');
19+
const { tokenColors, themeColors } = require("@teamtailor/design-tokens")
2020

2121
module.exports = {
2222
// ...
@@ -52,3 +52,12 @@ Css files are located here and are apply by using `.theme-light` or `.theme-dark
5252
@teamtailor/design-tokens/src/output/theme-light.css';
5353
@teamtailor/design-tokens/src/output/theme-dark.css';
5454
```
55+
56+
## Change colors
57+
58+
Do those steps in order to change colors:
59+
60+
1. Create a branch with the name `chore/figma-changes` (we will generate files depending on this branch name)
61+
2. Make changes in `tokens.json`
62+
3. Create a PR. Now will Github actions generate lots of necessary files (and bump version)
63+
4. Update package.json in your repo with the new version

dist/output/colors.spectrum.react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use strict";
22
/**
33
* Do not edit directly
4-
* Generated on Mon, 16 Sep 2024 07:15:31 GMT
4+
* Generated on Thu, 30 Jan 2025 07:55:55 GMT
55
*/
66
module.exports = /** @type {const} */ {
77
"black": "#000000",

dist/output/colors.spectrum.tailwind.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use strict";
22
/**
33
* Do not edit directly
4-
* Generated on Mon, 16 Sep 2024 07:15:31 GMT
4+
* Generated on Thu, 30 Jan 2025 07:55:55 GMT
55
*/
66
module.exports = /** @type {const} */ {
77
"black": "#000000",

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use strict";
22
/**
33
* Do not edit directly
4-
* Generated on Mon, 16 Sep 2024 07:15:31 GMT
4+
* Generated on Thu, 30 Jan 2025 07:55:55 GMT
55
*/
66
module.exports = /** @type {const} */ {
77
"background": {
@@ -400,19 +400,19 @@ module.exports = /** @type {const} */ {
400400
"weak": "#71717a"
401401
},
402402
"success": {
403-
"default": "#defade",
403+
"default": "#16a31b",
404404
"strong": "#ffffff"
405405
},
406406
"danger": {
407-
"default": "#fee2e2",
407+
"default": "#dc2626",
408408
"strong": "#ffffff"
409409
},
410410
"warning": {
411-
"default": "#fef3c7",
411+
"default": "#d97706",
412412
"strong": "#ffffff"
413413
},
414414
"info": {
415-
"default": "#dcf2fe",
415+
"default": "#0284c7",
416416
"strong": "#ffffff"
417417
},
418418
"copilot": {

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use strict";
22
/**
33
* Do not edit directly
4-
* Generated on Mon, 16 Sep 2024 07:15:31 GMT
4+
* Generated on Thu, 30 Jan 2025 07:55:55 GMT
55
*/
66
module.exports = /** @type {const} */ {
77
"background": {
@@ -260,9 +260,9 @@ module.exports = /** @type {const} */ {
260260
"hover": "#d7256d",
261261
"defaultActive": "#d7256d",
262262
"weak": "#34353a",
263-
"weakActive": "#f43f85",
263+
"weakActive": "#d7256d",
264264
"medium": "#34353a",
265-
"mediumActive": "#f43f85",
265+
"mediumActive": "#d7256d",
266266
"strong": "#ffffff"
267267
},
268268
"success": {

dist/output/colors.theme.tailwind.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use strict";
22
/**
33
* Do not edit directly
4-
* Generated on Mon, 16 Sep 2024 07:15:31 GMT
4+
* Generated on Thu, 30 Jan 2025 07:55:55 GMT
55
*/
66
module.exports = /** @type {const} */ {
77
"background": {

src/output/colors.spectrum.react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Do not edit directly
3-
* Generated on Mon, 16 Sep 2024 07:15:31 GMT
3+
* Generated on Thu, 30 Jan 2025 07:55:55 GMT
44
*/
55

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

src/output/colors.spectrum.tailwind.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Do not edit directly
3-
* Generated on Mon, 16 Sep 2024 07:15:31 GMT
3+
* Generated on Thu, 30 Jan 2025 07:55:55 GMT
44
*/
55

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

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Do not edit directly
3-
* Generated on Mon, 16 Sep 2024 07:15:31 GMT
3+
* Generated on Thu, 30 Jan 2025 07:55:55 GMT
44
*/
55

66
module.exports = /** @type {const} */ {
@@ -400,19 +400,19 @@ module.exports = /** @type {const} */ {
400400
"weak": "#71717a"
401401
},
402402
"success": {
403-
"default": "#defade",
403+
"default": "#16a31b",
404404
"strong": "#ffffff"
405405
},
406406
"danger": {
407-
"default": "#fee2e2",
407+
"default": "#dc2626",
408408
"strong": "#ffffff"
409409
},
410410
"warning": {
411-
"default": "#fef3c7",
411+
"default": "#d97706",
412412
"strong": "#ffffff"
413413
},
414414
"info": {
415-
"default": "#dcf2fe",
415+
"default": "#0284c7",
416416
"strong": "#ffffff"
417417
},
418418
"copilot": {

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Do not edit directly
3-
* Generated on Mon, 16 Sep 2024 07:15:31 GMT
3+
* Generated on Thu, 30 Jan 2025 07:55:55 GMT
44
*/
55

66
module.exports = /** @type {const} */ {
@@ -260,9 +260,9 @@ module.exports = /** @type {const} */ {
260260
"hover": "#d7256d",
261261
"defaultActive": "#d7256d",
262262
"weak": "#34353a",
263-
"weakActive": "#f43f85",
263+
"weakActive": "#d7256d",
264264
"medium": "#34353a",
265-
"mediumActive": "#f43f85",
265+
"mediumActive": "#d7256d",
266266
"strong": "#ffffff"
267267
},
268268
"success": {

0 commit comments

Comments
 (0)