Skip to content

Commit eb089ce

Browse files
committed
fix: remove important
1 parent b5e9b90 commit eb089ce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/YqlHighlighter/YqlHighlighter.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
.yql-highlighter {
22
code {
33
white-space: pre-wrap !important;
4-
5-
color: var(--g-color-text-primary) !important;
64
}
75

86
pre {

src/components/YqlHighlighter/yql.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export const light = {
1717
'code[class*="language-"]': {
1818
...lightTheme['code[class*="language-"]'],
1919
background: 'transparent',
20+
color: 'var(--g-color-text-primary)',
2021
},
2122
comment: {
2223
color: '#969896',
@@ -56,6 +57,7 @@ export const dark = {
5657
'code[class*="language-"]': {
5758
...darkTheme['code[class*="language-"]'],
5859
background: 'transparent',
60+
color: 'var(--g-color-text-primary)',
5961
},
6062
comment: {
6163
color: '#969896',

0 commit comments

Comments
 (0)