From 9910c42ffb74f0b256c730bc96db8d16ea1d0e81 Mon Sep 17 00:00:00 2001 From: Akshay Gupta Date: Mon, 13 Feb 2023 11:06:39 +0530 Subject: [PATCH] Add styles for code tag --- public/style.css | 4 ++++ src/main.rs | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/public/style.css b/public/style.css index b3f8902..a1a5242 100644 --- a/public/style.css +++ b/public/style.css @@ -12,6 +12,10 @@ } } +code { + color: var(--accent); +} + body { font-family: sans-serif; background-color: #f6f6f6; diff --git a/src/main.rs b/src/main.rs index 1950ea7..26906cb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -345,7 +345,7 @@ impl Component for App {