From ef7be7d6cdd6139459d98f13b7cdae03157bd2b1 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Mon, 10 Jul 2023 11:22:17 -0500 Subject: [PATCH] Nah --- src/stylus/core.styl | 4 ++-- src/stylus/theme.styl | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/stylus/core.styl b/src/stylus/core.styl index db3dc0a..405c7a3 100644 --- a/src/stylus/core.styl +++ b/src/stylus/core.styl @@ -133,8 +133,8 @@ html,body right 0 top 0 - > p code, > h1 code, > h2 code, > h3 code, > h4 code, > h5 code, > h6 code, blockquote code - padding 0.1em 0.25em + > p code, > ol code, > ul code, > h1 code, > h2 code, > h3 code, > h4 code, > h5 code, > h6 code, blockquote code + padding 0.25em border-radius 0.25em background-color var(--inline-code-bg) diff --git a/src/stylus/theme.styl b/src/stylus/theme.styl index 4329108..d55bf06 100644 --- a/src/stylus/theme.styl +++ b/src/stylus/theme.styl @@ -37,7 +37,8 @@ light-theme = { --header-bg: rgba(255, 255, 255, 0.1), --header-hover-bg: rgba(255, 255, 255, 0.2), --fg: #4c4f69, - --inline-code-bg: rgba(0,0,0,0.08), + --inline-code-bg: rgba(255,255,255,0.2), + --inline-code-fg: #000000, --input-bg: #dce0e8, --input-hover-bg: rgba(0, 0, 0, 0.16), --input-focus-bg: var(--input-bg), @@ -65,7 +66,8 @@ dark-theme = { --heading-fg: #cdd6f4, --link-fg: mocha['sapphire'], --link-visited-fg: alpha(mocha['mauve'], 1.0), - --inline-code-bg: rgba(255,255,255,0.05), + --inline-code-bg: rgba(0,0,0,0.2), + --inline-code-fg: #ffffff, --input-bg: #181825, --input-hover-bg: #313244, --input-focus-bg: #45475a,