async parsing + tex caching

This commit is contained in:
2026-08-26 02:06:40 +02:00
parent 3946541f87
commit 78988700be
-25
View File
@@ -1,25 +0,0 @@
# Code block color scheme sources
Canonical sources for the schemes in
`Modules/Notifications/Sidebar/Chat/Content/CodeColors.qml`.
Rules:
- Verify one scheme at a time, in order.
- HSL/RGB values from the specs are converted with a Python script,
never by hand:
`python3 -c "import colorsys; r,g,b = colorsys.hls_to_rgb(h/360, l/100, s/100); print('#%02x%02x%02x' % tuple(round(c*255) for c in (r,g,b)))"`
(HLS in Python is h, l, s — note the order.)
- Check the box only after the QML is fixed and verified against the spec.
- [x] **One Dark** — https://github.com/atom/one-dark-syntax/blob/master/styles/syntax-variables.less
- [x] **Nord** — https://github.com/nordtheme/nord/blob/develop/src/nord.css
- [x] **Dracula** — https://github.com/dracula/draculatheme.com/blob/main/content/spec.mdx
- [x] **Solarized** — https://github.com/altercation/solarized/blob/master/colors/solarized.vim (actual path: vim-colors-solarized/colors/solarized.vim)
- [x] **Gruvbox** — https://github.com/morhetz/gruvbox/blob/master/colors/gruvbox.vim
- [x] **Monokai** — https://github.com/JetBrains/colorSchemeTool/blob/master/intellijThemes/Monokai.icls
- [x] **GitHub Dark** — https://github.com/primer/github-vscode-theme
- [x] **Catppuccin (Mocha)** — https://github.com/catppuccin/nvim
- [x] **Tokyo Night** — https://github.com/folke/tokyonight.nvim/tree/main/lua/tokyonight/groups
- [x] **Ayu (Dark)** — https://github.com/ayu-theme/vscode-ayu
- [x] **Palenight** — https://github.com/drewtempelmeyer/palenight.vim