Skip to content

Commit df96162

Browse files
committed
Fixed bg color for .note tt style and modified code highlight colors
1 parent 1074edc commit df96162

File tree

2 files changed

+48
-2
lines changed

2 files changed

+48
-2
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Python Docs - Dark Theme: Changelog
22

3+
4+
## **1.1.0** - Dev
5+
### Added
6+
- Support for syntax highlighting compatibility with dark colors
7+
8+
### Fixed
9+
- `css` syntax errors
10+
- Background color for `.note tt`
11+
12+
313
## **1.0.1** - 2020.11.11
414
### Fixed
515
- Background color for `tt.*` elements now gray. White artifacts removed.

python_docs_dark.user.css

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
@homepageURL https://github.com/maximilionus/python_docs_dark
55
@updateURL https://github.com/maximilionus/python_docs_dark/raw/master/python_docs_dark.user.css
66
@license MIT
7-
@version 1.0.1
7+
@version 1.1.0
88
@description Dark theme for docs.python.org
99
@author maximilionus <[email protected]>
1010
==/UserStyle== */
@@ -148,7 +148,11 @@
148148
}
149149

150150
tt {
151-
background-color: var(--background-gray)
151+
background-color: var(--background-gray);
152+
}
153+
154+
.note tt {
155+
background-color: var(--background-gray);
152156
}
153157

154158
.highlight .go {
@@ -158,4 +162,36 @@
158162
.highlight .nf {
159163
color: var(--text-code-red);
160164
}
165+
166+
.highlight .k {
167+
color: #34b75a;
168+
}
169+
170+
.highlight .kt {
171+
color: #e6572e;
172+
}
173+
174+
.highlight .cm {
175+
color: #46a7bf;
176+
}
177+
178+
.highlight .nb {
179+
color: #16d84e;
180+
}
181+
182+
.highlight .fm {
183+
color: #54afda;
184+
}
185+
186+
.highlight .bp {
187+
color: #6ed88c;
188+
}
189+
190+
.highlight .s2 {
191+
color: #a6d2ff;
192+
}
193+
194+
.highlight .se {
195+
color: #f3a68f;
196+
}
161197
}

0 commit comments

Comments
 (0)