From d1ed5a4770683f5d26279da2e676909d4877e681 Mon Sep 17 00:00:00 2001 From: Jennifer Shehane Date: Mon, 5 Jun 2017 13:07:07 -0400 Subject: [PATCH] docs: Update inline code in articles to be grey instead of green --- docs/themes/cypress/source/css/_partial/highlight.scss | 9 ++++++--- docs/themes/cypress/source/css/_partial/page.scss | 2 +- docs/themes/cypress/source/css/_variables.scss | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/docs/themes/cypress/source/css/_partial/highlight.scss b/docs/themes/cypress/source/css/_partial/highlight.scss index daf687d9fd..6ccecad32f 100644 --- a/docs/themes/cypress/source/css/_partial/highlight.scss +++ b/docs/themes/cypress/source/css/_partial/highlight.scss @@ -1,14 +1,17 @@ code { margin: 0; - padding: 0; - border: 0; + padding: 3px 4px; + border: 1px solid #f4f4f4; outline: 0; font-weight: 600; font-family: inherit; font-size: 0.9em; vertical-align: baseline; - color: #46af91; + color: $highlight-foreground; + // color: #ea436d; font-family: $font-mono; + background-color: $highlight-background; + border-radius: 3px; } a code { diff --git a/docs/themes/cypress/source/css/_partial/page.scss b/docs/themes/cypress/source/css/_partial/page.scss index 4b417746d1..5228bda09e 100644 --- a/docs/themes/cypress/source/css/_partial/page.scss +++ b/docs/themes/cypress/source/css/_partial/page.scss @@ -142,7 +142,7 @@ } tr:nth-child(2n) { - background: #f6f7f9; + background: #fafafb; } } diff --git a/docs/themes/cypress/source/css/_variables.scss b/docs/themes/cypress/source/css/_variables.scss index 459ad28e68..d7bdeb31ea 100644 --- a/docs/themes/cypress/source/css/_variables.scss +++ b/docs/themes/cypress/source/css/_variables.scss @@ -19,7 +19,7 @@ $color-background: #24262F; $highlight-background: #f7f7f7; $highlight-current-line: #efefef; $highlight-selection: #d6d6d6; -$highlight-foreground: #43474a; +$highlight-foreground: #4a585d; $highlight-comment: #999; $highlight-red: #c92c2c; $highlight-orange: #cc8300;