Fixed scrollbars in a dark theme to be accessible
This commit is contained in:
@@ -19,12 +19,19 @@
|
||||
containerDiv.style.fontSize = size;
|
||||
}
|
||||
|
||||
function ChangePrefferedTheme(theme) {
|
||||
document.documentElement.setAttribute('data-theme', theme);
|
||||
function SetLightEditor() {
|
||||
document.documentElement.setAttribute('data-theme', 'light');
|
||||
DarkReader.disable();
|
||||
}
|
||||
|
||||
function SetDarkEditor() {
|
||||
document.documentElement.setAttribute('data-theme', 'dark');
|
||||
DarkReader.enable();
|
||||
}
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="https://app.reader/reader.css" />
|
||||
<link rel="stylesheet" href="https://app.reader/global.css" />
|
||||
|
||||
<div id="readerDiv">
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user