mirror of
https://github.com/InsanusMokrassar/docs.git
synced 2025-10-25 17:20:14 +00:00
deploy: 11a83139db
This commit is contained in:
10
resources/js/mermaid_dark_light_switcher.js
Normal file
10
resources/js/mermaid_dark_light_switcher.js
Normal file
@@ -0,0 +1,10 @@
|
||||
var paletteSwitcher1 = document.getElementById("__palette_1");
|
||||
var paletteSwitcher2 = document.getElementById("__palette_2");
|
||||
|
||||
paletteSwitcher1.addEventListener("change", function () {
|
||||
location.reload();
|
||||
});
|
||||
|
||||
paletteSwitcher2.addEventListener("change", function () {
|
||||
location.reload();
|
||||
});
|
||||
@@ -3,11 +3,11 @@
|
||||
}
|
||||
|
||||
.navigation-paused > rect {
|
||||
fill: #FFFF00AA !important;
|
||||
color: black !important;
|
||||
fill: #b2b200 !important;
|
||||
color: white !important;
|
||||
}
|
||||
|
||||
.navigation-resumed > rect {
|
||||
fill: #00FF0022 !important;
|
||||
fill: seagreen !important;
|
||||
color: white !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user