Update light theme

This commit is contained in:
Nate Butler 2022-04-06 12:25:02 -04:00
parent d3cfd1c974
commit e584e892f4

View file

@ -65,7 +65,7 @@ const textColor = {
muted: colors.neutral[550], muted: colors.neutral[550],
placeholder: colors.neutral[450], placeholder: colors.neutral[450],
active: colors.neutral[900], active: colors.neutral[900],
feature: colors.indigo[500], feature: colors.indigo[600],
ok: colors.green[500], ok: colors.green[500],
error: colors.red[500], error: colors.red[500],
warning: colors.yellow[500], warning: colors.yellow[500],
@ -96,7 +96,6 @@ const player = {
8: buildPlayer(colors.yellow[400]), 8: buildPlayer(colors.yellow[400]),
}; };
// TODO: Fixup
const editor = { const editor = {
background: backgroundColor[500].base, background: backgroundColor[500].base,
indent_guide: borderColor.muted, indent_guide: borderColor.muted,
@ -111,10 +110,10 @@ const editor = {
highlight: { highlight: {
selection: player[1].selectionColor, selection: player[1].selectionColor,
occurrence: withOpacity(colors.neutral[900], 0.06), occurrence: withOpacity(colors.neutral[900], 0.06),
activeOccurrence: withOpacity(colors.neutral[900], 0.16), // TODO: This is not correctly hooked up to occurences on the rust side activeOccurrence: withOpacity(colors.neutral[900], 0.16), // TODO: This is not hooked up to occurences on the rust side
matchingBracket: colors.neutral[0], matchingBracket: colors.neutral[0],
match: withOpacity(colors.red[500], 0.2), match: withOpacity(colors.red[500], 0.2),
activeMatch: withOpacity(colors.indigo[400], 0.36), activeMatch: withOpacity(colors.indigo[400], 0.36), // TODO: This is not hooked up to occurences on the rust side
related: colors.neutral[0], related: colors.neutral[0],
}, },
gutter: { gutter: {
@ -145,19 +144,19 @@ const syntax: Syntax = {
weight: fontWeights.normal, weight: fontWeights.normal,
}, },
function: { function: {
color: colors.orange[400], color: colors.orange[600],
weight: fontWeights.normal, weight: fontWeights.normal,
}, },
type: { type: {
color: colors.amber[500], color: colors.yellow[600],
weight: fontWeights.normal, weight: fontWeights.normal,
}, },
variant: { variant: {
color: colors.sky[500], color: colors.rose[700],
weight: fontWeights.normal, weight: fontWeights.normal,
}, },
property: { property: {
color: colors.emerald[600], color: colors.emerald[700],
weight: fontWeights.normal, weight: fontWeights.normal,
}, },
enum: { enum: {