From 0cddfa36876af3e82e72355cb177b88db29cb51e Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Tue, 13 Feb 2018 23:36:40 -0700 Subject: [PATCH] Set heading text color automatically for all themes --- lib/gencontent.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/gencontent.php b/lib/gencontent.php index daf2bdc..fb70822 100644 --- a/lib/gencontent.php +++ b/lib/gencontent.php @@ -105,6 +105,7 @@ $pagesize = $database->get("page_sizes", ["sizewidth (width)", "sizeheight (heig height: ; } + /* 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); + } + @media (max-width: 900px) {