Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add: Gruvbox color schemes & accent colors #5887

Merged
merged 20 commits into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions _icons/iconGruvboxDarkSmall.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions _icons/iconGruvboxLightSmall.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions _icons/textGruvboxDarkSmall.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions _icons/textGruvboxLightSmall.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,10 @@ function runApp() {
return '#002B36'
case 'solarized-light':
return '#fdf6e3'
case 'gruvbox-dark':
return '#282828'
case 'gruvbox-light':
return '#fbf1c7'
case 'system':
default:
return nativeTheme.shouldUseDarkColors ? '#212121' : '#f1f1f1'
Expand Down
4 changes: 4 additions & 0 deletions src/renderer/components/theme-settings/theme-settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ export default defineComponent({
// Third group
'catppuccinMocha',
'dracula',
'gruvboxDark',
'gruvboxLight',
'solarizedDark',
'solarizedLight'
]
Expand Down Expand Up @@ -117,6 +119,8 @@ export default defineComponent({
// Third group
this.$t('Settings.Theme Settings.Base Theme.Catppuccin Mocha'),
this.$t('Settings.Theme Settings.Base Theme.Dracula'),
this.$t('Settings.Theme Settings.Base Theme.Gruvbox Dark'),
this.$t('Settings.Theme Settings.Base Theme.Gruvbox Light'),
this.$t('Settings.Theme Settings.Base Theme.Solarized Dark'),
this.$t('Settings.Theme Settings.Base Theme.Solarized Light')
DontBlameMe99 marked this conversation as resolved.
Show resolved Hide resolved
]
Expand Down
20 changes: 20 additions & 0 deletions src/renderer/helpers/colors.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,16 @@ export const colors = [
{ name: 'DraculaPurple', value: '#BD93F9' },
{ name: 'DraculaRed', value: '#FF5555' },
{ name: 'DraculaYellow', value: '#F1FA8C' },
{ name: 'GruvboxDarkGreen', value: '#b8bb26' },
{ name: 'GruvboxDarkYellow', value: '#fabd2f' },
{ name: 'GruvboxDarkBlue', value: '#83a593' },
{ name: 'GruvboxDarkPurple', value: '#d3869b' },
{ name: 'GruvboxDarkAqua', value: '#8ec07c' },
{ name: 'GruvboxDarkOrange', value: '#fe8019' },
{ name: 'GruvboxLightRed', value: '#9d0006' },
{ name: 'GruvboxLightBlue', value: '#076678' },
{ name: 'GruvboxLightPurple', value: '#8f3f71' },
{ name: 'GruvboxLightOrange', value: '#af3a03' },
{ name: 'SolarizedYellow', value: '#b58900' },
{ name: 'SolarizedOrange', value: '#cb4b16' },
{ name: 'SolarizedRed', value: '#dc322f' },
Expand Down Expand Up @@ -88,6 +98,16 @@ export function getColorTranslations() {
i18n.t('Settings.Theme Settings.Main Color Theme.Dracula Purple'),
i18n.t('Settings.Theme Settings.Main Color Theme.Dracula Red'),
i18n.t('Settings.Theme Settings.Main Color Theme.Dracula Yellow'),
i18n.t('Settings.Theme Settings.Main Color Theme.Gruvbox Dark Green'),
i18n.t('Settings.Theme Settings.Main Color Theme.Gruvbox Dark Yellow'),
i18n.t('Settings.Theme Settings.Main Color Theme.Gruvbox Dark Blue'),
i18n.t('Settings.Theme Settings.Main Color Theme.Gruvbox Dark Purple'),
i18n.t('Settings.Theme Settings.Main Color Theme.Gruvbox Dark Aqua'),
i18n.t('Settings.Theme Settings.Main Color Theme.Gruvbox Dark Orange'),
i18n.t('Settings.Theme Settings.Main Color Theme.Gruvbox Light Red'),
i18n.t('Settings.Theme Settings.Main Color Theme.Gruvbox Light Blue'),
i18n.t('Settings.Theme Settings.Main Color Theme.Gruvbox Light Purple'),
i18n.t('Settings.Theme Settings.Main Color Theme.Gruvbox Light Orange'),
i18n.t('Settings.Theme Settings.Main Color Theme.Solarized Yellow'),
i18n.t('Settings.Theme Settings.Main Color Theme.Solarized Orange'),
i18n.t('Settings.Theme Settings.Main Color Theme.Solarized Red'),
Expand Down
Loading