Commit 3d12f47b authored by Donald Cook's avatar Donald Cook Committed by Paul Slaughter

Updated code styles

Updates inline code styling and the border of code blocks

https://gitlab.com/gitlab-org/gitlab/-/merge_requests/26731
parent 5a0c073c
...@@ -120,8 +120,8 @@ kbd { ...@@ -120,8 +120,8 @@ kbd {
code { code {
padding: 2px 4px; padding: 2px 4px;
color: $red-600; color: $code-color;
background-color: $red-100; background-color: $gray-100;
border-radius: $border-radius-default; border-radius: $border-radius-default;
.code > & { .code > & {
......
...@@ -592,7 +592,7 @@ pre { ...@@ -592,7 +592,7 @@ pre {
word-wrap: break-word; word-wrap: break-word;
color: $gl-text-color; color: $gl-text-color;
background-color: $gray-light; background-color: $gray-light;
border: 1px solid $border-color; border: 1px solid $gray-200;
border-radius: $border-radius-small; border-radius: $border-radius-small;
} }
......
...@@ -356,6 +356,7 @@ $list-text-height: 42px; ...@@ -356,6 +356,7 @@ $list-text-height: 42px;
*/ */
$code-font-size: 90%; $code-font-size: 90%;
$code-line-height: 1.6; $code-line-height: 1.6;
$code-color: $gray-950;
/* /*
* Tooltips * Tooltips
......
---
title: Deemphasized styles for inline code blocks
merge_request:
author:
type: changed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment