Skip to content

Commit 2e65730

Browse files
authored
Merge pull request #41 from sudo-Harshk/feature/new-themes-collection
- add Gruvbox Dark and Matcha Light themes
2 parents f8c81b4 + e83b30e commit 2e65730

File tree

4 files changed

+78
-2
lines changed

4 files changed

+78
-2
lines changed

backend/themes.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ def get_available_themes(themes_dir: str) -> List[Dict[str, str]]:
4747
"monokai": "🎞️",
4848
"vue-high-contrast": "💚",
4949
"cobalt2": "🌊",
50-
"vs-blue": "🔷"
50+
"vs-blue": "🔷",
51+
"gruvbox-dark": "🟫",
52+
"matcha-light": "🍵"
5153
}
5254

5355
# Load all themes from themes folder

documentation/THEMES.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Built-in Themes
44

5-
NoteDiscovery comes with **8 beautiful themes** out of the box:
5+
NoteDiscovery comes with **10 beautiful themes** out of the box:
66

77
- 🌞 **Light** - Clean, professional, easy on the eyes
88
- 🌙 **Dark** - Modern dark mode for night owls
@@ -12,6 +12,8 @@ NoteDiscovery comes with **8 beautiful themes** out of the box:
1212
- 💚 **Vue High Contrast** - Dark theme with distinctive greenish tint and Vue.js aesthetics
1313
- 🌊 **Cobalt2** - Deep ocean blue with vibrant yellow highlights, inspired by Wes Bos
1414
- 🔷 **VS Blue** - Classic Visual Studio 2015 light blue professional theme
15+
- 🟫 **Gruvbox Dark** - A retro groove color scheme for Vim lovers
16+
- 🍵 **Matcha Light** - A vibrant, green-tinted light theme inspired by Doki Theme
1517

1618
Switch themes anytime from the sidebar dropdown. Your preference is saved automatically!
1719

themes/gruvbox-dark.css

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/* Gruvbox Dark Theme */
2+
/* Based on the popular retro groove color scheme for Vim */
3+
/* @theme-type: dark */
4+
5+
:root[data-theme="gruvbox-dark"] {
6+
/* Background colors */
7+
--bg-primary: #282828; /* bg0 (Normal) */
8+
--bg-secondary: #1d2021; /* bg0_h (Hard - Sidebar) */
9+
--bg-tertiary: #3c3836; /* bg1 (Inputs/Code) */
10+
--bg-hover: #504945; /* bg2 (Hover states) */
11+
--bg-active: #665c54; /* bg3 (Active/Selection) */
12+
13+
/* Text colors */
14+
--text-primary: #ebdbb2; /* fg1 */
15+
--text-secondary: #a89984; /* fg4 */
16+
--text-tertiary: #928374; /* gray */
17+
18+
/* Border colors */
19+
--border-primary: #3c3836; /* bg1 (Subtle borders) */
20+
--border-secondary: #504945; /* bg2 (Stronger borders) */
21+
22+
/* Accent colors - Gruvbox Orange */
23+
--accent-primary: #fe8019;
24+
--accent-hover: #d65d0e;
25+
--accent-light: rgba(254, 128, 25, 0.15);
26+
27+
/* Status colors */
28+
--success: #b8bb26; /* Green */
29+
--error: #fb4934; /* Red */
30+
--warning: #fabd2f; /* Yellow */
31+
32+
/* Shadows */
33+
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
34+
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
35+
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6);
36+
}

themes/matcha-light.css

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/* Matcha Light Theme */
2+
/* Inspired by Doki Theme (C.C. Code Geass) */
3+
/* @theme-type: light */
4+
5+
:root[data-theme="matcha-light"] {
6+
/* Background colors - Soft Lime/Matcha */
7+
--bg-primary: #f4fcd4; /* Main Editor BG */
8+
--bg-secondary: #e4f0bd; /* Sidebar / Header */
9+
--bg-tertiary: #d6e8a4; /* Inputs / Code Blocks */
10+
--bg-hover: #cbe090; /* Hover */
11+
--bg-active: #b0cc66; /* Active/Selection */
12+
13+
/* Text colors - Dark Forest Green */
14+
--text-primary: #3a4d22; /* Main Text */
15+
--text-secondary: #546e34; /* Comments */
16+
--text-tertiary: #7a9456; /* Faint text */
17+
18+
/* Border colors */
19+
--border-primary: #b8d17e;
20+
--border-secondary: #a2bf60;
21+
22+
/* Accent colors - Vibrant Green */
23+
--accent-primary: #5da60a; /* Strong Green */
24+
--accent-hover: #468205;
25+
--accent-light: rgba(93, 166, 10, 0.15);
26+
27+
/* Status colors */
28+
--success: #5da60a;
29+
--error: #d9534f;
30+
--warning: #f0ad4e;
31+
32+
/* Shadows */
33+
--shadow-sm: 0 1px 2px 0 rgba(58, 77, 34, 0.1);
34+
--shadow-md: 0 4px 6px -1px rgba(58, 77, 34, 0.15);
35+
--shadow-lg: 0 10px 15px -3px rgba(58, 77, 34, 0.15);
36+
}

0 commit comments

Comments
 (0)