refactor(tree-wide): update highlightjs syntax highlighting (#1311)
This commit is contained in:
1 parent
c9526d337e
commit
56a2653a05
8 files changed
+225
-248
No files matched your search
+30
-53
@@ -14,11 +14,15 @@
|
||||
- [Installation](#installation)
|
||||
- [Usage](#usage)
|
||||
- [How do I theme images and SVGs?](#how-do-i-theme-images-and-svgs)
|
||||
- [SVG background images](#svg-background-images)
|
||||
- [SVGs as `background-image`s](#svgs-as-background-images)
|
||||
- [`<img>` elements](#img-elements)
|
||||
- [How do I set a variable to RGB values?](#how-do-i-set-a-variable-to-rgb-values)
|
||||
- [How can I inspect hard-to-grab elements?](#how-can-i-inspect-hard-to-grab-elements)
|
||||
- [How do I theme code blocks / syntax highlighting?](#how-do-i-theme-code-blocks--syntax-highlighting)
|
||||
- [highlight.js](#highlightjs)
|
||||
- [Pygments](#pygments)
|
||||
- [Prism.js](#prismjs)
|
||||
|
||||
<!--toc:end-->
|
||||
|
||||
### How can I see my changes in real time?
|
||||
@@ -167,58 +171,7 @@ GIF via ["Set a Timed Debugger To Web Inspect Hard-To-Grab Elements" - CSS Trick
|
||||
|
||||
### How do I theme code blocks / syntax highlighting?
|
||||
|
||||
If a website uses [highlight.js](https://highlightjs.org/) or [Pygments](https://pygments.org/) for syntax highlighting, follow the steps for the syntax higlighter in use below.
|
||||
|
||||
#### highlight.js
|
||||
|
||||
Add the following line at the top of the userstyle, beneath the `@-moz-document` line.
|
||||
|
||||
```css
|
||||
@import url("https://unpkg.com/@catppuccin/[email protected]/css/catppuccin.variables.important.css");
|
||||
```
|
||||
|
||||
Then add the following lines beneath the color definition section (`@<color>: @catppuccin[@@lookup][@<color>];`) in the `#catppuccin` mixin:
|
||||
|
||||
```css
|
||||
--ctp-rosewater: #rgbify(@rosewater) [];
|
||||
--ctp-flamingo: #rgbify(@flamingo) [];
|
||||
--ctp-pink: #rgbify(@pink) [];
|
||||
--ctp-mauve: #rgbify(@mauve) [];
|
||||
--ctp-red: #rgbify(@red) [];
|
||||
--ctp-maroon: #rgbify(@maroon) [];
|
||||
--ctp-peach: #rgbify(@peach) [];
|
||||
--ctp-yellow: #rgbify(@yellow) [];
|
||||
--ctp-green: #rgbify(@green) [];
|
||||
--ctp-teal: #rgbify(@teal) [];
|
||||
--ctp-sky: #rgbify(@sky) [];
|
||||
--ctp-sapphire: #rgbify(@sapphire) [];
|
||||
--ctp-blue: #rgbify(@blue) [];
|
||||
--ctp-lavender: #rgbify(@lavender) [];
|
||||
--ctp-text: #rgbify(@text) [];
|
||||
--ctp-subtext1: #rgbify(@subtext1) [];
|
||||
--ctp-subtext0: #rgbify(@subtext0) [];
|
||||
--ctp-overlay2: #rgbify(@overlay2) [];
|
||||
--ctp-overlay1: #rgbify(@overlay1) [];
|
||||
--ctp-overlay0: #rgbify(@overlay0) [];
|
||||
--ctp-surface2: #rgbify(@surface2) [];
|
||||
--ctp-surface1: #rgbify(@surface1) [];
|
||||
--ctp-surface0: #rgbify(@surface0) [];
|
||||
--ctp-base: #rgbify(@base) [];
|
||||
--ctp-mantle: #rgbify(@mantle) [];
|
||||
--ctp-crust: #rgbify(@crust) [];
|
||||
```
|
||||
|
||||
Finally, add the [`#rbgify` mixin](#how-do-i-set-a-variable-to-rgb-values) above the `@catppuccin` color palette at the bottom of the userstyle.
|
||||
|
||||
#### Pygments
|
||||
|
||||
Add the following line at the top of the userstyle, beneath the `@-moz-document` line.
|
||||
|
||||
```css
|
||||
@import url("https://python.catppuccin.com/pygments/catppuccin-variables.important.css");
|
||||
```
|
||||
|
||||
You'll also need to add the following lines beneath the color definition section (`@<color>: @catppuccin[@@lookup][@<color>];`) in the `#catppuccin` mixin:
|
||||
If a website uses [highlight.js](https://highlightjs.org/), [Pygments](https://pygments.org/), or [Prism.js](https://prismjs.com/) for syntax highlighting, follow the steps for the syntax higlighter in use below. First though, you'll need to add the following lines beneath the color definition section (`@<color>: @catppuccin[@@lookup][@<color>];`) in the `#catppuccin` mixin:
|
||||
|
||||
```css
|
||||
--ctp-rosewater: @rosewater;
|
||||
@@ -248,3 +201,27 @@ You'll also need to add the following lines beneath the color definition section
|
||||
--ctp-mantle: @mantle;
|
||||
--ctp-crust: @crust;
|
||||
```
|
||||
|
||||
#### highlight.js
|
||||
|
||||
Add the following line at the top of the userstyle, beneath the `@-moz-document` line.
|
||||
|
||||
```css
|
||||
@import url("https://unpkg.com/@catppuccin/[email protected]/css/catppuccin-variables.important.css");
|
||||
```
|
||||
|
||||
#### Pygments
|
||||
|
||||
Add the following line at the top of the userstyle, beneath the `@-moz-document` line.
|
||||
|
||||
```css
|
||||
@import url("https://python.catppuccin.com/pygments/catppuccin-variables.important.css");
|
||||
```
|
||||
|
||||
#### Prism.js
|
||||
|
||||
Add the following line at the top of the userstyle, beneath the `@-moz-document` line.
|
||||
|
||||
```css
|
||||
@import url("https://prismjs.catppuccin.com/variables.css");
|
||||
```
|
||||
@@ -2,7 +2,7 @@
|
||||
@name ChatGPT Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/chatgpt
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/chatgpt
|
||||
@version 0.3.2
|
||||
@version 0.3.3
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/chatgpt/catppuccin.user.css
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Achatgpt
|
||||
@description Soothing pastel theme for ChatGPT
|
||||
@@ -16,7 +16,7 @@
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("chatgpt.com") {
|
||||
@import url("https://unpkg.com/@catppuccin/highlightjs@0.1.2/css/catppuccin.variables.css");
|
||||
@import url("https://unpkg.com/@catppuccin/highlightjs@1.0.0/css/catppuccin-variables.css");
|
||||
|
||||
:root.light {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
@@ -55,32 +55,32 @@
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
--ctp-rosewater: #rgbify(@rosewater) [];
|
||||
--ctp-flamingo: #rgbify(@flamingo) [];
|
||||
--ctp-pink: #rgbify(@pink) [];
|
||||
--ctp-mauve: #rgbify(@mauve) [];
|
||||
--ctp-red: #rgbify(@red) [];
|
||||
--ctp-maroon: #rgbify(@maroon) [];
|
||||
--ctp-peach: #rgbify(@peach) [];
|
||||
--ctp-yellow: #rgbify(@yellow) [];
|
||||
--ctp-green: #rgbify(@green) [];
|
||||
--ctp-teal: #rgbify(@teal) [];
|
||||
--ctp-sky: #rgbify(@sky) [];
|
||||
--ctp-sapphire: #rgbify(@sapphire) [];
|
||||
--ctp-blue: #rgbify(@blue) [];
|
||||
--ctp-lavender: #rgbify(@lavender) [];
|
||||
--ctp-text: #rgbify(@text) [];
|
||||
--ctp-subtext1: #rgbify(@subtext1) [];
|
||||
--ctp-subtext0: #rgbify(@subtext0) [];
|
||||
--ctp-overlay2: #rgbify(@overlay2) [];
|
||||
--ctp-overlay1: #rgbify(@overlay1) [];
|
||||
--ctp-overlay0: #rgbify(@overlay0) [];
|
||||
--ctp-surface2: #rgbify(@surface2) [];
|
||||
--ctp-surface1: #rgbify(@surface1) [];
|
||||
--ctp-surface0: #rgbify(@surface0) [];
|
||||
--ctp-base: #rgbify(@base) [];
|
||||
--ctp-mantle: #rgbify(@mantle) [];
|
||||
--ctp-crust: #rgbify(@crust) [];
|
||||
--ctp-rosewater: @rosewater;
|
||||
--ctp-flamingo: @flamingo;
|
||||
--ctp-pink: @pink;
|
||||
--ctp-mauve: @mauve;
|
||||
--ctp-red: @red;
|
||||
--ctp-maroon: @maroon;
|
||||
--ctp-peach: @peach;
|
||||
--ctp-yellow: @yellow;
|
||||
--ctp-green: @green;
|
||||
--ctp-teal: @teal;
|
||||
--ctp-sky: @sky;
|
||||
--ctp-sapphire: @sapphire;
|
||||
--ctp-blue: @blue;
|
||||
--ctp-lavender: @lavender;
|
||||
--ctp-text: @text;
|
||||
--ctp-subtext1: @subtext1;
|
||||
--ctp-subtext0: @subtext0;
|
||||
--ctp-overlay2: @overlay2;
|
||||
--ctp-overlay1: @overlay1;
|
||||
--ctp-overlay0: @overlay0;
|
||||
--ctp-surface2: @surface2;
|
||||
--ctp-surface1: @surface1;
|
||||
--ctp-surface0: @surface0;
|
||||
--ctp-base: @base;
|
||||
--ctp-mantle: @mantle;
|
||||
--ctp-crust: @crust;
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain('crates.io') {
|
||||
@import url("https://unpkg.com/@catppuccin/highlightjs@0.2.2/css/catppuccin.variables.important.css");
|
||||
@import url("https://unpkg.com/@catppuccin/highlightjs@1.0.0/css/catppuccin-variables.important.css");
|
||||
|
||||
code.hljs {
|
||||
background: none !important;
|
||||
@@ -69,32 +69,32 @@
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
--ctp-rosewater: #rgbify(@rosewater) [];
|
||||
--ctp-flamingo: #rgbify(@flamingo) [];
|
||||
--ctp-pink: #rgbify(@pink) [];
|
||||
--ctp-mauve: #rgbify(@mauve) [];
|
||||
--ctp-red: #rgbify(@red) [];
|
||||
--ctp-maroon: #rgbify(@maroon) [];
|
||||
--ctp-peach: #rgbify(@peach) [];
|
||||
--ctp-yellow: #rgbify(@yellow) [];
|
||||
--ctp-green: #rgbify(@green) [];
|
||||
--ctp-teal: #rgbify(@teal) [];
|
||||
--ctp-sky: #rgbify(@sky) [];
|
||||
--ctp-sapphire: #rgbify(@sapphire) [];
|
||||
--ctp-blue: #rgbify(@blue) [];
|
||||
--ctp-lavender: #rgbify(@lavender) [];
|
||||
--ctp-text: #rgbify(@text) [];
|
||||
--ctp-subtext1: #rgbify(@subtext1) [];
|
||||
--ctp-subtext0: #rgbify(@subtext0) [];
|
||||
--ctp-overlay2: #rgbify(@overlay2) [];
|
||||
--ctp-overlay1: #rgbify(@overlay1) [];
|
||||
--ctp-overlay0: #rgbify(@overlay0) [];
|
||||
--ctp-surface2: #rgbify(@surface2) [];
|
||||
--ctp-surface1: #rgbify(@surface1) [];
|
||||
--ctp-surface0: #rgbify(@surface0) [];
|
||||
--ctp-base: #rgbify(@base) [];
|
||||
--ctp-mantle: #rgbify(@mantle) [];
|
||||
--ctp-crust: #rgbify(@crust) [];
|
||||
--ctp-rosewater: @rosewater;
|
||||
--ctp-flamingo: @flamingo;
|
||||
--ctp-pink: @pink;
|
||||
--ctp-mauve: @mauve;
|
||||
--ctp-red: @red;
|
||||
--ctp-maroon: @maroon;
|
||||
--ctp-peach: @peach;
|
||||
--ctp-yellow: @yellow;
|
||||
--ctp-green: @green;
|
||||
--ctp-teal: @teal;
|
||||
--ctp-sky: @sky;
|
||||
--ctp-sapphire: @sapphire;
|
||||
--ctp-blue: @blue;
|
||||
--ctp-lavender: @lavender;
|
||||
--ctp-text: @text;
|
||||
--ctp-subtext1: @subtext1;
|
||||
--ctp-subtext0: @subtext0;
|
||||
--ctp-overlay2: @overlay2;
|
||||
--ctp-overlay1: @overlay1;
|
||||
--ctp-overlay0: @overlay0;
|
||||
--ctp-surface2: @surface2;
|
||||
--ctp-surface1: @surface1;
|
||||
--ctp-surface0: @surface0;
|
||||
--ctp-base: @base;
|
||||
--ctp-mantle: @mantle;
|
||||
--ctp-crust: @crust;
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@name Google Gemini Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/google-gemini
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/google-gemini
|
||||
@version 0.0.3
|
||||
@version 0.0.4
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/google-gemini/catppuccin.user.css
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Agoogle-gemini
|
||||
@description Soothing pastel theme for Google Gemini
|
||||
@@ -16,7 +16,7 @@
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain('gemini.google.com') {
|
||||
@import url("https://unpkg.com/@catppuccin/highlightjs@0.2.2/css/catppuccin.variables.important.css");
|
||||
@import url("https://unpkg.com/@catppuccin/highlightjs@1.0.0/css/catppuccin-variables.important.css");
|
||||
|
||||
:root body.dark-theme {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
@@ -55,32 +55,32 @@
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
--ctp-rosewater: #rgbify(@rosewater) [];
|
||||
--ctp-flamingo: #rgbify(@flamingo) [];
|
||||
--ctp-pink: #rgbify(@pink) [];
|
||||
--ctp-mauve: #rgbify(@mauve) [];
|
||||
--ctp-red: #rgbify(@red) [];
|
||||
--ctp-maroon: #rgbify(@maroon) [];
|
||||
--ctp-peach: #rgbify(@peach) [];
|
||||
--ctp-yellow: #rgbify(@yellow) [];
|
||||
--ctp-green: #rgbify(@green) [];
|
||||
--ctp-teal: #rgbify(@teal) [];
|
||||
--ctp-sky: #rgbify(@sky) [];
|
||||
--ctp-sapphire: #rgbify(@sapphire) [];
|
||||
--ctp-blue: #rgbify(@blue) [];
|
||||
--ctp-lavender: #rgbify(@lavender) [];
|
||||
--ctp-text: #rgbify(@text) [];
|
||||
--ctp-subtext1: #rgbify(@subtext1) [];
|
||||
--ctp-subtext0: #rgbify(@subtext0) [];
|
||||
--ctp-overlay2: #rgbify(@overlay2) [];
|
||||
--ctp-overlay1: #rgbify(@overlay1) [];
|
||||
--ctp-overlay0: #rgbify(@overlay0) [];
|
||||
--ctp-surface2: #rgbify(@surface2) [];
|
||||
--ctp-surface1: #rgbify(@surface1) [];
|
||||
--ctp-surface0: #rgbify(@surface0) [];
|
||||
--ctp-base: #rgbify(@base) [];
|
||||
--ctp-mantle: #rgbify(@mantle) [];
|
||||
--ctp-crust: #rgbify(@crust) [];
|
||||
--ctp-rosewater: @rosewater;
|
||||
--ctp-flamingo: @flamingo;
|
||||
--ctp-pink: @pink;
|
||||
--ctp-mauve: @mauve;
|
||||
--ctp-red: @red;
|
||||
--ctp-maroon: @maroon;
|
||||
--ctp-peach: @peach;
|
||||
--ctp-yellow: @yellow;
|
||||
--ctp-green: @green;
|
||||
--ctp-teal: @teal;
|
||||
--ctp-sky: @sky;
|
||||
--ctp-sapphire: @sapphire;
|
||||
--ctp-blue: @blue;
|
||||
--ctp-lavender: @lavender;
|
||||
--ctp-text: @text;
|
||||
--ctp-subtext1: @subtext1;
|
||||
--ctp-subtext0: @subtext0;
|
||||
--ctp-overlay2: @overlay2;
|
||||
--ctp-overlay1: @overlay1;
|
||||
--ctp-overlay0: @overlay0;
|
||||
--ctp-surface2: @surface2;
|
||||
--ctp-surface1: @surface1;
|
||||
--ctp-surface0: @surface0;
|
||||
--ctp-base: @base;
|
||||
--ctp-mantle: @mantle;
|
||||
--ctp-crust: @crust;
|
||||
|
||||
color-scheme: if(@lookup =latte, light, dark);
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@name mdBook Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/mdbook
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/mdbook
|
||||
@version 0.0.2
|
||||
@version 0.0.3
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/mdbook/catppuccin.user.css
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Amdbook
|
||||
@description Soothing pastel theme for mdBook
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
@-moz-document url-prefix('https://rust-lang.github.io/mdBook/'), domain('doc.rust-lang.org'), domain('rust-book.cs.brown.edu')
|
||||
{
|
||||
@import url("https://unpkg.com/@catppuccin/highlightjs@0.2.2/css/catppuccin.variables.css");
|
||||
@import url("https://unpkg.com/@catppuccin/highlightjs@1.0.0/css/catppuccin-variables.css");
|
||||
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
@@ -59,32 +59,32 @@
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
--ctp-rosewater: #rgbify(@rosewater) [];
|
||||
--ctp-flamingo: #rgbify(@flamingo) [];
|
||||
--ctp-pink: #rgbify(@pink) [];
|
||||
--ctp-mauve: #rgbify(@mauve) [];
|
||||
--ctp-red: #rgbify(@red) [];
|
||||
--ctp-maroon: #rgbify(@maroon) [];
|
||||
--ctp-peach: #rgbify(@peach) [];
|
||||
--ctp-yellow: #rgbify(@yellow) [];
|
||||
--ctp-green: #rgbify(@green) [];
|
||||
--ctp-teal: #rgbify(@teal) [];
|
||||
--ctp-sky: #rgbify(@sky) [];
|
||||
--ctp-sapphire: #rgbify(@sapphire) [];
|
||||
--ctp-blue: #rgbify(@blue) [];
|
||||
--ctp-lavender: #rgbify(@lavender) [];
|
||||
--ctp-text: #rgbify(@text) [];
|
||||
--ctp-subtext1: #rgbify(@subtext1) [];
|
||||
--ctp-subtext0: #rgbify(@subtext0) [];
|
||||
--ctp-overlay2: #rgbify(@overlay2) [];
|
||||
--ctp-overlay1: #rgbify(@overlay1) [];
|
||||
--ctp-overlay0: #rgbify(@overlay0) [];
|
||||
--ctp-surface2: #rgbify(@surface2) [];
|
||||
--ctp-surface1: #rgbify(@surface1) [];
|
||||
--ctp-surface0: #rgbify(@surface0) [];
|
||||
--ctp-base: #rgbify(@base) [];
|
||||
--ctp-mantle: #rgbify(@mantle) [];
|
||||
--ctp-crust: #rgbify(@crust) [];
|
||||
--ctp-rosewater: @rosewater;
|
||||
--ctp-flamingo: @flamingo;
|
||||
--ctp-pink: @pink;
|
||||
--ctp-mauve: @mauve;
|
||||
--ctp-red: @red;
|
||||
--ctp-maroon: @maroon;
|
||||
--ctp-peach: @peach;
|
||||
--ctp-yellow: @yellow;
|
||||
--ctp-green: @green;
|
||||
--ctp-teal: @teal;
|
||||
--ctp-sky: @sky;
|
||||
--ctp-sapphire: @sapphire;
|
||||
--ctp-blue: @blue;
|
||||
--ctp-lavender: @lavender;
|
||||
--ctp-text: @text;
|
||||
--ctp-subtext1: @subtext1;
|
||||
--ctp-subtext0: @subtext0;
|
||||
--ctp-overlay2: @overlay2;
|
||||
--ctp-overlay1: @overlay1;
|
||||
--ctp-overlay0: @overlay0;
|
||||
--ctp-surface2: @surface2;
|
||||
--ctp-surface1: @surface1;
|
||||
--ctp-surface0: @surface0;
|
||||
--ctp-base: @base;
|
||||
--ctp-mantle: @mantle;
|
||||
--ctp-crust: @crust;
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@name Ollama Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/ollama
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/ollama
|
||||
@version 0.0.1
|
||||
@version 0.0.2
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/ollama/catppuccin.user.css
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Aollama
|
||||
@description Soothing pastel theme for Ollama
|
||||
@@ -16,7 +16,7 @@
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain('ollama.com') {
|
||||
@import url("https://unpkg.com/@catppuccin/highlightjs@0.2.2/css/catppuccin.variables.css");
|
||||
@import url("https://unpkg.com/@catppuccin/highlightjs@1.0.0/css/catppuccin-variables.css");
|
||||
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
@@ -60,32 +60,32 @@
|
||||
|
||||
@text-filter: @catppuccin[@@lookup][@text-filter];
|
||||
|
||||
--ctp-rosewater: #rgbify(@rosewater) [];
|
||||
--ctp-flamingo: #rgbify(@flamingo) [];
|
||||
--ctp-pink: #rgbify(@pink) [];
|
||||
--ctp-mauve: #rgbify(@mauve) [];
|
||||
--ctp-red: #rgbify(@red) [];
|
||||
--ctp-maroon: #rgbify(@maroon) [];
|
||||
--ctp-peach: #rgbify(@peach) [];
|
||||
--ctp-yellow: #rgbify(@yellow) [];
|
||||
--ctp-green: #rgbify(@green) [];
|
||||
--ctp-teal: #rgbify(@teal) [];
|
||||
--ctp-sky: #rgbify(@sky) [];
|
||||
--ctp-sapphire: #rgbify(@sapphire) [];
|
||||
--ctp-blue: #rgbify(@blue) [];
|
||||
--ctp-lavender: #rgbify(@lavender) [];
|
||||
--ctp-text: #rgbify(@text) [];
|
||||
--ctp-subtext1: #rgbify(@subtext1) [];
|
||||
--ctp-subtext0: #rgbify(@subtext0) [];
|
||||
--ctp-overlay2: #rgbify(@overlay2) [];
|
||||
--ctp-overlay1: #rgbify(@overlay1) [];
|
||||
--ctp-overlay0: #rgbify(@overlay0) [];
|
||||
--ctp-surface2: #rgbify(@surface2) [];
|
||||
--ctp-surface1: #rgbify(@surface1) [];
|
||||
--ctp-surface0: #rgbify(@surface0) [];
|
||||
--ctp-base: #rgbify(@base) [];
|
||||
--ctp-mantle: #rgbify(@mantle) [];
|
||||
--ctp-crust: #rgbify(@crust) [];
|
||||
--ctp-rosewater: @rosewater;
|
||||
--ctp-flamingo: @flamingo;
|
||||
--ctp-pink: @pink;
|
||||
--ctp-mauve: @mauve;
|
||||
--ctp-red: @red;
|
||||
--ctp-maroon: @maroon;
|
||||
--ctp-peach: @peach;
|
||||
--ctp-yellow: @yellow;
|
||||
--ctp-green: @green;
|
||||
--ctp-teal: @teal;
|
||||
--ctp-sky: @sky;
|
||||
--ctp-sapphire: @sapphire;
|
||||
--ctp-blue: @blue;
|
||||
--ctp-lavender: @lavender;
|
||||
--ctp-text: @text;
|
||||
--ctp-subtext1: @subtext1;
|
||||
--ctp-subtext0: @subtext0;
|
||||
--ctp-overlay2: @overlay2;
|
||||
--ctp-overlay1: @overlay1;
|
||||
--ctp-overlay0: @overlay0;
|
||||
--ctp-surface2: @surface2;
|
||||
--ctp-surface1: @surface1;
|
||||
--ctp-surface0: @surface0;
|
||||
--ctp-base: @base;
|
||||
--ctp-mantle: @mantle;
|
||||
--ctp-crust: @crust;
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@name Stack Overflow Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/stack-overflow
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/stack-overflow
|
||||
@version 0.1.2
|
||||
@version 0.1.3
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/stack-overflow/catppuccin.user.css
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Astack-overflow
|
||||
@description Soothing pastel theme for Stack Overflow
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
@-moz-document domain('stackoverflow.com'), domain('stackexchange.com'), domain('serverfault.com'),
|
||||
domain('superuser.com'), domain('mathoverflow.net'), domain('askubuntu.com'), domain('stackapps.com') {
|
||||
@import url("https://unpkg.com/@catppuccin/highlightjs@0.2.2/css/catppuccin.variables.important.css");
|
||||
@import url("https://unpkg.com/@catppuccin/highlightjs@1.0.0/css/catppuccin-variables.important.css");
|
||||
code.hljs {
|
||||
background: none !important;
|
||||
}
|
||||
@@ -75,32 +75,32 @@ domain('superuser.com'), domain('mathoverflow.net'), domain('askubuntu.com'), do
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
--ctp-rosewater: #rgbify(@rosewater) [];
|
||||
--ctp-flamingo: #rgbify(@flamingo) [];
|
||||
--ctp-pink: #rgbify(@pink) [];
|
||||
--ctp-mauve: #rgbify(@mauve) [];
|
||||
--ctp-red: #rgbify(@red) [];
|
||||
--ctp-maroon: #rgbify(@maroon) [];
|
||||
--ctp-peach: #rgbify(@peach) [];
|
||||
--ctp-yellow: #rgbify(@yellow) [];
|
||||
--ctp-green: #rgbify(@green) [];
|
||||
--ctp-teal: #rgbify(@teal) [];
|
||||
--ctp-sky: #rgbify(@sky) [];
|
||||
--ctp-sapphire: #rgbify(@sapphire) [];
|
||||
--ctp-blue: #rgbify(@blue) [];
|
||||
--ctp-lavender: #rgbify(@lavender) [];
|
||||
--ctp-text: #rgbify(@text) [];
|
||||
--ctp-subtext1: #rgbify(@subtext1) [];
|
||||
--ctp-subtext0: #rgbify(@subtext0) [];
|
||||
--ctp-overlay2: #rgbify(@overlay2) [];
|
||||
--ctp-overlay1: #rgbify(@overlay1) [];
|
||||
--ctp-overlay0: #rgbify(@overlay0) [];
|
||||
--ctp-surface2: #rgbify(@surface2) [];
|
||||
--ctp-surface1: #rgbify(@surface1) [];
|
||||
--ctp-surface0: #rgbify(@surface0) [];
|
||||
--ctp-base: #rgbify(@base) [];
|
||||
--ctp-mantle: #rgbify(@mantle) [];
|
||||
--ctp-crust: #rgbify(@crust) [];
|
||||
--ctp-rosewater: @rosewater;
|
||||
--ctp-flamingo: @flamingo;
|
||||
--ctp-pink: @pink;
|
||||
--ctp-mauve: @mauve;
|
||||
--ctp-red: @red;
|
||||
--ctp-maroon: @maroon;
|
||||
--ctp-peach: @peach;
|
||||
--ctp-yellow: @yellow;
|
||||
--ctp-green: @green;
|
||||
--ctp-teal: @teal;
|
||||
--ctp-sky: @sky;
|
||||
--ctp-sapphire: @sapphire;
|
||||
--ctp-blue: @blue;
|
||||
--ctp-lavender: @lavender;
|
||||
--ctp-text: @text;
|
||||
--ctp-subtext1: @subtext1;
|
||||
--ctp-subtext0: @subtext0;
|
||||
--ctp-overlay2: @overlay2;
|
||||
--ctp-overlay1: @overlay1;
|
||||
--ctp-overlay0: @overlay0;
|
||||
--ctp-surface2: @surface2;
|
||||
--ctp-surface1: @surface1;
|
||||
--ctp-surface0: @surface0;
|
||||
--ctp-base: @base;
|
||||
--ctp-mantle: @mantle;
|
||||
--ctp-crust: @crust;
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@name Trinket Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/trinket
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/trinket
|
||||
@version 0.0.6
|
||||
@version 0.0.7
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/trinket/catppuccin.user.css
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Atrinket
|
||||
@description Soothing pastel theme for Trinket
|
||||
@@ -16,7 +16,7 @@
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain('trinket.io') {
|
||||
@import url("https://unpkg.com/@catppuccin/highlightjs@0.2.2/css/catppuccin.variables.important.css");
|
||||
@import url("https://unpkg.com/@catppuccin/highlightjs@1.0.0/css/catppuccin-variables.important.css");
|
||||
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
@@ -58,32 +58,32 @@
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
--ctp-rosewater: #rgbify(@rosewater) [];
|
||||
--ctp-flamingo: #rgbify(@flamingo) [];
|
||||
--ctp-pink: #rgbify(@pink) [];
|
||||
--ctp-mauve: #rgbify(@mauve) [];
|
||||
--ctp-red: #rgbify(@red) [];
|
||||
--ctp-maroon: #rgbify(@maroon) [];
|
||||
--ctp-peach: #rgbify(@peach) [];
|
||||
--ctp-yellow: #rgbify(@yellow) [];
|
||||
--ctp-green: #rgbify(@green) [];
|
||||
--ctp-teal: #rgbify(@teal) [];
|
||||
--ctp-sky: #rgbify(@sky) [];
|
||||
--ctp-sapphire: #rgbify(@sapphire) [];
|
||||
--ctp-blue: #rgbify(@blue) [];
|
||||
--ctp-lavender: #rgbify(@lavender) [];
|
||||
--ctp-text: #rgbify(@text) [];
|
||||
--ctp-subtext1: #rgbify(@subtext1) [];
|
||||
--ctp-subtext0: #rgbify(@subtext0) [];
|
||||
--ctp-overlay2: #rgbify(@overlay2) [];
|
||||
--ctp-overlay1: #rgbify(@overlay1) [];
|
||||
--ctp-overlay0: #rgbify(@overlay0) [];
|
||||
--ctp-surface2: #rgbify(@surface2) [];
|
||||
--ctp-surface1: #rgbify(@surface1) [];
|
||||
--ctp-surface0: #rgbify(@surface0) [];
|
||||
--ctp-base: #rgbify(@base) [];
|
||||
--ctp-mantle: #rgbify(@mantle) [];
|
||||
--ctp-crust: #rgbify(@crust) [];
|
||||
--ctp-rosewater: @rosewater;
|
||||
--ctp-flamingo: @flamingo;
|
||||
--ctp-pink: @pink;
|
||||
--ctp-mauve: @mauve;
|
||||
--ctp-red: @red;
|
||||
--ctp-maroon: @maroon;
|
||||
--ctp-peach: @peach;
|
||||
--ctp-yellow: @yellow;
|
||||
--ctp-green: @green;
|
||||
--ctp-teal: @teal;
|
||||
--ctp-sky: @sky;
|
||||
--ctp-sapphire: @sapphire;
|
||||
--ctp-blue: @blue;
|
||||
--ctp-lavender: @lavender;
|
||||
--ctp-text: @text;
|
||||
--ctp-subtext1: @subtext1;
|
||||
--ctp-subtext0: @subtext0;
|
||||
--ctp-overlay2: @overlay2;
|
||||
--ctp-overlay1: @overlay1;
|
||||
--ctp-overlay0: @overlay0;
|
||||
--ctp-surface2: @surface2;
|
||||
--ctp-surface1: @surface1;
|
||||
--ctp-surface0: @surface0;
|
||||
--ctp-base: @base;
|
||||
--ctp-mantle: @mantle;
|
||||
--ctp-crust: @crust;
|
||||
|
||||
.ace_editor {
|
||||
background-color: @crust;
|
||||
|
||||
Reference in new issue
Block a user