Skip to content

Commit

Permalink
remove oninverse
Browse files Browse the repository at this point in the history
  • Loading branch information
langermank committed Feb 8, 2024
1 parent 73e05f4 commit dda00a9
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 449 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,54 +19,6 @@
$value: '{base.color.gray.3}',
$type: 'color',
},
neutral: {
onInverse: {
$value: '{base.color.gray.8}',
$type: 'color',
},
},
accent: {
onInverse: {
$value: '{base.color.blue.8}',
$type: 'color',
},
},
success: {
onInverse: {
$value: '{base.color.green.8}',
$type: 'color',
},
},
attention: {
onInverse: {
$value: '{base.color.yellow.8}',
$type: 'color',
},
},
danger: {
onInverse: {
$value: '{base.color.red.9}',
$type: 'color',
},
},
severe: {
onInverse: {
$value: '{base.color.orange.8}',
$type: 'color',
},
},
done: {
onInverse: {
$value: '{base.color.purple.9}',
$type: 'color',
},
},
sponsors: {
onInverse: {
$value: '{base.color.pink.9}',
$type: 'color',
},
},
},
bgColor: {
emphasis: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,42 +10,24 @@
$value: '{base.color.blue.3}',
$type: 'color',
},
onInverse: {
$value: '{base.color.blue.5}',
$type: 'color',
},
},
danger: {
'@': {
$value: '{base.color.orange.4}',
$type: 'color',
},
},
severe: {
onInverse: {
$value: '{base.color.orange.5}',
$type: 'color',
},
},
open: {
'@': {
$value: '{base.color.orange.3}',
$type: 'color',
},
onInverse: {
$value: '{base.color.orange.5}',
$type: 'color',
},
},
closed: {
'@': {
$value: '{base.color.gray.3}',
$type: 'color',
},
onInverse: {
$value: '{base.color.gray.5}',
$type: 'color',
},
},
},
bgColor: {
Expand Down
16 changes: 0 additions & 16 deletions src/tokens/functional/color/dark/overrides/dark.tritanopia.json5
Original file line number Diff line number Diff line change
Expand Up @@ -10,40 +10,24 @@
$value: '{base.color.blue.3}',
$type: 'color',
},
onInverse: {
$value: '{base.color.blue.5}',
$type: 'color',
},
},
severe: {
'@': {
$value: '{base.color.red.4}',
$type: 'color',
},
onInverse: {
$value: '{base.color.red.5}',
$type: 'color',
},
},
open: {
'@': {
$value: '{base.color.red.4}',
$type: 'color',
},
onInverse: {
$value: '{base.color.red.6}',
$type: 'color',
},
},
closed: {
'@': {
$value: '{base.color.gray.4}',
$type: 'color',
},
onInverse: {
$value: '{base.color.gray.5}',
$type: 'color',
},
},
},
bgColor: {
Expand Down
148 changes: 0 additions & 148 deletions src/tokens/functional/color/dark/primitives-dark.json5
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,6 @@
},
},
},
onInverse: {
$value: '{base.color.gray.9}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'dark',
group: 'semantic',
scopes: ['fgColor'],
},
},
},
disabled: {
$value: '{base.color.gray.3}',
$type: 'color',
Expand Down Expand Up @@ -93,18 +81,6 @@
},
},
},
onInverse: {
$value: '{fgColor.accent.onInverse}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'dark',
group: 'semantic',
scopes: ['fgColor'],
},
},
},
},
neutral: {
'@': {
Expand All @@ -119,18 +95,6 @@
},
},
},
onInverse: {
$value: '{base.color.gray.5}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'dark',
group: 'semantic',
scopes: ['fgColor'],
},
},
},
},
accent: {
'@': {
Expand All @@ -152,18 +116,6 @@
weight: 0.35,
},
},
onInverse: {
$value: '{base.color.blue.5}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'dark',
group: 'semantic',
scopes: ['fgColor'],
},
},
},
},
success: {
'@': {
Expand All @@ -181,18 +133,6 @@
},
},
},
onInverse: {
$value: '{base.color.green.5}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'dark',
group: 'semantic',
scopes: ['fgColor'],
},
},
},
},
attention: {
'@': {
Expand All @@ -210,18 +150,6 @@
},
},
},
onInverse: {
$value: '{base.color.yellow.5}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'dark',
group: 'semantic',
scopes: ['fgColor'],
},
},
},
},
severe: {
'@': {
Expand All @@ -239,18 +167,6 @@
},
},
},
onInverse: {
$value: '{base.color.orange.5}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'dark',
group: 'semantic',
scopes: ['fgColor'],
},
},
},
},
danger: {
'@': {
Expand All @@ -268,22 +184,6 @@
},
},
},
onInverse: {
$value: '{base.color.red.5}',
$type: 'color',
mix: {
color: '{base.color.red.4}',
weight: 0.05,
},
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'dark',
group: 'semantic',
scopes: ['fgColor'],
},
},
},
},
open: {
'@': {
Expand All @@ -301,18 +201,6 @@
},
},
},
onInverse: {
$value: '{fgColor.success.onInverse}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'dark',
group: 'semantic',
scopes: ['fgColor'],
},
},
},
},
closed: {
'@': {
Expand All @@ -330,18 +218,6 @@
},
},
},
onInverse: {
$value: '{fgColor.danger.onInverse}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'dark',
group: 'semantic',
scopes: ['fgColor'],
},
},
},
},
done: {
'@': {
Expand All @@ -359,18 +235,6 @@
},
},
},
onInverse: {
$value: '{base.color.purple.5}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'dark',
group: 'semantic',
scopes: ['fgColor'],
},
},
},
},
sponsors: {
'@': {
Expand All @@ -388,18 +252,6 @@
},
},
},
onInverse: {
$value: '{base.color.pink.5}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'dark',
group: 'semantic',
scopes: ['fgColor'],
},
},
},
},
},
bgColor: {
Expand Down
Loading

0 comments on commit dda00a9

Please sign in to comment.