discourse/lib/stylesheet
Sam c0cf898c10
FEATURE: when rich-editor is enabled use Jetbrains Mono as code font (#32122)
This change forces consistency around code font in Discourse once the
new
rich-editor is enabled

- This means all code blocks in Discourse will render with this font
- Additionally the markdown mode composer will render with this font

Additionally we make 3 small adjustments:

1. We disable ligatures which conflict with typographer
2. We add support for custom ligature settings
3. We adjust down font size, cause 14px ends up matching visually with a
16px non monospace font, this change is already in place previously on
posts

Example:


![image](https://github.com/user-attachments/assets/eca0b544-f3a4-4172-b2af-b39a3c0208e7)
2025-04-02 16:36:52 +11:00
..
manager DEV: Allow stylesheet entrypoints to use @use (#31905) 2025-03-26 09:15:32 +00:00
compiler.rb DEV: Add env var to silence SASS deprecation warnings (#32074) 2025-04-01 13:11:33 +10:00
importer.rb FEATURE: when rich-editor is enabled use Jetbrains Mono as code font (#32122) 2025-04-02 16:36:52 +11:00
manager.rb FIX: Do not @import .css assets for plugins (#32014) 2025-03-26 11:01:24 +00:00
watcher.rb DEV: Fix various rubocop lints (#24749) 2023-12-06 23:25:00 +01:00