docs: redesign code highlights + add default code titles (#8628)
* docs: code highlights improvements + default titles * spacing fixes * fix terminal detection * add padding for non-terminal one liners
This commit is contained in:
1 parent
d571d564c3
commit
a77c23c915
9 files changed
+104
-55
No files matched your search
@@ -768,9 +768,10 @@ module.exports = {
|
||||
".animate-bg-surface": {
|
||||
"--animation-color": "var(--docs-bg-subtle-pressed)",
|
||||
},
|
||||
".code-block-highlight-dark": {
|
||||
".code-block-highlight": {
|
||||
"*::selection": {
|
||||
"background-color": "var(--docs-contrast-bg-highlight)",
|
||||
"background-color": "var(--docs-contrast-fg-secondary)",
|
||||
color: "var(--docs-contrast-bg-base)",
|
||||
},
|
||||
},
|
||||
".code-block-highlight-light": {
|
||||
|
||||
Reference in new issue
Block a user