fix(paste.rs): syntax highlighting (#591)

* Fix(paste.rs): Fix syntax highlight

* Fix(paste.rs): Add myself as maintainer

* Fix(paste.rs): Update preview images

* fix(paste.rs): Typo

* fix(paste.rs): Fix unthemed stuff & theme markdown
This commit is contained in:
Guaxinim authored and GitHub committed 2024-03-01 08:05:35 +00:00
1 parent c00c004332
commit 85b80e14ef
7 files changed
+104 -47

No files matched your search

+1 -1
View File
@@ -526,7 +526,7 @@ userstyles:
color: peach color: peach
readme: readme:
app-link: "https://paste.rs" app-link: "https://paste.rs"
current-maintainers: [] current-maintainers: [*Guaxinim5573]
past-maintainers: [*stonks3141] past-maintainers: [*stonks3141]
perplexity: perplexity:
name: Perplexity name: Perplexity
Binary file not shown.

Before

Width:  |  Height:  |  Size: 130 B

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 130 B

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 130 B

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 130 B

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 130 B

After

Width:  |  Height:  |  Size: 46 KiB

+103 -46
View File
@@ -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.2 @version 0.0.3
@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
@@ -61,7 +61,7 @@
@accent-color: @catppuccin[@@lookup][@@accent]; @accent-color: @catppuccin[@@lookup][@@accent];
body { body {
background-color: @mantle; background-color: @base;
color: @text; color: @text;
} }
a { a {
@@ -86,53 +86,110 @@
input[type="submit"]:hover { input[type="submit"]:hover {
background-color: @mantle; background-color: @mantle;
} }
td.linenos > pre {
background-color: @base !important;
span {
/* Line Numbers */
color: @overlay0 !important;
}
}
article.markdown-body {
color: @text;
h6 {
color: @text;
}
a {
color: @accent-color;
}
img {
background: none;
}
pre {
background: @surface0;
}
h1, h2, h3, h4, h5, h6 {
border-color: @surface0;
}
blockquote {
border-color: @surface1;
p {
color: @text;
}
}
table {
border-color: @surface0 !important;
tr, th, td {
border-color: @surface1;
background: none !important;
}
}
}
/* Syntax-highlighted code */ /* Syntax-highlighted code */
pre { td.code > pre {
background-color: @base !important; background-color: @base !important;
}
/* Main text */ /* General Text, Braces, Delimiters, Parameters, Classes, Metadata */
span[style="color:#657b83;"] { span[style="color:#000000;"] {
color: @text !important; color: @text !important;
} }
span[style="color:#859900;"] {
color: @yellow !important; /* Keywords, Operators */
} span[style="color:#d73a49;"] {
span[style="color:#268bd2;"] { color: @mauve !important;
color: @sky !important; }
}
/* Comments */ /* Strings */
span[style="color:#93a1a1;"] { span[style="color:#032f62;"] {
color: @overlay1 !important; color: @green !important;
} }
span[style="color:#b58900;"] {
color: @yellow !important; /* Escape Sequences */
} span[style="color:#183691;"] {
span[style="color:#586e75;"] { color: @pink !important;
color: @mauve !important; }
}
/* Quotes */ /* Comments */
span[style="color:#839496;"] { span[style="color:#969896;"] {
color: @green !important; color: @overlay0 !important;
} }
/* String literals */
span[style="color:#2aa198;"] { /* Constants, Numbers */
color: @green !important; span[style="color:#005cc5;"] {
} color: @peach !important;
span[style="color:#6c71c4;"] { }
color: @teal !important;
} /* Methods, Functions */
/* self/this */ span[style="color:#6f42c1;"],
span[style="color:#d33682;"] { span[style="color:#22863a;"] {
color: @red !important; color: @blue !important;
} }
/* Constants */
span[style="color:#cb4b16;"] { /* Builtins */
color: @peach !important; span[style="color:#0086b3;"] {
} color: @red !important;
/* String escape sequences */ }
span[style="color:#dc322f;"] {
color: @maroon !important; /* Metadata */
span[style="color:#795da3;"] {
color: @yellow !important;
}
/* Errors */
span[style="background-color:#b31d28;color:#fafbfc;"] {
color: @text !important;
background: fade(@red, 60%) !important;
}
} }
} }
} }