mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-09-03 12:12:39 +00:00
refactor: consolidate code block rendering and enhance styling features (#665)
reference issues: #312, #476
This commit is contained in:
@@ -19,11 +19,6 @@
|
||||
display: block;
|
||||
background-color: var(#{$rootPrefix}code-highlight-color);
|
||||
box-shadow: -0.75rem 0 0 var(#{$rootPrefix}code-highlight-color), 0.75rem 0 0 var(#{$rootPrefix}code-highlight-color);
|
||||
#{$rootPrefix}code-highlight-color: #{$code-highlight-color};
|
||||
|
||||
[data-theme='dark'] & {
|
||||
#{$rootPrefix}code-highlight-color: #{$code-highlight-color-dark};
|
||||
}
|
||||
}
|
||||
|
||||
@import '../_code-syntax/light';
|
||||
|
||||
Reference in New Issue
Block a user