Skip to content

Commit

Permalink
Add Catppuccin Frappe color theme (#6445)
Browse files Browse the repository at this point in the history
* feat: add catppuccin frappe color theme

Adds the catppuccin frappe color theme

* refactor: move frappe above mocha

Moves the frappe variant above the mocha variant

* fix: move from mochalight icon to frappelight

Moves from the mocha light icon to the frappe light icon.

---------

Co-authored-by: DontBlameMe <[email protected]>
  • Loading branch information
DontBlameMe99 and DontBlameMe authored Dec 28, 2024
1 parent ec58931 commit 550ce77
Show file tree
Hide file tree
Showing 10 changed files with 371 additions and 1 deletion.
4 changes: 4 additions & 0 deletions _icons/iconCatppuccinFrappeDarkSmall.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/iconCatppuccinFrappeLightSmall.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/textCatppuccinFrappeDarkSmall.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/textCatppuccinFrappeLightSmall.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,8 @@ function runApp() {
return '#282828'
case 'gruvbox-light':
return '#fbf1c7'
case 'catppuccin-frappe':
return '#303446'
case 'system':
default:
return nativeTheme.shouldUseDarkColors ? '#212121' : '#f1f1f1'
Expand Down
2 changes: 2 additions & 0 deletions src/renderer/components/ThemeSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ const BASE_THEME_VALUES = [
'hotPink',
'pastelPink',
// Third group
'catppuccinFrappe',
'catppuccinMocha',
'dracula',
'gruvboxDark',
Expand All @@ -145,6 +146,7 @@ const baseThemeNames = computed(() => [
t('Settings.Theme Settings.Base Theme.Hot Pink'),
t('Settings.Theme Settings.Base Theme.Pastel Pink'),
// Third group
t('Settings.Theme Settings.Base Theme.Catppuccin Frappe'),
t('Settings.Theme Settings.Base Theme.Catppuccin Mocha'),
t('Settings.Theme Settings.Base Theme.Dracula'),
t('Settings.Theme Settings.Base Theme.Gruvbox Dark'),
Expand Down
14 changes: 14 additions & 0 deletions src/renderer/composables/colors.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,20 @@ export function useColorTranslations() {
t('Settings.Theme Settings.Main Color Theme.Amber'),
t('Settings.Theme Settings.Main Color Theme.Orange'),
t('Settings.Theme Settings.Main Color Theme.Deep Orange'),
t('Settings.Theme Settings.Main Color Theme.Catppuccin Frappe Rosewater'),
t('Settings.Theme Settings.Main Color Theme.Catppuccin Frappe Flamingo'),
t('Settings.Theme Settings.Main Color Theme.Catppuccin Frappe Pink'),
t('Settings.Theme Settings.Main Color Theme.Catppuccin Frappe Mauve'),
t('Settings.Theme Settings.Main Color Theme.Catppuccin Frappe Red'),
t('Settings.Theme Settings.Main Color Theme.Catppuccin Frappe Maroon'),
t('Settings.Theme Settings.Main Color Theme.Catppuccin Frappe Peach'),
t('Settings.Theme Settings.Main Color Theme.Catppuccin Frappe Yellow'),
t('Settings.Theme Settings.Main Color Theme.Catppuccin Frappe Green'),
t('Settings.Theme Settings.Main Color Theme.Catppuccin Frappe Teal'),
t('Settings.Theme Settings.Main Color Theme.Catppuccin Frappe Sky'),
t('Settings.Theme Settings.Main Color Theme.Catppuccin Frappe Sapphire'),
t('Settings.Theme Settings.Main Color Theme.Catppuccin Frappe Blue'),
t('Settings.Theme Settings.Main Color Theme.Catppuccin Frappe Lavender'),
t('Settings.Theme Settings.Main Color Theme.Catppuccin Mocha Rosewater'),
t('Settings.Theme Settings.Main Color Theme.Catppuccin Mocha Flamingo'),
t('Settings.Theme Settings.Main Color Theme.Catppuccin Mocha Pink'),
Expand Down
14 changes: 14 additions & 0 deletions src/renderer/helpers/colors.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,20 @@ export const colors = [
{ name: 'Amber', value: '#FFAB00' },
{ name: 'Orange', value: '#FF6D00' },
{ name: 'DeepOrange', value: '#DD2C00' },
{ name: 'CatppuccinFrappeRosewater', value: '#f2d5cf' },
{ name: 'CatppuccinFrappeFlamingo', value: '#eebebe' },
{ name: 'CatppuccinFrappePink', value: '#f4b8e4' },
{ name: 'CatppuccinFrappeMauve', value: '#ca9ee6' },
{ name: 'CatppuccinFrappeRed', value: '#e78284' },
{ name: 'CatppuccinFrappeMaroon', value: '#ea999c' },
{ name: 'CatppuccinFrappePeach', value: '#ef9f76' },
{ name: 'CatppuccinFrappeYellow', value: '#e5c890' },
{ name: 'CatppuccinFrappeGreen', value: '#a6d189' },
{ name: 'CatppuccinFrappeTeal', value: '#81c8be' },
{ name: 'CatppuccinFrappeSky', value: '#99d1db' },
{ name: 'CatppuccinFrappeSapphire', value: '#85c1dc' },
{ name: 'CatppuccinFrappeBlue', value: '#8caaee' },
{ name: 'CatppuccinFrappeLavender', value: '#babbf1' },
{ name: 'CatppuccinMochaRosewater', value: '#F5E0DC' },
{ name: 'CatppuccinMochaFlamingo', value: '#F2CDCD' },
{ name: 'CatppuccinMochaPink', value: '#F5C2E7' },
Expand Down
Loading

0 comments on commit 550ce77

Please sign in to comment.