Skip to content

Commit

Permalink
Update docsify styling for code
Browse files Browse the repository at this point in the history
  • Loading branch information
yhatt committed Sep 9, 2018
1 parent 4847f74 commit 5369487
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
7 changes: 7 additions & 0 deletions src/docsify/_code.scss
Expand Up @@ -11,6 +11,13 @@
--code-theme-text: #333;
--code-theme-variable: #e90;

// Block
--code-block-padding: 1.25em;
--code-block-line-height: 1.4;

// Inline
--code-inline-color: currentColor;

// Copy code plugin
--copycode-background: #aaa;
}
5 changes: 1 addition & 4 deletions src/docsify/_layout.scss
Expand Up @@ -6,6 +6,7 @@ $important-color: complement($brand-primary);
:root {
--mono-tint3: #fbfbfb;
--theme-color: #{$brand-primary};
--strong-color: currentColor;

// Base
--base-letter-spacing: 0.25px;
Expand Down Expand Up @@ -43,10 +44,6 @@ $important-color: complement($brand-primary);
--heading-h6-color: var(--mono-tint1);
--heading-h6-font-weight: normal;

// Content: code
--code-block-padding: 1.25em;
--code-block-line-height: 1.4;

// Notices
--notice-border-width: 0 0 1px 0;
--notice-before-color: #fff;
Expand Down

0 comments on commit 5369487

Please sign in to comment.