fix(paste.rs): syntax highlighting token selectors, code background (#1296)
This commit is contained in:
1 parent
cf590e99c1
commit
a12455eb67
1 file changed
+22
-26
@@ -2,7 +2,7 @@
|
|||||||
@name paste.rs Catppuccin
|
@name paste.rs Catppuccin
|
||||||
@namespace github.com/catppuccin/userstyles/styles/paste.rs
|
@namespace github.com/catppuccin/userstyles/styles/paste.rs
|
||||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/paste.rs
|
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/paste.rs
|
||||||
@version 0.0.5
|
@version 0.0.6
|
||||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/paste.rs/catppuccin.user.css
|
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/paste.rs/catppuccin.user.css
|
||||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Apaste.rs
|
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Apaste.rs
|
||||||
@description Soothing pastel theme for paste.rs
|
@description Soothing pastel theme for paste.rs
|
||||||
@@ -69,6 +69,7 @@
|
|||||||
background-color: @base;
|
background-color: @base;
|
||||||
color: @text;
|
color: @text;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: @accent-color;
|
color: @accent-color;
|
||||||
}
|
}
|
||||||
@@ -92,7 +93,12 @@
|
|||||||
background-color: @mantle;
|
background-color: @mantle;
|
||||||
}
|
}
|
||||||
|
|
||||||
td.linenos > pre {
|
main {
|
||||||
|
color: @text;
|
||||||
|
border-color: @surface0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.code.gutter {
|
||||||
background-color: @base !important;
|
background-color: @base !important;
|
||||||
span {
|
span {
|
||||||
/* Line Numbers */
|
/* Line Numbers */
|
||||||
@@ -148,57 +154,47 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Syntax-highlighted code */
|
/* Syntax-highlighted code */
|
||||||
td.code > pre {
|
.code.text > pre {
|
||||||
background-color: @base !important;
|
background-color: @base !important;
|
||||||
|
background-image: none;
|
||||||
|
|
||||||
|
span { color: red !important; }
|
||||||
|
|
||||||
/* General Text, Braces, Delimiters, Parameters, Classes, Metadata */
|
/* General Text, Braces, Delimiters, Parameters, Classes, Metadata */
|
||||||
span[style="color:#000000;"] {
|
span[style*="color:#323232"] {
|
||||||
color: @text !important;
|
color: @text !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Keywords, Operators */
|
/* Keywords, Operators */
|
||||||
span[style="color:#d73a49;"] {
|
span[style*="color:#a71d5d"] {
|
||||||
color: @mauve !important;
|
color: @mauve !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Strings */
|
/* Strings */
|
||||||
span[style="color:#032f62;"] {
|
span[style*="color:#183691"],
|
||||||
|
span[style*="color:#ed6a43"] {
|
||||||
color: @green !important;
|
color: @green !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Escape Sequences */
|
|
||||||
span[style="color:#183691;"] {
|
|
||||||
color: @pink !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Comments */
|
/* Comments */
|
||||||
span[style="color:#969896;"] {
|
span[style*="color:#969896"] {
|
||||||
color: @overlay2 !important;
|
color: @overlay2 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Constants, Numbers */
|
/* Constants, Numbers */
|
||||||
span[style="color:#005cc5;"] {
|
span[style*="color:#0086b3"] {
|
||||||
color: @peach !important;
|
color: @peach !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Methods, Functions */
|
/* Methods, Functions */
|
||||||
span[style="color:#6f42c1;"],
|
span[style*="color:#795da3"],
|
||||||
span[style="color:#22863a;"] {
|
span[style*="color:#62a35c"],
|
||||||
|
span[style*="color:#63a35c"]{
|
||||||
color: @blue !important;
|
color: @blue !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Builtins */
|
|
||||||
span[style="color:#0086b3;"] {
|
|
||||||
color: @red !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Metadata */
|
|
||||||
span[style="color:#795da3;"] {
|
|
||||||
color: @yellow !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Errors */
|
/* Errors */
|
||||||
span[style="background-color:#b31d28;color:#fafbfc;"] {
|
span[style*="background-color:#f5f5f5"][style*="color:#b52a1d"] {
|
||||||
color: @text !important;
|
color: @text !important;
|
||||||
background: fade(@red, 60%) !important;
|
background: fade(@red, 60%) !important;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user