Skip to content

Commit b34b16e

Browse files
Add: Gruvbox color schemes & accent colors (#5887)
* Add: Gruvbox color schemes & accent colors Implements/adds the Gruvbox Dark Gruvbox Light color schemes. Also adds all the accent colors (Red, Green, Yellow, Blue, Purple, Aqua and Orange) * Keep A-Z sorted Co-authored-by: efb4f5ff-1298-471a-8973-3d47447115dc <73130443+efb4f5ff-1298-471a-8973-3d47447115dc@users.noreply.github.com> * Keep theme-settings.js sorted Keeps the file sorted from A-Z * Keep colors.js sorted Keeps the file sorted from A-Z * Add missing commas Adds two missing commas, which because of the sorting from A-Z * Keep sorting in en-US.yaml from A-Z Keeps the A-Z sorting in the en-US.yaml file * Delete duplicate line Co-authored-by: efb4f5ff-1298-471a-8973-3d47447115dc <73130443+efb4f5ff-1298-471a-8973-3d47447115dc@users.noreply.github.com> * Remove trailing comma Remove a trailing comma (,) Co-authored-by: efb4f5ff-1298-471a-8973-3d47447115dc <73130443+efb4f5ff-1298-471a-8973-3d47447115dc@users.noreply.github.com> * Remove unintentional formatting Removes the unintentional formatting, automatically done by my nvim lsp. This adds the blank space back in. * Fix gruvbox light video feed/status bar divider Fixes/Improves the color clarity between the status bar and the feed (the divider). * Fix: Profile menu no longer blends in with Background Fixes so that the profile menu no longer blends in with the background * Add Gruvbox Light accent colors - Adds the gruvbox light accent colors - Distinguishes between gruvbox light/dark colors by specifying "Gruvbox Dark Red" and "Gruvbox Light Red" * Remove colors with insufficient contrast Removes the colors which have insuficcient contrast: - Dark Red - Light Green - Light Yellow - Light Aqua * Remove unused translations * Remove unused css colors Removes unused css for colors: - Gruvbox Dark Red - Gruvbox Light Green - Gruvbox Light Yellow - Gruvbox Light Aqua * Improve text with accent readability Improves hte text with accent color readability * Improve accent color contrast Improves the accent color contrast to be 4.5 or above * Improve light color contrast & logo visibility - Improves the contrast of the light color scheme colors - Improves the visibility of the logo when the "match top bar with main color" is active * fix: unify main and sec sections Unifies the main and the secondary color accents, so both use/modify the same colors, instead of them (previously) using different colors. This makes the theme more predictable and modifyable. * fix: add missing opacity4 color Adds a missing color for all the gruvbox light secondary accent colors: the opacity4 accent color. --------- Co-authored-by: efb4f5ff-1298-471a-8973-3d47447115dc <73130443+efb4f5ff-1298-471a-8973-3d47447115dc@users.noreply.github.com>
1 parent 8b1284e commit b34b16e

File tree

9 files changed

+323
-1
lines changed

9 files changed

+323
-1
lines changed

_icons/iconGruvboxDarkSmall.svg

+4
Loading

_icons/iconGruvboxLightSmall.svg

+4
Loading

_icons/textGruvboxDarkSmall.svg

+4
Loading

_icons/textGruvboxLightSmall.svg

+4
Loading

src/main/index.js

+4
Original file line numberDiff line numberDiff line change
@@ -662,6 +662,10 @@ function runApp() {
662662
return '#002B36'
663663
case 'solarized-light':
664664
return '#fdf6e3'
665+
case 'gruvbox-dark':
666+
return '#282828'
667+
case 'gruvbox-light':
668+
return '#fbf1c7'
665669
case 'system':
666670
default:
667671
return nativeTheme.shouldUseDarkColors ? '#212121' : '#f1f1f1'

src/renderer/components/theme-settings/theme-settings.js

+4
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ export default defineComponent({
4545
// Third group
4646
'catppuccinMocha',
4747
'dracula',
48+
'gruvboxDark',
49+
'gruvboxLight',
4850
'solarizedDark',
4951
'solarizedLight'
5052
]
@@ -117,6 +119,8 @@ export default defineComponent({
117119
// Third group
118120
this.$t('Settings.Theme Settings.Base Theme.Catppuccin Mocha'),
119121
this.$t('Settings.Theme Settings.Base Theme.Dracula'),
122+
this.$t('Settings.Theme Settings.Base Theme.Gruvbox Dark'),
123+
this.$t('Settings.Theme Settings.Base Theme.Gruvbox Light'),
120124
this.$t('Settings.Theme Settings.Base Theme.Solarized Dark'),
121125
this.$t('Settings.Theme Settings.Base Theme.Solarized Light')
122126
]

src/renderer/helpers/colors.js

+20
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,16 @@ export const colors = [
3939
{ name: 'DraculaPurple', value: '#BD93F9' },
4040
{ name: 'DraculaRed', value: '#FF5555' },
4141
{ name: 'DraculaYellow', value: '#F1FA8C' },
42+
{ name: 'GruvboxDarkGreen', value: '#b8bb26' },
43+
{ name: 'GruvboxDarkYellow', value: '#fabd2f' },
44+
{ name: 'GruvboxDarkBlue', value: '#83a593' },
45+
{ name: 'GruvboxDarkPurple', value: '#d3869b' },
46+
{ name: 'GruvboxDarkAqua', value: '#8ec07c' },
47+
{ name: 'GruvboxDarkOrange', value: '#fe8019' },
48+
{ name: 'GruvboxLightRed', value: '#9d0006' },
49+
{ name: 'GruvboxLightBlue', value: '#076678' },
50+
{ name: 'GruvboxLightPurple', value: '#8f3f71' },
51+
{ name: 'GruvboxLightOrange', value: '#af3a03' },
4252
{ name: 'SolarizedYellow', value: '#b58900' },
4353
{ name: 'SolarizedOrange', value: '#cb4b16' },
4454
{ name: 'SolarizedRed', value: '#dc322f' },
@@ -88,6 +98,16 @@ export function getColorTranslations() {
8898
i18n.t('Settings.Theme Settings.Main Color Theme.Dracula Purple'),
8999
i18n.t('Settings.Theme Settings.Main Color Theme.Dracula Red'),
90100
i18n.t('Settings.Theme Settings.Main Color Theme.Dracula Yellow'),
101+
i18n.t('Settings.Theme Settings.Main Color Theme.Gruvbox Dark Green'),
102+
i18n.t('Settings.Theme Settings.Main Color Theme.Gruvbox Dark Yellow'),
103+
i18n.t('Settings.Theme Settings.Main Color Theme.Gruvbox Dark Blue'),
104+
i18n.t('Settings.Theme Settings.Main Color Theme.Gruvbox Dark Purple'),
105+
i18n.t('Settings.Theme Settings.Main Color Theme.Gruvbox Dark Aqua'),
106+
i18n.t('Settings.Theme Settings.Main Color Theme.Gruvbox Dark Orange'),
107+
i18n.t('Settings.Theme Settings.Main Color Theme.Gruvbox Light Red'),
108+
i18n.t('Settings.Theme Settings.Main Color Theme.Gruvbox Light Blue'),
109+
i18n.t('Settings.Theme Settings.Main Color Theme.Gruvbox Light Purple'),
110+
i18n.t('Settings.Theme Settings.Main Color Theme.Gruvbox Light Orange'),
91111
i18n.t('Settings.Theme Settings.Main Color Theme.Solarized Yellow'),
92112
i18n.t('Settings.Theme Settings.Main Color Theme.Solarized Orange'),
93113
i18n.t('Settings.Theme Settings.Main Color Theme.Solarized Red'),

0 commit comments

Comments
 (0)