fix(npm): legacy markdown syntax highlighting (#596)
This commit is contained in:
1 parent
8c532c464a
commit
3ebc698426
1 file changed
+30
-1
@@ -2,7 +2,7 @@
|
|||||||
@name npm Catppuccin
|
@name npm Catppuccin
|
||||||
@namespace github.com/catppuccin/userstyles/styles/npm
|
@namespace github.com/catppuccin/userstyles/styles/npm
|
||||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/npm
|
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/npm
|
||||||
@version 0.0.1
|
@version 0.0.2
|
||||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/npm/catppuccin.user.css
|
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/npm/catppuccin.user.css
|
||||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Anpm
|
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Anpm
|
||||||
@description Soothing pastel theme for npm
|
@description Soothing pastel theme for npm
|
||||||
@@ -195,6 +195,10 @@
|
|||||||
color: @overlay1;
|
color: @overlay1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:focus {
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
&::-webkit-search-cancel-button {
|
&::-webkit-search-cancel-button {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
@@ -652,6 +656,31 @@
|
|||||||
background-color: darken(@base, 2.5%);
|
background-color: darken(@base, 2.5%);
|
||||||
color: @text;
|
color: @text;
|
||||||
}
|
}
|
||||||
|
pre.editor.editor-colors {
|
||||||
|
.keyword {
|
||||||
|
color: var(--color-prettylights-syntax-keyword);
|
||||||
|
font-weight: normal; // stylelint-disable-line property-disallowed-list
|
||||||
|
}
|
||||||
|
.string {
|
||||||
|
color: var(--color-prettylights-syntax-string);
|
||||||
|
}
|
||||||
|
.variable {
|
||||||
|
color: var(--color-prettylights-syntax-variable);
|
||||||
|
}
|
||||||
|
.entity,
|
||||||
|
.function {
|
||||||
|
color: var(--color-prettylights-syntax-entity);
|
||||||
|
}
|
||||||
|
.comment {
|
||||||
|
color: var(--color-prettylights-syntax-comment);
|
||||||
|
}
|
||||||
|
.storage.type.function {
|
||||||
|
color: var(--color-prettylights-syntax-keyword);
|
||||||
|
}
|
||||||
|
.punctuation.definition:not(.string) {
|
||||||
|
color: @text;
|
||||||
|
}
|
||||||
|
}
|
||||||
h1,
|
h1,
|
||||||
h2 {
|
h2 {
|
||||||
border-bottom-color: @surface1;
|
border-bottom-color: @surface1;
|
||||||
|
|||||||
Reference in new issue
Block a user