make font color of inline code configurable
authorDan Allen <dan@opendevise.com>
Wed, 17 Jul 2019 09:12:38 +0000 (03:12 -0600)
committerDan Allen <dan@opendevise.com>
Wed, 17 Jul 2019 09:12:38 +0000 (03:12 -0600)
src/css/doc.css
src/css/vars.css

index bbd43ca..fe59e86 100644 (file)
 
 .doc p code,
 .doc thead code {
-  font-size: 0.9em;
+  color: var(--code-font-color);
   background: var(--code-background);
-  padding: 0.075rem 0.25rem 0.125rem;
   border-radius: 0.2rem;
+  font-size: 0.9em;
+  padding: 0.075rem 0.25rem 0.125rem;
 }
 
 .doc pre {
index 174882a..83f237b 100644 (file)
@@ -73,6 +73,7 @@
   --admonition-background: var(--panel-background);
   --caption-font-color: var(--color-gray-50);
   --code-background: var(--panel-background);
+  --code-font-color: var(--body-font-color);
   --example-background: var(--color-white);
   --example-border-color: #638282; /* #2f5958 */
   --kbd-background: var(--panel-background);