Set heading text color automatically for all themes
This commit is contained in:
parent
abd64f129c
commit
0cddfa3687
@ -105,6 +105,7 @@ $pagesize = $database->get("page_sizes", ["sizewidth (width)", "sizeheight (heig
|
||||
height: <?php echo ($pubdata["landscape"] == 0 ? $pagesize["height"] : $pagesize["width"]); ?>;
|
||||
}
|
||||
|
||||
/* Set proper colors for the editor */
|
||||
.note-dropdown-menu.dropdown-style {
|
||||
background: var(--background) !important;
|
||||
}
|
||||
@ -112,6 +113,10 @@ $pagesize = $database->get("page_sizes", ["sizewidth (width)", "sizeheight (heig
|
||||
background: rgba(255,255,255,.25) !important;
|
||||
}
|
||||
|
||||
.tile h1,h2,h3,h4,h5,h6 {
|
||||
color: var(--headings);
|
||||
}
|
||||
|
||||
<?php echo file_get_contents(__DIR__ . "/../themes/" . $pubdata['style'] . "/extra.css"); ?>
|
||||
|
||||
@media (max-width: 900px) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user