]> gitweb.factorcode.org Git - factor.git/commitdiff
help.stylesheet: adding text-color to code-blocks.
authorJohn Benediktsson <mrjbq7@gmail.com>
Thu, 13 Jan 2022 21:37:54 +0000 (13:37 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Thu, 13 Jan 2022 21:37:54 +0000 (13:37 -0800)
basis/help/stylesheet/stylesheet.factor
basis/ui/theme/switching/switching.factor

index 6796c603852b11a850a880edb833d2520396689b..5935c0379b98608f78877ffeeb312c1673a50d15 100644 (file)
@@ -92,6 +92,7 @@ SYMBOL: code-style
 H{
     { font-name $ default-monospace-font-name }
     { font-size $ default-font-size }
+    { foreground $ text-color }
     { page-color $ code-background-color }
     { inset { 5 5 } }
     { wrap-margin f }
index 40466e2636d92f57ed2ec17bed2210e68cf48c90..2ae5aa5eaa571eec97835e70c401a4457b2a32cd 100644 (file)
@@ -32,6 +32,7 @@ t default-theme? set-global
     heading-style heading-color foreground update-style
     snippet-style snippet-color foreground update-style
     code-style code-background-color page-color update-style
+    code-style text-color foreground update-style
     output-style output-color foreground update-style
     url-style link-color foreground update-style
     warning-style warning-background-color page-color update-style