Skip to content

Commit

Permalink
feat: light color detail
Browse files Browse the repository at this point in the history
  • Loading branch information
wiidede committed Jun 16, 2023
1 parent ca4fd8d commit f93f038
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const ThemesColors = {
blue: ['#009ACE', '#00BFFF'],
red: ['#FF7276', '#FF7477'],
orange: ['#FFAA4D', '#E87600'],
yellow: ['#FFE900', '#BDAA00'],
yellow: ['#FFE900', '#D4C100'],
magenta: ['#EA27C2', '#FF2BD3'],
purple: ['#775FC0', '#856ACE'],

Expand Down
9 changes: 6 additions & 3 deletions src/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ export default function getTheme({ style, name, soft = false, black = false }) {

'button.background': primary,
'button.foreground': background,
'button.hoverBackground': primary,
'button.hoverBackground': primaryLight,
'button.secondaryForeground': foreground,
'button.secondaryBackground': primer.gray[3],
'button.secondaryHoverBackground': primer.gray[2],

'checkbox.background': activeBackground,
'checkbox.border': pick({ light: primer.gray[3], dark: primer.gray[1] }),
Expand Down Expand Up @@ -191,8 +194,8 @@ export default function getTheme({ style, name, soft = false, black = false }) {
'editor.wordHighlightStrongBackground': `${primary}30`, // pick({ light: '#1c6b4810', dark: '#1c6b4810' }),
// 'editorBracketMatch.background': pick({ light: '#1c6b4820', dark: '#4d937520' }),

'diffEditor.insertedTextBackground': `${themeColor('green')}40`, // pick({ light: '#1c6b4815', dark: '#4d937522' }),
'diffEditor.removedTextBackground': `${themeColor('red')}40`, // pick({ light: '#ab595910', dark: '#ab595922' }),
'diffEditor.insertedTextBackground': pick({ light: `${themeColor('green')}10`, dark: `${themeColor('green')}40` }),
'diffEditor.removedTextBackground': pick({ light: `${themeColor('red')}10`, dark: `${themeColor('red')}40` }),

'scrollbar.shadow': themeColor('background'),
'scrollbarSlider.background': themeColor('faded'),
Expand Down
19 changes: 11 additions & 8 deletions themes/liquid-ray-light.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@
"textSeparator.foreground": "#dadad1",
"button.background": "#834DF7",
"button.foreground": "#ffffff",
"button.hoverBackground": "#834DF7",
"button.hoverBackground": "#926AE7",
"button.secondaryForeground": "#606060",
"button.secondaryBackground": "#dadad1",
"button.secondaryHoverBackground": "#e8e8e1",
"checkbox.background": "#f5f5f5",
"checkbox.border": "#dadad1",
"dropdown.background": "#ffffff",
Expand Down Expand Up @@ -130,8 +133,8 @@
"editor.selectionHighlightBackground": "#22222208",
"editor.wordHighlightBackground": "#834DF730",
"editor.wordHighlightStrongBackground": "#834DF730",
"diffEditor.insertedTextBackground": "#44D62C40",
"diffEditor.removedTextBackground": "#FF747740",
"diffEditor.insertedTextBackground": "#44D62C10",
"diffEditor.removedTextBackground": "#FF747710",
"scrollbar.shadow": "#ffffff",
"scrollbarSlider.background": "#393a3410",
"scrollbarSlider.hoverBackground": "#393a3450",
Expand All @@ -152,18 +155,18 @@
"terminal.ansiBrightMagenta": "#FF2BD3",
"terminal.ansiBrightRed": "#FF7477",
"terminal.ansiBrightWhite": "#dddddd",
"terminal.ansiBrightYellow": "#BDAA00",
"terminal.ansiBrightYellow": "#D4C100",
"terminal.ansiBlack": "#252526",
"terminal.ansiBlue": "#00BFFF",
"terminal.ansiCyan": "#00B796",
"terminal.ansiGreen": "#44D62C",
"terminal.ansiMagenta": "#FF2BD3",
"terminal.ansiRed": "#FF7477",
"terminal.ansiWhite": "#ACA79F",
"terminal.ansiYellow": "#BDAA00",
"terminal.ansiYellow": "#D4C100",
"gitDecoration.addedResourceForeground": "#44D62C",
"gitDecoration.modifiedResourceForeground": "#00BFFF",
"gitDecoration.stageModifiedResourceForeground": "#BDAA00",
"gitDecoration.stageModifiedResourceForeground": "#D4C100",
"gitDecoration.deletedResourceForeground": "#FF7477",
"gitDecoration.stageDeletedResourceForeground": "#FF2BD3",
"gitDecoration.untrackedResourceForeground": "#00B796",
Expand Down Expand Up @@ -479,7 +482,7 @@
{
"scope": "string.regexp constant.character.escape",
"settings": {
"foreground": "#BDAA00"
"foreground": "#D4C100"
}
},
{
Expand Down Expand Up @@ -991,7 +994,7 @@
},
{
"token": "string.regexp constant.character.escape",
"foreground": "BDAA00"
"foreground": "D4C100"
},
{
"token": "support.constant",
Expand Down
5 changes: 4 additions & 1 deletion themes/liquid-ray-theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@
"textSeparator.foreground": "#696958",
"button.background": "#997ADB",
"button.foreground": "#252526",
"button.hoverBackground": "#997ADB",
"button.hoverBackground": "#C0AEE7",
"button.secondaryForeground": "#ACA79F",
"button.secondaryBackground": "#696958",
"button.secondaryHoverBackground": "#564444",
"checkbox.background": "#202021",
"checkbox.border": "#3d2f2f",
"dropdown.background": "#252526",
Expand Down

0 comments on commit f93f038

Please sign in to comment.