Skip to content

Commit 4a1baca

Browse files
authored
(fix) cybertopia themes render correctly in shadow DOM (#4277)
* Make cybertopia themes compatible with shadow DOM
1 parent 3ec4894 commit 4a1baca

File tree

5 files changed

+9
-4
lines changed

5 files changed

+9
-4
lines changed

CHANGES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ Documentation:
2222

2323
- alphabetized languages + upper-cased BASIC in SUPPORTED_LANGUAGES.md [Adam Lui][]
2424

25+
Themes:
26+
27+
- Fix: cybertopia themes render correctly in shadow DOM [hbgl][]
28+
2529
CONTRIBUTORS
2630

2731
[Josh Marchand]: https://github.com/yHSJ
@@ -36,6 +40,7 @@ CONTRIBUTORS
3640
[Sebastiaan Speck]: https://github.com/sebastiaanspeck
3741
[Filip Hoffmann]: https://github.com/folospior
3842
[Kerry Shetline]: https://github.com/kshetline
43+
[hbgl]: https://github.com/hbgl
3944

4045
## Version 11.11.1
4146

src/styles/cybertopia-cherry.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Repository: https://github.com/noraj/cybertopia-highlightjs
55
*/
66

7-
:root {
7+
:root, :host {
88
--hljs-bg: #101010;
99
--hljs-mono-1: #abb2bf;
1010
--hljs-mono-3: #5c6370;

src/styles/cybertopia-dimmer.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Repository: https://github.com/noraj/cybertopia-highlightjs
55
*/
66

7-
:root {
7+
:root, :host {
88
--hljs-bg: #101010;
99
--hljs-mono-1: #abb2bf;
1010
--hljs-mono-3: #5c6370;

src/styles/cybertopia-icecap.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Repository: https://github.com/noraj/cybertopia-highlightjs
55
*/
66

7-
:root {
7+
:root, :host {
88
--hljs-bg: #101010;
99
--hljs-mono-1: #abb2bf;
1010
--hljs-mono-3: #5c6370;

src/styles/cybertopia-saturated.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Repository: https://github.com/noraj/cybertopia-highlightjs
55
*/
66

7-
:root {
7+
:root, :host {
88
--hljs-bg: #101010;
99
--hljs-mono-1: #abb2bf;
1010
--hljs-mono-3: #5c6370;

0 commit comments

Comments
 (0)