xenua
2 years ago
9 changed files with 44 additions and 235 deletions
@ -1,80 +0,0 @@
@@ -1,80 +0,0 @@
|
||||
/* |
||||
* based on Monokai, modified to fit reasonable colors |
||||
*/ |
||||
@import 'reasonable-colors'; |
||||
|
||||
|
||||
.z-comment { |
||||
color: $color-gray-3; |
||||
} |
||||
.z-string { |
||||
color: $color-amber-2; |
||||
} |
||||
.z-constant.z-numeric { |
||||
color: $color-purple-3; |
||||
} |
||||
.z-constant.z-language { |
||||
color: $color-purple-3; |
||||
} |
||||
.z-constant.z-character, .z-constant.z-other { |
||||
color: $color-purple-3; |
||||
} |
||||
.z-keyword { |
||||
color: $color-raspberry-3; |
||||
} |
||||
.z-storage { |
||||
color: $color-raspberry-3; |
||||
} |
||||
.z-storage.z-type { |
||||
color: $color-powder-2; |
||||
font-style: italic; |
||||
} |
||||
.z-entity.z-name.z-class { |
||||
color: $color-green-2; |
||||
font-style: underline; |
||||
} |
||||
.z-entity.z-other.z-inherited-class { |
||||
color: $color-green-2; |
||||
font-style: underline; |
||||
font-style: italic; |
||||
} |
||||
.z-entity.z-name.z-function { |
||||
color: $color-green-2; |
||||
} |
||||
.z-variable.z-parameter { |
||||
color: $color-cinnamon-2; |
||||
font-style: italic; |
||||
} |
||||
.z-entity.z-name.z-tag { |
||||
color: $color-raspberry-3; |
||||
} |
||||
.z-entity.z-other.z-attribute-name { |
||||
color: $color-green-2; |
||||
} |
||||
.z-support.z-function { |
||||
color: $color-powder-2; |
||||
} |
||||
.z-support.z-constant { |
||||
color: $color-powder-2; |
||||
} |
||||
.z-support.z-type, .z-support.z-class { |
||||
color: $color-powder-2; |
||||
font-style: italic; |
||||
} |
||||
.z-invalid { |
||||
color: $color-gray-1; |
||||
background-color: $color-raspberry-3; |
||||
} |
||||
.z-invalid.z-deprecated { |
||||
color: $color-gray-1; |
||||
background-color: $color-purple-3; |
||||
} |
||||
.z-path { |
||||
color: $color-indigo-3; |
||||
} |
||||
.z-generic { |
||||
color: $color-green-3; |
||||
} |
||||
.z-return-type { |
||||
color: $color-green-2; |
||||
} |
@ -1,14 +0,0 @@
@@ -1,14 +0,0 @@
|
||||
let placeholder = document.getElementById('theme-toggle-placeholder'); |
||||
|
||||
if (placeholder) { |
||||
let toggle = document.createElement("span"); |
||||
toggle.id = "theme-toggle"; |
||||
toggle.addEventListener("click", () => { |
||||
toggle_theme_pref(); |
||||
update_theme(); |
||||
update_theme_toggle(); |
||||
}); |
||||
placeholder.replaceWith(toggle); |
||||
|
||||
update_theme_toggle(); |
||||
} |
Loading…
Reference in new issue