Skip to content

Commit b338c94

Browse files
authored
Update to better account for invalid strings (#28)
1 parent 328308d commit b338c94

9 files changed

Lines changed: 26 additions & 260 deletions

color-comparison.html

Lines changed: 0 additions & 234 deletions
This file was deleted.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@pierre/theme",
33
"displayName": "Pierre Theme",
44
"description": "Pierre theme for Shiki, VS Code, and more",
5-
"version": "0.0.23",
5+
"version": "0.0.24",
66
"publisher": "pierrecomputer",
77
"icon": "icon.png",
88
"galleryBanner": {

src/palette.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ export const light: Roles = {
277277
namespace: yellow["600"],
278278
decorator: blue["500"],
279279
escape: cyan["600"],
280-
invalid: "#ffffff",
280+
invalid: gray["1040"],
281281
tag: red["600"],
282282
attribute: mint["600"]
283283
},
@@ -354,7 +354,7 @@ export const dark: Roles = {
354354
namespace: yellow["500"],
355355
decorator: blue["400"],
356356
escape: cyan["400"],
357-
invalid: "#ffffff",
357+
invalid: gray["020"],
358358
tag: red["400"],
359359
attribute: mint["400"]
360360
},

themes/pierre-dark-vibrant.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1405,7 +1405,7 @@
14051405
{
14061406
"scope": "constant.other.color.rgb-value.xi",
14071407
"settings": {
1408-
"foreground": "color(display-p3 1.000000 1.000000 1.000000)"
1408+
"foreground": "color(display-p3 0.984314 0.984314 0.984314)"
14091409
}
14101410
},
14111411
{
@@ -1874,25 +1874,25 @@
18741874
{
18751875
"scope": "invalid.illegal",
18761876
"settings": {
1877-
"foreground": "color(display-p3 1.000000 1.000000 1.000000)"
1877+
"foreground": "color(display-p3 0.984314 0.984314 0.984314)"
18781878
}
18791879
},
18801880
{
18811881
"scope": "invalid.broken",
18821882
"settings": {
1883-
"foreground": "color(display-p3 1.000000 1.000000 1.000000)"
1883+
"foreground": "color(display-p3 0.984314 0.984314 0.984314)"
18841884
}
18851885
},
18861886
{
18871887
"scope": "invalid.deprecated",
18881888
"settings": {
1889-
"foreground": "color(display-p3 1.000000 1.000000 1.000000)"
1889+
"foreground": "color(display-p3 0.984314 0.984314 0.984314)"
18901890
}
18911891
},
18921892
{
18931893
"scope": "invalid.unimplemented",
18941894
"settings": {
1895-
"foreground": "color(display-p3 1.000000 1.000000 1.000000)"
1895+
"foreground": "color(display-p3 0.984314 0.984314 0.984314)"
18961896
}
18971897
}
18981898
],

themes/pierre-dark.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1405,7 +1405,7 @@
14051405
{
14061406
"scope": "constant.other.color.rgb-value.xi",
14071407
"settings": {
1408-
"foreground": "#ffffff"
1408+
"foreground": "#fbfbfb"
14091409
}
14101410
},
14111411
{
@@ -1874,25 +1874,25 @@
18741874
{
18751875
"scope": "invalid.illegal",
18761876
"settings": {
1877-
"foreground": "#ffffff"
1877+
"foreground": "#fbfbfb"
18781878
}
18791879
},
18801880
{
18811881
"scope": "invalid.broken",
18821882
"settings": {
1883-
"foreground": "#ffffff"
1883+
"foreground": "#fbfbfb"
18841884
}
18851885
},
18861886
{
18871887
"scope": "invalid.deprecated",
18881888
"settings": {
1889-
"foreground": "#ffffff"
1889+
"foreground": "#fbfbfb"
18901890
}
18911891
},
18921892
{
18931893
"scope": "invalid.unimplemented",
18941894
"settings": {
1895-
"foreground": "#ffffff"
1895+
"foreground": "#fbfbfb"
18961896
}
18971897
}
18981898
],

themes/pierre-light-vibrant.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1405,7 +1405,7 @@
14051405
{
14061406
"scope": "constant.other.color.rgb-value.xi",
14071407
"settings": {
1408-
"foreground": "color(display-p3 1.000000 1.000000 1.000000)"
1408+
"foreground": "color(display-p3 0.027451 0.027451 0.027451)"
14091409
}
14101410
},
14111411
{
@@ -1874,25 +1874,25 @@
18741874
{
18751875
"scope": "invalid.illegal",
18761876
"settings": {
1877-
"foreground": "color(display-p3 1.000000 1.000000 1.000000)"
1877+
"foreground": "color(display-p3 0.027451 0.027451 0.027451)"
18781878
}
18791879
},
18801880
{
18811881
"scope": "invalid.broken",
18821882
"settings": {
1883-
"foreground": "color(display-p3 1.000000 1.000000 1.000000)"
1883+
"foreground": "color(display-p3 0.027451 0.027451 0.027451)"
18841884
}
18851885
},
18861886
{
18871887
"scope": "invalid.deprecated",
18881888
"settings": {
1889-
"foreground": "color(display-p3 1.000000 1.000000 1.000000)"
1889+
"foreground": "color(display-p3 0.027451 0.027451 0.027451)"
18901890
}
18911891
},
18921892
{
18931893
"scope": "invalid.unimplemented",
18941894
"settings": {
1895-
"foreground": "color(display-p3 1.000000 1.000000 1.000000)"
1895+
"foreground": "color(display-p3 0.027451 0.027451 0.027451)"
18961896
}
18971897
}
18981898
],

0 commit comments

Comments
 (0)