ui: tweak code highlighting color to match themes

This commit is contained in:
Jean-Philippe Sirois
2019-09-14 15:47:51 -04:00
parent 5f76447e05
commit 543c16b412
2 changed files with 25 additions and 20 deletions
-19
View File
@@ -19,23 +19,4 @@ export const GlobalStyles = createGlobalStyle`
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* TODO: probably extract this */
.gatsby-highlight pre[class*="language-"].line-numbers {
padding-left: 2.8em;
}
.gatsby-highlight {
background-color: #fdf6e3;
border-radius: 0.3em;
margin: 0.5em 0;
padding: 1em;
overflow: auto;
}
.gatsby-highlight pre[class*="language-"].line-numbers {
padding: 0;
padding-left: 2.8em;
overflow: initial;
}
`