Skip to content

Commit

Permalink
add some overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasoppermann committed Jan 28, 2025
1 parent 5a605c1 commit da8bd08
Show file tree
Hide file tree
Showing 6 changed files with 176 additions and 284 deletions.
1 change: 1 addition & 0 deletions scripts/validateTokenJson.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ if (getFlag('--silent') === null) {
// eslint-disable-next-line no-console
console.log(`\nPath: \u001b[34;1m\u001b[1m${path}\u001b[0m`)
// eslint-disable-next-line no-console
console.log(fail.errorsByPath[path][0]['errors'])
console.log(

Check failure on line 73 in scripts/validateTokenJson.ts

View workflow job for this annotation

GitHub Actions / Test & Lint

Unexpected console statement
fail.errorsByPath[path]
.map(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,6 @@
color: {
prettylights: {
syntax: {
'entity-tag': {
$value: '{base.color.blue.1}',
$type: 'color',
},
keyword: {
$value: '{base.color.orange.3}',
$type: 'color',
Expand All @@ -95,10 +91,6 @@
},
},
},
'string-regexp': {
$value: '{base.color.blue.1}',
$type: 'color',
},
markup: {
deleted: {
text: {
Expand All @@ -110,16 +102,6 @@
$type: 'color',
},
},
inserted: {
text: {
$value: '{base.color.blue.0}',
$type: 'color',
},
bg: {
$value: '{base.color.blue.8}',
$type: 'color',
},
},
},
},
},
Expand Down
40 changes: 0 additions & 40 deletions src/tokens/functional/color/dark/overrides/dark.tritanopia.json5
Original file line number Diff line number Diff line change
Expand Up @@ -44,44 +44,4 @@
},
},
},
color: {
prettylights: {
syntax: {
'string-regexp': {
$value: '{base.color.blue.1}',
$type: 'color',
},
'entity-tag': {
$value: '{base.color.blue.1}',
$type: 'color',
},
variable: {
$value: '{base.color.red.2}',
$type: 'color',
},
markup: {
inserted: {
text: {
$value: '{base.color.blue.0}',
$type: 'color',
},
bg: {
$value: '{base.color.blue.8}',
$type: 'color',
},
},
changed: {
text: {
$value: '{base.color.red.0}',
$type: 'color',
},
bg: {
$value: '{base.color.red.8}',
$type: 'color',
},
},
},
},
},
},
}
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,6 @@
},
},
},
'string-regexp': {
$value: '{base.color.blue.6}',
$type: 'color',
},
brackethighlighter: {
unmatched: {
$value: '{base.color.orange.7}',
Expand All @@ -110,16 +106,6 @@
$type: 'color',
},
},
inserted: {
text: {
$value: '{base.color.blue.6}',
$type: 'color',
},
bg: {
$value: '{base.color.blue.0}',
$type: 'color',
},
},
},
},
},
Expand Down
36 changes: 0 additions & 36 deletions src/tokens/functional/color/light/overrides/light.tritanopia.json5
Original file line number Diff line number Diff line change
Expand Up @@ -38,40 +38,4 @@
},
},
},
color: {
prettylights: {
syntax: {
'string-regexp': {
$value: '{base.color.blue.6}',
$type: 'color',
},
variable: {
$value: '{base.color.red.6}',
$type: 'color',
},
markup: {
inserted: {
text: {
$value: '{base.color.blue.6}',
$type: 'color',
},
bg: {
$value: '{base.color.blue.0}',
$type: 'color',
},
},
changed: {
text: {
$value: '{base.color.red.6}',
$type: 'color',
},
bg: {
$value: '{base.color.red.1}',
$type: 'color',
},
},
},
},
},
},
}
Loading

0 comments on commit da8bd08

Please sign in to comment.