Set heading text color automatically for all themes

This commit is contained in:
Skylar Ittner 2018-02-13 23:36:40 -07:00
parent abd64f129c
commit 0cddfa3687

View File

@ -105,6 +105,7 @@ $pagesize = $database->get("page_sizes", ["sizewidth (width)", "sizeheight (heig
height: <?php echo ($pubdata["landscape"] == 0 ? $pagesize["height"] : $pagesize["width"]); ?>; height: <?php echo ($pubdata["landscape"] == 0 ? $pagesize["height"] : $pagesize["width"]); ?>;
} }
/* Set proper colors for the editor */
.note-dropdown-menu.dropdown-style { .note-dropdown-menu.dropdown-style {
background: var(--background) !important; background: var(--background) !important;
} }
@ -112,6 +113,10 @@ $pagesize = $database->get("page_sizes", ["sizewidth (width)", "sizeheight (heig
background: rgba(255,255,255,.25) !important; 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"); ?> <?php echo file_get_contents(__DIR__ . "/../themes/" . $pubdata['style'] . "/extra.css"); ?>
@media (max-width: 900px) { @media (max-width: 900px) {