From ec29e1836ee2841dbf11737a3ee02e99e76d5d64 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Fri, 13 Jan 2023 14:49:59 +0400 Subject: [PATCH] Update configuration for colors --- astro.config.mjs | 3 +++ src/styles/global.css | 7 ++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index e67e96454..b9c871620 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -9,6 +9,9 @@ import { serializeSitemap, shouldIndexPage } from './sitemap.mjs'; export default defineConfig({ site: 'https://roadmap.sh', markdown: { + shikiConfig: { + theme: 'dracula' + }, rehypePlugins: [ [ rehypeExternalLinks, diff --git a/src/styles/global.css b/src/styles/global.css index 294135d39..f0b1f8a30 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -8,9 +8,10 @@ } } -.prose ul li code { - background: #1e1e3f; - color: #9efeff; +.prose ul li code, p code { + background: #1e1e3f !important; + color: #9efeff !important; + font-size: 14px; } .bg-stripes {