mirror of
https://github.com/gethinode/hinode.git
synced 2025-10-07 10:04:22 +00:00
Refine syntax highlighting
This commit is contained in:
@@ -16,23 +16,25 @@
|
|||||||
background-color: var(--bs-secondary-bg) if($enable-important-utilities, !important, null);
|
background-color: var(--bs-secondary-bg) if($enable-important-utilities, !important, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
[data-bs-theme="dark"] {
|
@if $enable-dark-mode {
|
||||||
@import "syntax-dark"; // stylelint-disable-line no-invalid-position-at-import-rule
|
[data-bs-theme="dark"] {
|
||||||
|
@import "syntax-dark"; // stylelint-disable-line no-invalid-position-at-import-rule
|
||||||
|
|
||||||
.bg,
|
.bg,
|
||||||
.chroma,
|
.chroma,
|
||||||
.chroma .err {
|
.chroma .err {
|
||||||
// set to transparent background to avoid rendering issues with example shortcode
|
// set to transparent background to avoid rendering issues with example shortcode
|
||||||
background-color: transparent if($enable-important-utilities, !important, null);
|
background-color: transparent if($enable-important-utilities, !important, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
.syntax-highlight {
|
.syntax-highlight {
|
||||||
background-color: var(--bs-tertiary-bg) if($enable-important-utilities, !important, null);
|
background-color: var(--bs-tertiary-bg) if($enable-important-utilities, !important, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
.bg,
|
.bg,
|
||||||
.chroma {
|
.chroma {
|
||||||
color: #c9d1d9 if($enable-important-utilities, !important, null);
|
color: #c9d1d9 if($enable-important-utilities, !important, null);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// stylelint-enable annotation-no-unknown
|
// stylelint-enable annotation-no-unknown
|
||||||
|
Reference in New Issue
Block a user