Skip to content

Commit bfdc040

Browse files
authored
Merge pull request #49 from DinoBarton/master
Added new themes
2 parents 1936af3 + 94b5071 commit bfdc040

File tree

2 files changed

+23
-3
lines changed

2 files changed

+23
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ This is a minimal jekyll theme for writing blogs and about yourself.
2626

2727
## features
2828
1. Google Analytics
29-
2. Dark mode
29+
2. Many themes such as: Default, Solarized, and Sepia. All in light and dark modes.
3030
3. Disqus comments
3131
4. Categorization
3232
5. Emojis Support

assets/js/theme.js

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,32 @@
11
const themeMap = {
2-
'default': {
2+
'default-light': {
33
'background-color': 'white',
44
'text-color': '#222',
55
'highlight-color': '#eee'
66
},
7-
'dark': {
7+
'default-dark': {
88
'background-color': '#222',
99
'text-color': 'white',
1010
'highlight-color': '#2e2e2e'
11+
},
12+
'solarized-light': {
13+
'background-color': '#fdf6e3',
14+
'text-color': '#657b83',
15+
'highlight-color': '#eee8d5'
16+
},
17+
'solarized-dark': {
18+
'background-color': '#002b36',
19+
'text-color': '#839496',
20+
'highlight-color': '#073642'
21+
},
22+
'sepia-light': {
23+
'background-color': '#f4ecd8',
24+
'text-color': '#5b4636',
25+
'highlight-color': '#e4d5b7'
26+
},
27+
'sepia-dark': {
28+
'background-color': '#3e2c1c',
29+
'text-color': '#d8c3a5',
30+
'highlight-color': '#4b382a'
1131
}
1232
}

0 commit comments

Comments
 (0)