diff --git a/themes/yunohost-docs/scss/theme/dark/_custom.scss b/themes/yunohost-docs/scss/theme/dark/_custom.scss index 2793d150..7731ea8d 100644 --- a/themes/yunohost-docs/scss/theme/dark/_custom.scss +++ b/themes/yunohost-docs/scss/theme/dark/_custom.scss @@ -19,9 +19,6 @@ body.dark-mode { $warning: rgb(132, 88, 4); $success: rgb(51, 87, 35); - $code-bg-color: rgb(58, 58, 58); - $code-text-color: rgb(236, 229, 173); - // Main body background background-color: $background-color; @@ -41,12 +38,6 @@ body.dark-mode { color: $link-color; } - // Dark version of code `stuff` - code { - background: $code-bg-color; - color: $code-text-color; - } - // Card, header and dropdown have darker background .card, #footer, @@ -305,4 +296,9 @@ body.dark-mode { background-color: rgb(25, 44, 19); color: rgb(122, 197, 122); } + + code { + background: rgb(58, 58, 58); + color: rgb(236, 229, 173); + } }