Skip to content

Commit

Permalink
Merge pull request #49 from DinoBarton/master
Browse files Browse the repository at this point in the history
Added new themes
  • Loading branch information
rohitjain00 authored Aug 3, 2024
2 parents 1936af3 + 94b5071 commit bfdc040
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This is a minimal jekyll theme for writing blogs and about yourself.

## features
1. Google Analytics
2. Dark mode
2. Many themes such as: Default, Solarized, and Sepia. All in light and dark modes.
3. Disqus comments
4. Categorization
5. Emojis Support
Expand Down
24 changes: 22 additions & 2 deletions assets/js/theme.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,32 @@
const themeMap = {
'default': {
'default-light': {
'background-color': 'white',
'text-color': '#222',
'highlight-color': '#eee'
},
'dark': {
'default-dark': {
'background-color': '#222',
'text-color': 'white',
'highlight-color': '#2e2e2e'
},
'solarized-light': {
'background-color': '#fdf6e3',
'text-color': '#657b83',
'highlight-color': '#eee8d5'
},
'solarized-dark': {
'background-color': '#002b36',
'text-color': '#839496',
'highlight-color': '#073642'
},
'sepia-light': {
'background-color': '#f4ecd8',
'text-color': '#5b4636',
'highlight-color': '#e4d5b7'
},
'sepia-dark': {
'background-color': '#3e2c1c',
'text-color': '#d8c3a5',
'highlight-color': '#4b382a'
}
}

0 comments on commit bfdc040

Please sign in to comment.