Skip to content

Commit

Permalink
working on compnent tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasoppermann committed Dec 16, 2024
1 parent 5d89108 commit 184b202
Show file tree
Hide file tree
Showing 9 changed files with 403 additions and 880 deletions.
403 changes: 403 additions & 0 deletions src/tokens/component/diffBlob.json5

Large diffs are not rendered by default.

285 changes: 0 additions & 285 deletions src/tokens/functional/color/dark/app-dark.json5
Original file line number Diff line number Diff line change
Expand Up @@ -32,291 +32,6 @@
},
},
},
diffBlob: {
additionLine: {
fgColor: {
$value: '{fgColor.default}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',

group: 'component',
scopes: ['fgColor'],
},
},
},
bgColor: {
$value: '{bgColor.success.muted}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',

group: 'component',
scopes: ['bgColor'],
},
},
alpha: 0.15,
},
},
additionWord: {
fgColor: {
$value: '{fgColor.default}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',

group: 'component',
scopes: ['fgColor'],
},
},
},
bgColor: {
$value: '{base.color.green.4}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',

group: 'component',
scopes: ['bgColor'],
},
},
alpha: 0.4,
},
},
additionNum: {
fgColor: {
$value: '{fgColor.default}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',

group: 'component',
scopes: ['fgColor'],
},
},
},
bgColor: {
$value: '{base.color.green.3}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',

group: 'component',
scopes: ['bgColor'],
},
},
alpha: 0.3,
},
},
deletionLine: {
fgColor: {
$value: '{fgColor.default}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',

group: 'component',
scopes: ['fgColor'],
},
},
},
bgColor: {
$value: '{bgColor.danger.muted}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',

group: 'component',
scopes: ['bgColor'],
},
},
},
},
deletionWord: {
fgColor: {
$value: '{fgColor.default}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',

group: 'component',
scopes: ['fgColor'],
},
},
},
bgColor: {
$value: '{base.color.red.4}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',

group: 'component',
scopes: ['bgColor'],
},
},
alpha: 0.4,
},
},
deletionNum: {
fgColor: {
$value: '{fgColor.default}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',

group: 'component',
scopes: ['fgColor'],
},
},
},
bgColor: {
$value: '{base.color.red.4}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',

group: 'component',
scopes: ['bgColor'],
},
},
alpha: 0.3,
},
},
hunkLine: {
fgColor: {
$value: '{fgColor.muted}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',

group: 'component',
scopes: ['fgColor'],
},
},
},
bgColor: {
$value: '{bgColor.accent.muted}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',

group: 'component',
scopes: ['bgColor'],
},
},
},
},
hunkNum: {
fgColor: {
rest: {
$value: '{fgColor.default}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',

group: 'component',
scopes: ['fgColor'],
},
},
},
hover: {
$value: '{fgColor.onEmphasis}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',

group: 'component',
scopes: ['fgColor'],
},
},
},
},
bgColor: {
rest: {
$value: '{base.color.blue.8}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',

group: 'component',
scopes: ['bgColor'],
},
},
},
hover: {
$value: '{bgColor.accent.emphasis}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',

group: 'component',
scopes: ['bgColor'],
},
},
},
},
},
emptyNum: {
bgColor: {
$value: '{bgColor.muted}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',

group: 'component',
scopes: ['bgColor'],
},
},
},
},
emptyLine: {
bgColor: {
$value: '{bgColor.muted}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',

group: 'component',
scopes: ['bgColor'],
},
},
},
},
expander: {
iconColor: {
$value: '{fgColor.muted}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',

group: 'component',
scopes: ['fgColor'],
},
},
},
},
},
codeMirror: {
fgColor: {
$value: '{fgColor.default}',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -508,66 +508,6 @@
},
},
},
diffBlob: {
additionLine: {
fgColor: {
$value: '{fgColor.onEmphasis}',
$type: 'color',
},
bgColor: {
$value: '{bgColor.success.muted}',
$type: 'color',
alpha: 0.2,
},
},
additionWord: {
bgColor: {
$value: '{bgColor.success.emphasis}',
$type: 'color',
alpha: 1,
},
},
deletionLine: {
fgColor: {
$value: '{fgColor.onEmphasis}',
$type: 'color',
},
bgColor: {
$value: '{bgColor.danger.muted}',
$type: 'color',
alpha: 0.2,
},
},
deletionWord: {
bgColor: {
$value: '{bgColor.danger.emphasis}',
$type: 'color',
alpha: 1,
},
},
hunkNum: {
bgColor: {
rest: {
$value: '{base.color.blue.4}',
$type: 'color',
alpha: 0.4,
},
},
},
hunkLine: {
bgColor: {
$value: '{bgColor.accent.muted}',
$type: 'color',
alpha: 0.2,
},
},
expander: {
iconColor: {
$value: '{fgColor.default}',
$type: 'color',
},
},
},
codeMirror: {
selection: {
bgColor: {
Expand Down
Loading

0 comments on commit 184b202

Please sign in to comment.