feat(monospace): add p5.js editor support

Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
Matej Focko 2024-08-19 00:21:09 +02:00
parent 333ceb50ee
commit 603a843c63
Signed by: mfocko
SSH key fingerprint: SHA256:icm0fIOSJUpy5+1x23sfr+hLtF9UhY8VpMC7H4WFJP8

View file

@ -2,7 +2,7 @@
@name Default monospace font
@namespace git.mfocko.xyz/mfocko/usercss
@updateURL https://git.mfocko.xyz/mfocko/usercss/raw/branch/main/monospace.user.css
@version 1.15.11
@version 1.16.0
@description Replace default monospace font on majority of websites.
@author mfocko <me@mfocko.xyz>
@preprocessor stylus
@ -315,3 +315,10 @@ domain("dashboard.stg.packit.dev") {
font-feature-settings: font-features;
}
}
@-moz-document domain("editor.p5js.org") {
.CodeMirror pre.CodeMirror-line, .CodeMirror pre.CodeMirror-line-like {
font-family: monospace-font !important;
font-feature-settings: font-features;
}
}