Skip to content

Commit

Permalink
Add text-action-hover and mono (#45)
Browse files Browse the repository at this point in the history
* fix: add text-action-hover and mono

* Update output configs

---------

Co-authored-by: johanekhager <[email protected]>
  • Loading branch information
johanekhager and johanekhager authored Mar 1, 2024
1 parent 543ccc9 commit 8f6428a
Show file tree
Hide file tree
Showing 19 changed files with 84 additions and 10 deletions.
6 changes: 6 additions & 0 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export var themeColors: {
background: {
mono: string;
canvas: string;
neutral: {
DEFAULT: string;
Expand Down Expand Up @@ -242,6 +243,7 @@ export var themeColors: {
};
action: {
DEFAULT: string;
hover: string;
"default-active": string;
weak: string;
"weak-active": string;
Expand Down Expand Up @@ -763,6 +765,7 @@ export var tokenColors: {
};
export var reactLightThemeColors: {
background: {
mono: string;
canvas: string;
neutral: {
default: string;
Expand Down Expand Up @@ -1005,6 +1008,7 @@ export var reactLightThemeColors: {
};
action: {
default: string;
hover: string;
defaultActive: string;
weak: string;
weakActive: string;
Expand Down Expand Up @@ -1270,6 +1274,7 @@ export var reactLightThemeColors: {
};
export var reactDarkThemeColors: {
background: {
mono: string;
canvas: string;
neutral: {
default: string;
Expand Down Expand Up @@ -1512,6 +1517,7 @@ export var reactDarkThemeColors: {
};
action: {
default: string;
hover: string;
defaultActive: string;
weak: string;
weakActive: string;
Expand Down
2 changes: 1 addition & 1 deletion dist/output/colors.spectrum.react.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use strict";
/**
* Do not edit directly
* Generated on Thu, 29 Feb 2024 08:28:44 GMT
* Generated on Fri, 01 Mar 2024 07:37:28 GMT
*/
module.exports = /** @type {const} */ {
"black": "#000000",
Expand Down
2 changes: 1 addition & 1 deletion dist/output/colors.spectrum.tailwind.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use strict";
/**
* Do not edit directly
* Generated on Thu, 29 Feb 2024 08:28:44 GMT
* Generated on Fri, 01 Mar 2024 07:37:28 GMT
*/
module.exports = /** @type {const} */ {
"black": "#000000",
Expand Down
3 changes: 3 additions & 0 deletions dist/output/colors.theme.dark.react.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export namespace background {
const mono: string;
const canvas: string;
namespace neutral {
const _default: string;
Expand Down Expand Up @@ -386,6 +387,8 @@ export namespace text {
export namespace action_2 {
const _default_30: string;
export { _default_30 as default };
const hover_1: string;
export { hover_1 as hover };
export const defaultActive: string;
const weak_20: string;
export { weak_20 as weak };
Expand Down
4 changes: 3 additions & 1 deletion dist/output/colors.theme.dark.react.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
"use strict";
/**
* Do not edit directly
* Generated on Thu, 29 Feb 2024 08:28:44 GMT
* Generated on Fri, 01 Mar 2024 07:37:28 GMT
*/
module.exports = /** @type {const} */ {
"background": {
"mono": "#ffffff",
"canvas": "#0f0f10",
"neutral": {
"default": "#1c1c1e",
Expand Down Expand Up @@ -247,6 +248,7 @@ module.exports = /** @type {const} */ {
},
"action": {
"default": "#f43f85",
"hover": "#d7256d",
"defaultActive": "#d7256d",
"weak": "#ffffff",
"weakActive": "#f43f85",
Expand Down
3 changes: 3 additions & 0 deletions dist/output/colors.theme.light.react.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export namespace background {
const mono: string;
const canvas: string;
namespace neutral {
const _default: string;
Expand Down Expand Up @@ -386,6 +387,8 @@ export namespace text {
export namespace action_2 {
const _default_30: string;
export { _default_30 as default };
const hover_1: string;
export { hover_1 as hover };
export const defaultActive: string;
const weak_20: string;
export { weak_20 as weak };
Expand Down
4 changes: 3 additions & 1 deletion dist/output/colors.theme.light.react.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
"use strict";
/**
* Do not edit directly
* Generated on Thu, 29 Feb 2024 08:28:44 GMT
* Generated on Fri, 01 Mar 2024 07:37:28 GMT
*/
module.exports = /** @type {const} */ {
"background": {
"mono": "#000000",
"canvas": "#ffffff",
"neutral": {
"default": "#ffffff",
Expand Down Expand Up @@ -247,6 +248,7 @@ module.exports = /** @type {const} */ {
},
"action": {
"default": "#f43f85",
"hover": "#d7256d",
"defaultActive": "#d7256d",
"weak": "#34353a",
"weakActive": "#f43f85",
Expand Down
2 changes: 2 additions & 0 deletions dist/output/colors.theme.tailwind.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export namespace background {
const mono: string;
const canvas: string;
const neutral: {
DEFAULT: string;
Expand Down Expand Up @@ -264,6 +265,7 @@ export namespace text {
export { neutral_2 as neutral };
const action_2: {
DEFAULT: string;
hover: string;
"default-active": string;
weak: string;
"weak-active": string;
Expand Down
4 changes: 3 additions & 1 deletion dist/output/colors.theme.tailwind.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
"use strict";
/**
* Do not edit directly
* Generated on Thu, 29 Feb 2024 08:28:44 GMT
* Generated on Fri, 01 Mar 2024 07:37:28 GMT
*/
module.exports = /** @type {const} */ {
"background": {
"mono": "var(--color-background-mono)",
"canvas": "var(--color-background-canvas)",
"neutral": {
"DEFAULT": "var(--color-background-neutral-default)",
Expand Down Expand Up @@ -247,6 +248,7 @@ module.exports = /** @type {const} */ {
},
"action": {
"DEFAULT": "var(--color-text-action-default)",
"hover": "var(--color-text-action-hover)",
"default-active": "var(--color-text-action-default-active)",
"weak": "var(--color-text-action-weak)",
"weak-active": "var(--color-text-action-weak-active)",
Expand Down
2 changes: 1 addition & 1 deletion src/output/colors.spectrum.react.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Thu, 29 Feb 2024 08:28:44 GMT
* Generated on Fri, 01 Mar 2024 07:37:28 GMT
*/

module.exports = /** @type {const} */ {
Expand Down
2 changes: 1 addition & 1 deletion src/output/colors.spectrum.tailwind.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Thu, 29 Feb 2024 08:28:44 GMT
* Generated on Fri, 01 Mar 2024 07:37:28 GMT
*/

module.exports = /** @type {const} */ {
Expand Down
4 changes: 3 additions & 1 deletion src/output/colors.theme.dark.react.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
/**
* Do not edit directly
* Generated on Thu, 29 Feb 2024 08:28:44 GMT
* Generated on Fri, 01 Mar 2024 07:37:28 GMT
*/

module.exports = /** @type {const} */ {
"background": {
"mono": "#ffffff",
"canvas": "#0f0f10",
"neutral": {
"default": "#1c1c1e",
Expand Down Expand Up @@ -247,6 +248,7 @@ module.exports = /** @type {const} */ {
},
"action": {
"default": "#f43f85",
"hover": "#d7256d",
"defaultActive": "#d7256d",
"weak": "#ffffff",
"weakActive": "#f43f85",
Expand Down
4 changes: 3 additions & 1 deletion src/output/colors.theme.light.react.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
/**
* Do not edit directly
* Generated on Thu, 29 Feb 2024 08:28:44 GMT
* Generated on Fri, 01 Mar 2024 07:37:28 GMT
*/

module.exports = /** @type {const} */ {
"background": {
"mono": "#000000",
"canvas": "#ffffff",
"neutral": {
"default": "#ffffff",
Expand Down Expand Up @@ -247,6 +248,7 @@ module.exports = /** @type {const} */ {
},
"action": {
"default": "#f43f85",
"hover": "#d7256d",
"defaultActive": "#d7256d",
"weak": "#34353a",
"weakActive": "#f43f85",
Expand Down
4 changes: 3 additions & 1 deletion src/output/colors.theme.tailwind.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
/**
* Do not edit directly
* Generated on Thu, 29 Feb 2024 08:28:44 GMT
* Generated on Fri, 01 Mar 2024 07:37:28 GMT
*/

module.exports = /** @type {const} */ {
"background": {
"mono": "var(--color-background-mono)",
"canvas": "var(--color-background-canvas)",
"neutral": {
"DEFAULT": "var(--color-background-neutral-default)",
Expand Down Expand Up @@ -247,6 +248,7 @@ module.exports = /** @type {const} */ {
},
"action": {
"DEFAULT": "var(--color-text-action-default)",
"hover": "var(--color-text-action-hover)",
"default-active": "var(--color-text-action-default-active)",
"weak": "var(--color-text-action-weak)",
"weak-active": "var(--color-text-action-weak-active)",
Expand Down
2 changes: 2 additions & 0 deletions src/output/theme-dark.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.theme-dark {
--color-background-mono: rgb(255, 255, 255);
--color-background-canvas: rgb(15, 15, 16);
--color-background-neutral-default: rgb(28, 28, 30);
--color-background-neutral-hover: rgb(40, 40, 43);
Expand Down Expand Up @@ -130,6 +131,7 @@
--color-text-neutral-weak: rgb(113, 113, 122);
--color-text-neutral-medium: rgb(178, 179, 185);
--color-text-action-default: rgb(244, 63, 133);
--color-text-action-hover: rgb(215, 37, 109);
--color-text-action-default-active: rgb(215, 37, 109);
--color-text-action-weak: rgb(255, 255, 255);
--color-text-action-weak-active: rgb(244, 63, 133);
Expand Down
2 changes: 2 additions & 0 deletions src/output/theme-light.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.theme-light {
--color-background-mono: rgb(0, 0, 0);
--color-background-canvas: rgb(255, 255, 255);
--color-background-neutral-default: rgb(255, 255, 255);
--color-background-neutral-hover: rgb(248, 248, 249);
Expand Down Expand Up @@ -130,6 +131,7 @@
--color-text-neutral-weak: rgb(178, 179, 185);
--color-text-neutral-medium: rgb(113, 113, 122);
--color-text-action-default: rgb(244, 63, 133);
--color-text-action-hover: rgb(215, 37, 109);
--color-text-action-default-active: rgb(215, 37, 109);
--color-text-action-weak: rgb(52, 53, 58);
--color-text-action-weak-active: rgb(244, 63, 133);
Expand Down
20 changes: 20 additions & 0 deletions tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -908,6 +908,11 @@
"Light": {
"color": {
"background": {
"mono": {
"value": "{color.black}",
"type": "color",
"description": "{color.black}"
},
"canvas": {
"value": "{color.white}",
"type": "color",
Expand Down Expand Up @@ -1674,6 +1679,11 @@
"type": "color",
"description": "{color.pink.500}"
},
"hover": {
"value": "{color.pink.600}",
"type": "color",
"description": "{color.pink.600}"
},
"default-active": {
"value": "{color.pink.600}",
"type": "color",
Expand Down Expand Up @@ -2597,6 +2607,11 @@
"Dark": {
"color": {
"background": {
"mono": {
"value": "{color.white}",
"type": "color",
"description": "{color.white}"
},
"canvas": {
"value": "{color.zinc.1000}",
"type": "color",
Expand Down Expand Up @@ -3363,6 +3378,11 @@
"type": "color",
"description": "{color.pink.500}"
},
"hover": {
"value": "{color.pink.600}",
"type": "color",
"description": "{color.pink.600}"
},
"default-active": {
"value": "{color.pink.600}",
"type": "color",
Expand Down
12 changes: 12 additions & 0 deletions tokens/dark.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{
"color": {
"background": {
"mono": {
"value": "{color.white}",
"type": "color",
"description": "{color.white}",
"failedToResolve": true
},
"canvas": {
"value": "{color.zinc.1000}",
"type": "color",
Expand Down Expand Up @@ -898,6 +904,12 @@
"description": "{color.pink.500}",
"failedToResolve": true
},
"hover": {
"value": "{color.pink.600}",
"type": "color",
"description": "{color.pink.600}",
"failedToResolve": true
},
"default-active": {
"value": "{color.pink.600}",
"type": "color",
Expand Down
12 changes: 12 additions & 0 deletions tokens/light.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{
"color": {
"background": {
"mono": {
"value": "{color.black}",
"type": "color",
"description": "{color.black}",
"failedToResolve": true
},
"canvas": {
"value": "{color.white}",
"type": "color",
Expand Down Expand Up @@ -898,6 +904,12 @@
"description": "{color.pink.500}",
"failedToResolve": true
},
"hover": {
"value": "{color.pink.600}",
"type": "color",
"description": "{color.pink.600}",
"failedToResolve": true
},
"default-active": {
"value": "{color.pink.600}",
"type": "color",
Expand Down

0 comments on commit 8f6428a

Please sign in to comment.