commit e9ba76cf118e958c6ffbb7362137c306af2e8660 parent 8da991279b174154c51394fe1edb80fb53c75124 Author: Byron Torres <b@torresjrjr.com> Date: Wed, 19 Jan 2022 13:21:23 +0000 cmd/haredoc: -Fhtml: improve <pre> syntax colors Signed-off-by: Byron Torres <b@torresjrjr.com> Diffstat:
M | cmd/haredoc/html.ha | | | 20 | ++++++++++++++------ |
1 file changed, 14 insertions(+), 6 deletions(-)
diff --git a/cmd/haredoc/html.ha b/cmd/haredoc/html.ha @@ -886,21 +886,29 @@ details pre { color: #48a7f5; } - pre { - background-color: #1c1e20; - } - summary { - background: #1c1e20; + background: #16191c; } h3 { - border-bottom: solid #1c1e20; + border-bottom: solid #16191c; } h4:target + pre { background: #162329; } + + pre { + background-color: #16191c; + } + + pre .keyword { + color: #69f; + } + + pre .type { + color: #3cf; + } } </style> <nav>