Skip to content

Commit

Permalink
fix(clayui.com): Namespace $dark and $white variables in _prismjs.scs…
Browse files Browse the repository at this point in the history
…s so it doesn't overwrite Bootstrap variables

fixes #2953
  • Loading branch information
pat270 authored and marcoscv-work committed Feb 27, 2020
1 parent 4ddee66 commit 876c6b7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions clayui.com/src/styles/_prismjs.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$dark: #f5f5f8; // 282a36
$white: #30313f; // ffffff
$prismDark: #f5f5f8; // 282a36
$prismWhite: #30313f; // ffffff

$char: #d8dee9;
$comment: #999;
Expand All @@ -22,8 +22,8 @@ $inserted: #22863a;
$insertedBack: #f0fff4;

.gatsby-highlight {
background: $dark;
color: $white;
background: $prismDark;
color: $prismWhite;
border-radius: 4px;
min-height: 42px;
overflow: auto;
Expand Down

0 comments on commit 876c6b7

Please sign in to comment.