Skip to content

Commit 8203518

Browse files
committed
fix: improve light mode contrast and saturation
1 parent 10d402b commit 8203518

6 files changed

Lines changed: 32 additions & 32 deletions

File tree

lua/claret/groups/syntax.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function M.get(colors, config)
1515
Conditional = { fg = colors.rose_1 },
1616
Repeat = { fg = colors.rose_1 },
1717
Label = { fg = colors.rose_1 },
18-
Operator = { fg = colors.text_3 },
18+
Operator = { fg = colors.text_2 },
1919
Keyword = { fg = colors.rose_1, italic = config.italics.keywords },
2020
Exception = { fg = colors.rose_1, italic = config.italics.keywords },
2121
PreProc = { fg = colors.gold_1 },

lua/claret/groups/treesitter.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ function M.get(colors, config)
2121
['@boolean'] = { fg = colors.gold_1 },
2222
['@constant'] = { fg = colors.slate_1 },
2323
['@constant.builtin'] = { fg = colors.gold_1 },
24-
['@operator'] = { fg = colors.text_3 },
25-
['@punctuation.delimiter'] = { fg = colors.text_3 },
26-
['@punctuation.bracket'] = { fg = colors.text_3 },
24+
['@operator'] = { fg = colors.text_2 },
25+
['@punctuation.delimiter'] = { fg = colors.text_2 },
26+
['@punctuation.bracket'] = { fg = colors.text_2 },
2727
['@tag'] = { fg = colors.slate_1 },
2828
['@tag.attribute'] = { fg = colors.slate_2 },
2929
['@module'] = { fg = colors.text_2 },

lua/claret/palette.lua

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,24 +22,24 @@ return {
2222
terra_2 = '#B33A2E',
2323
},
2424
light = {
25-
bg = '#FDF8F3',
26-
bg_soft = '#F5EDE3',
27-
bg_mute = '#E8DDD0',
28-
divider = '#D4C8B8',
25+
bg = '#F4EBDF',
26+
bg_soft = '#E9DECE',
27+
bg_mute = '#DAD0C0',
28+
divider = '#C8BDA8',
2929
text = '#2A1F1A',
30-
text_2 = '#5A4D42',
31-
text_3 = '#7D7068',
32-
text_4 = '#A09489',
30+
text_2 = '#4D4035',
31+
text_3 = '#6B5F55',
32+
text_4 = '#928578',
3333
rose_1 = '#8B2252',
3434
rose_2 = '#722F37',
3535
rose_3 = '#5C1A2A',
36-
gold_1 = '#7D5B38',
37-
gold_2 = '#9A7245',
36+
gold_1 = '#96600A',
37+
gold_2 = '#A87010',
3838
gold_3 = '#5F4429',
39-
sage_1 = '#5A6B40',
40-
sage_2 = '#4A5934',
41-
slate_1 = '#4A5670',
42-
slate_2 = '#3A4558',
39+
sage_1 = '#456B28',
40+
sage_2 = '#3A5A20',
41+
slate_1 = '#3A4E6E',
42+
slate_2 = '#2E3E5A',
4343
terra_1 = '#A03025',
4444
terra_2 = '#8A2820',
4545
},

ports/opencode/claret.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,21 @@
1919
"dTerra1": "#C44536",
2020
"dDiffAddBg": "#1D2418",
2121
"dDiffRemBg": "#2A1417",
22-
"lBg": "#FDF8F3",
23-
"lBgSoft": "#F5EDE3",
24-
"lBgMute": "#E8DDD0",
25-
"lDivider": "#D4C8B8",
22+
"lBg": "#F4EBDF",
23+
"lBgSoft": "#E9DECE",
24+
"lBgMute": "#DAD0C0",
25+
"lDivider": "#C8BDA8",
2626
"lText": "#2A1F1A",
27-
"lText3": "#7D7068",
28-
"lText4": "#A09489",
27+
"lText3": "#6B5F55",
28+
"lText4": "#928578",
2929
"lRose1": "#8B2252",
3030
"lRose2": "#722F37",
31-
"lGold1": "#7D5B38",
32-
"lGold2": "#9A7245",
33-
"lSage1": "#5A6B40",
34-
"lSage2": "#4A5934",
35-
"lSlate1": "#4A5670",
36-
"lSlate2": "#3A4558",
31+
"lGold1": "#96600A",
32+
"lGold2": "#A87010",
33+
"lSage1": "#456B28",
34+
"lSage2": "#3A5A20",
35+
"lSlate1": "#3A4E6E",
36+
"lSlate2": "#2E3E5A",
3737
"lTerra1": "#A03025",
3838
"lDiffAddBg": "#EAF1E2",
3939
"lDiffRemBg": "#F5E3E1"

tests/palette_spec.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ local config = require('claret.config')
55

66
helpers.assert_eq(palette.dark.bg, '#180810', 'dark bg')
77
helpers.assert_eq(palette.dark.slate_1, '#8995A8', 'dark slate accent')
8-
helpers.assert_eq(palette.light.bg, '#FDF8F3', 'light bg')
9-
helpers.assert_eq(palette.light.gold_1, '#7D5B38', 'light walnut gold')
8+
helpers.assert_eq(palette.light.bg, '#F4EBDF', 'light bg')
9+
helpers.assert_eq(palette.light.gold_1, '#96600A', 'light walnut gold')
1010

1111
local defaults = config.defaults()
1212
helpers.assert_eq(defaults.variant, 'auto', 'default variant')

tests/plugins_spec.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ claret.load()
66

77
local cases = {
88
{ 'BlinkCmpMenu', '#211618', 'bg' },
9-
{ 'NoiceCmdlinePopupBorder', '#8995A8' },
9+
{ 'NoiceCmdlinePopupBorder', '#8995A8' },
1010
{ 'WhichKey', '#C75B7A' },
1111
{ 'FlashLabel', '#180810' },
1212
{ 'GitSignsAdd', '#8FA86E' },

0 commit comments

Comments
 (0)