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
readme:
app-link: "https://paste.rs"
current-maintainers: []
current-maintainers: [*Guaxinim5573]
past-maintainers: [*stonks3141]
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
@namespace github.com/catppuccin/userstyles/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
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Apaste.rs
@description Soothing pastel theme for paste.rs
@@ -61,7 +61,7 @@
@accent-color: @catppuccin[@@lookup][@@accent];
body {
background-color: @mantle;
background-color: @base;
color: @text;
}
a {
@@ -86,53 +86,110 @@
input[type="submit"]:hover {
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 */
pre {
td.code > pre {
background-color: @base !important;
}
/* Main text */
span[style="color:#657b83;"] {
color: @text !important;
}
span[style="color:#859900;"] {
color: @yellow !important;
}
span[style="color:#268bd2;"] {
color: @sky !important;
}
/* Comments */
span[style="color:#93a1a1;"] {
color: @overlay1 !important;
}
span[style="color:#b58900;"] {
color: @yellow !important;
}
span[style="color:#586e75;"] {
color: @mauve !important;
}
/* Quotes */
span[style="color:#839496;"] {
color: @green !important;
}
/* String literals */
span[style="color:#2aa198;"] {
color: @green !important;
}
span[style="color:#6c71c4;"] {
color: @teal !important;
}
/* self/this */
span[style="color:#d33682;"] {
color: @red !important;
}
/* Constants */
span[style="color:#cb4b16;"] {
color: @peach !important;
}
/* String escape sequences */
span[style="color:#dc322f;"] {
color: @maroon !important;
/* General Text, Braces, Delimiters, Parameters, Classes, Metadata */
span[style="color:#000000;"] {
color: @text !important;
}
/* Keywords, Operators */
span[style="color:#d73a49;"] {
color: @mauve !important;
}
/* Strings */
span[style="color:#032f62;"] {
color: @green !important;
}
/* Escape Sequences */
span[style="color:#183691;"] {
color: @pink !important;
}
/* Comments */
span[style="color:#969896;"] {
color: @overlay0 !important;
}
/* Constants, Numbers */
span[style="color:#005cc5;"] {
color: @peach !important;
}
/* Methods, Functions */
span[style="color:#6f42c1;"],
span[style="color:#22863a;"] {
color: @blue !important;
}
/* Builtins */
span[style="color:#0086b3;"] {
color: @red !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;
}
}
}
}