File tree 3 files changed +30
-3
lines changed
3 files changed +30
-3
lines changed Original file line number Diff line number Diff line change
1
+ # logo_light_mode {
2
+ display : var (--md-footer-logo-light-mode );
3
+ }
4
+
5
+ # logo_dark_mode {
6
+ display : var (--md-footer-logo-dark-mode );
7
+ }
8
+
9
+ [data-md-color-scheme = "default" ] {
10
+ --md-footer-logo-dark-mode : none;
11
+ --md-footer-logo-light-mode : block;
12
+ }
13
+
14
+ [data-md-color-scheme = "slate" ] {
15
+ --md-footer-logo-dark-mode : block;
16
+ --md-footer-logo-light-mode : none;
17
+ }
18
+
Original file line number Diff line number Diff line change 30
30
# Configuration
31
31
theme :
32
32
favicon : assets/images/favicon.png
33
- logo : assets/images/icon_dark.png
33
+ # logo: assets/images/icon_dark.png
34
+ custom_dir : overrides
35
+ logo_dark_mode : assets/images/icon_white.png
36
+ logo_light_mode : assets/images/icon_dark.png
34
37
name : material
35
38
language : en
36
39
font :
@@ -53,14 +56,14 @@ theme:
53
56
- media : " (prefers-color-scheme: light)"
54
57
scheme : default
55
58
primary : white
56
- accent : indigo
59
+ accent : blue
57
60
toggle :
58
61
icon : material/weather-night
59
62
name : Switch to dark mode
60
63
- media : " (prefers-color-scheme: dark)"
61
64
scheme : slate
62
65
primary : black
63
- accent : indigo
66
+ accent : blue
64
67
toggle :
65
68
icon : material/weather-sunny
66
69
name : Switch to light mode
@@ -78,6 +81,10 @@ extra:
78
81
- icon : fontawesome/brands/linkedin
79
82
link : https://www.linkedin.com/company/natron-tech
80
83
84
+ # Extra CSS
85
+ extra_css :
86
+ - stylesheets/extra.css
87
+
81
88
# Markdown extensions
82
89
markdown_extensions :
83
90
- pymdownx.emoji :
Original file line number Diff line number Diff line change
1
+ < img id ="logo_light_mode " src ="{{ config.theme.logo_light_mode | url }} " alt ="logo ">
2
+ < img id ="logo_dark_mode " src ="{{ config.theme.logo_dark_mode | url }} " alt ="logo ">
You can’t perform that action at this time.
0 commit comments