Skip to content

Commit

Permalink
light mode
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasoppermann committed Dec 16, 2024
1 parent 0263948 commit 6c3ec7f
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 285 deletions.
32 changes: 32 additions & 0 deletions src/tokens/component/diffBlob.json5
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@
group: 'component',
scopes: ['bgColor'],
},
'org.primer.overrides': {
dark: {
alpha: 0.15,
},
},
},
},
},
Expand All @@ -45,6 +50,12 @@
group: 'component',
scopes: ['bgColor'],
},
'org.primer.overrides': {
dark: {
$value: '{base.color.green.4}',
alpha: 0.4,
},
},
},
},
},
Expand All @@ -69,6 +80,12 @@
group: 'component',
scopes: ['bgColor'],
},
'org.primer.overrides': {
dark: {
$value: '{base.color.green.3}',
alpha: 0.3,
},
},
},
},
},
Expand Down Expand Up @@ -117,6 +134,12 @@
group: 'component',
scopes: ['bgColor'],
},
'org.primer.overrides': {
dark: {
$value: '{base.color.red.4}',
alpha: 0.4,
},
},
},
},
},
Expand All @@ -141,6 +164,12 @@
group: 'component',
scopes: ['bgColor'],
},
'org.primer.overrides': {
dark: {
$value: '{base.color.red.4}',
alpha: 0.3,
},
},
},
},
},
Expand Down Expand Up @@ -203,6 +232,9 @@
group: 'component',
scopes: ['bgColor'],
},
'org.primer.overrides': {
dark: '{base.color.blue.8}',
},
},
},
hover: {
Expand Down
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 @@ -15,291 +15,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

0 comments on commit 6c3ec7f

Please sign in to comment.