Skip to content

Commit 3beec17

Browse files
removed light mode (buggy)
1 parent 02137ed commit 3beec17

5 files changed

Lines changed: 1 addition & 90 deletions

File tree

docs/_includes/footer_custom.html

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,4 @@
44
<path d="M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0024 12c0-6.63-5.37-12-12-12z"/>
55
</svg>
66
</a>
7-
<button class="theme-toggle header-icon" onclick="toggleTheme()">
8-
<svg class="theme-icon sun-icon" viewBox="0 0 24 24" width="24" height="24" style="display: none;">
9-
<path d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zM2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1zm18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1zM11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1zm0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1zM5.99 4.58c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41L5.99 4.58zm12.37 12.37c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41l-1.06-1.06zm1.06-10.96c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06zM7.05 18.36c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06z"/>
10-
</svg>
11-
<svg class="theme-icon moon-icon" viewBox="0 0 24 24" width="24" height="24">
12-
<path d="M12.34 2.02C6.59 1.82 2 6.42 2 12c0 5.52 4.48 10 10 10 3.71 0 6.93-2.02 8.66-5.02-7.51-.25-13.54-6.15-8.32-14.96z"/>
13-
</svg>
14-
</button>
157
</div>

docs/_includes/head_custom.html

Lines changed: 0 additions & 49 deletions
This file was deleted.

docs/_sass/custom/custom.scss

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -67,33 +67,10 @@ p.note, blockquote.note {
6767
height: 24px !important;
6868
}
6969

70-
.dark .github-icon {
71-
fill: #ffffff;
72-
}
73-
74-
.light .github-icon {
75-
fill: #000000;
76-
}
77-
.theme-toggle {
78-
background: none;
79-
border: none;
80-
padding: 0;
81-
cursor: pointer;
82-
}
83-
.theme-icon {
84-
width: 24px !important;
85-
height: 24px !important;
86-
fill: #ffffff;
87-
}
88-
89-
.dark .theme-icon {
70+
.github-icon {
9071
fill: #ffffff;
9172
}
9273

93-
.light .theme-icon {
94-
fill: #000000;
95-
}
96-
9774
/* Mobile */
9875
@media (max-width: 800px) {
9976
.side-bar {

docs/assets/css/just-the-docs-dark.scss

Lines changed: 0 additions & 5 deletions
This file was deleted.

docs/assets/css/just-the-docs-light.scss

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)