Skip to content

Commit 885848a

Browse files
committed
Change syntax highlighting and adjust dark/light theme styles
1 parent 9aa6e94 commit 885848a

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

pelicanconf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
THEME_COLOR_AUTO_DETECT_BROWSER_PREFERENCE = True
1616
THEME_COLOR_ENABLE_USER_OVERRIDE = True
1717

18+
# Syntax highlighting
19+
PYGMENTS_STYLE = 'github' # Light mode
20+
PYGMENTS_STYLE_DARK = 'native' # Dark mode
21+
1822
# Static files
1923
STATIC_PATHS = ['images']
2024
SITELOGO = '/images/photo_2020-03-25_14-00-43.jpg'

theme/static/stylesheet/dark-theme.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)