Skip to content

Commit

Permalink
fix(design-tokens): update colors design tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
clementprevot committed Jul 20, 2023
1 parent 3fc23bd commit 2152a3e
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/design-tokens/tokens/button.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ module.exports = {
disabled: {
comment: 'Border for disabled primary buttons.',

value: '{shadow.button.primary.base.value}',
value: '{border.button.primary.base.value}',
},
},

Expand Down
9 changes: 8 additions & 1 deletion packages/design-tokens/tokens/color/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@ module.exports = {
color: {
background: {
body: {
light: { comment: 'Yellowish White Tone 90', value: '#FFFBF4' },
dark: {
comment: 'Black',
value: '{color.brand.body.dark}',
},
light: {
comment: 'Yellowish White Tone 90',
value: '{color.brand.body.light}',
},
},

disabled: {
Expand Down
8 changes: 7 additions & 1 deletion packages/design-tokens/tokens/color/brand.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@ module.exports = {
brand: {
comment: "Main Snowball's brand colors.",

// eslint-disable-next-line sort-keys, sort-keys/sort-keys-fix, perfectionist/sort-objects
body: {
dark: { comment: 'Black', value: '{color.base.black}' },
light: { comment: 'Yellowish White Tone 90', value: '#FFFBF4' },
},

primary: { comment: 'Tone 50', value: '#FF8ACD' },
secondary: { comment: 'Tone 0', value: '#000000' },
secondary: { comment: 'Tone 0', value: '{color.base.black}' },

separator: {
comment: 'Used for line separators',
Expand Down
13 changes: 13 additions & 0 deletions packages/design-tokens/tokens/color/stroke.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
module.exports = {
color: {
stroke: {
comment: 'Colors for various strokes.',

separator: {
comment: 'Used for separators',

value: '{color.base.grey.70.value}',
},
},
},
}

0 comments on commit 2152a3e

Please sign in to comment.