Skip to content

Commit

Permalink
added new emptyNum and emptyLine tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasoppermann committed Oct 16, 2024
1 parent 3dc6c20 commit a1dbb0a
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/storybook/stories/Demo/Diff/Diff.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
border-bottom: 1px solid var(--borderColor-default);
}
.diff-line {
--diff-num-bg: var(--bgColor-muted);
--diff-line-bg: var(--bgColor-muted);
--diff-num-bg: var(--diffBlob-emptyNum-bgColor);
--diff-line-bg: var(--diffBlob-emptyLine-bgColor);
&.type-default {
--diff-num-bg: var(--bgColor-default);
--diff-num-fg: var(--fgColor-default);
Expand Down
28 changes: 28 additions & 0 deletions src/tokens/functional/color/dark/app-dark.json5
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,34 @@
},
},
},
emptyNum: {
bgColor: {
$value: '{bgColor.muted}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'dark',
group: 'component',
scopes: ['bgColor'],
},
},
},
},
emptyLine: {
bgColor: {
$value: '{bgColor.muted}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'dark',
group: 'component',
scopes: ['bgColor'],
},
},
},
},
expander: {
iconColor: {
$value: '{fgColor.muted}',
Expand Down
28 changes: 28 additions & 0 deletions src/tokens/functional/color/light/app-light.json5
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,34 @@
},
},
},
emptyNum: {
bgColor: {
$value: '{bgColor.muted}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'light',
group: 'component',
scopes: ['bgColor'],
},
},
},
},
emptyLine: {
bgColor: {
$value: '{bgColor.muted}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'light',
group: 'component',
scopes: ['bgColor'],
},
},
},
},
expander: {
iconColor: {
$value: '{fgColor.muted}',
Expand Down

0 comments on commit a1dbb0a

Please sign in to comment.