Skip to content

Commit

Permalink
lock + more color alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
langermank committed May 1, 2024
1 parent 7df3549 commit aa8bae5
Show file tree
Hide file tree
Showing 9 changed files with 142 additions and 241 deletions.
134 changes: 74 additions & 60 deletions docs/storybook/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions docs/storybook/stories/BorderTesting.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,7 @@
.TextInput-wrapper {
/* border-width: var(--control-borderWidth) !important; */
}

[data-component='ButtonCounter'] {
background-color: var(--buttonCounter-default-bgColor-rest) !important;
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,50 +10,63 @@
$type: 'color',
},
onEmphasis: {
$value: '{base.color.neutral.14}',
$value: '{base.color.black}',
$type: 'color',
},
muted: {
$value: '{base.color.neutral.11}',
$type: 'color',
mix: null,
alpha: 1,
// mix: null,
// alpha: 1,
},
disabled: {
$value: '{base.color.neutral.7}',
$type: 'color',
},
},
bgColor: {
muted: {
$value: '{base.color.neutral.2}',
$type: 'color',
alpha: 1,
},
emphasis: {
$value: '{base.color.white}',
$type: 'color',
},
disabled: {
$value: '{base.color.neutral.3}',
$type: 'color',
},
neutral: {
muted: {
$value: '{base.color.neutral.6}',
$type: 'color',
},
emphasis: {
$value: '{base.color.neutral.4}',
$value: '{base.color.neutral.11}',
$type: 'color',
},
},
},
borderColor: {
default: {
$value: '{base.color.neutral.5}',
$value: '{borderColor.emphasis}',
$type: 'color',
},
muted: {
$value: '{base.color.neutral.5}',
$value: '{borderColor.emphasis}',
$type: 'color',
alpha: 1,
},
neutral: {
muted: {
$value: '{base.color.neutral.4}',
$value: '{borderColor.emphasis}',
$type: 'color',
alpha: 1,
},
emphasis: {
$value: '{base.color.neutral.4}',
$value: '{borderColor.emphasis}',
$type: 'color',
},
},
Expand Down
4 changes: 2 additions & 2 deletions src/tokens/functional/color/dark/primitives-dark.json5
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@
},
},
disabled: {
$value: '{base.color.neutral.1}',
$value: '{base.color.neutral.2}',
$type: 'color',
$extensions: {
'org.primer.figma': {
Expand All @@ -404,7 +404,7 @@
scopes: ['bgColor'],
},
},
alpha: 0.7,
// alpha: 0.7,
},
transparent: {
$value: '{base.color.transparent}',
Expand Down
Loading

0 comments on commit aa8bae5

Please sign in to comment.