You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"body": "## Problem\n\nThe codeblock highlighting on the site does not match the site theme. In particular it has purple which is nowhere else in the site theme.\n\n- <img width=\"779\" height=\"386\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/aaba484f-4dab-4930-8893-f3dfc7e87d72\" />\n\n## Proposal\n\ncheck the css of https://nvim-mini.org/mini.nvim/ to see if we can borrow it, it looks great. cc @echasnovski ",
7
+
"closed_at": null,
8
+
"closed_by": null,
9
+
"comment_data": [
10
+
{
11
+
"author_association": "MEMBER",
12
+
"body": "> check the css of https://nvim-mini.org/mini.nvim/ to see if we can borrow it, it looks great. cc [@echasnovski](https://github.com/echasnovski)\n\nSite's palettes are stored in separate files: [dark theme](https://github.com/nvim-mini/nvim-mini.org/blob/17c9f5ba18bf57874399d831a5ec649f045af6be/theme/brand-dark.yml#L11-L25) and [light theme](https://github.com/nvim-mini/nvim-mini.org/blob/17c9f5ba18bf57874399d831a5ec649f045af6be/theme/brand-light.yml#L11-L25).\n\nThe general idea was to use [miniwinter and minisummer](https://nvim-mini.org/mini.nvim/readmes/mini-hues.html#four-seasons) palettes for dark and light themes respectively. *Plus* code blocks should have the same background as the basic background in those themes. Which left the choice of either going darker or lighter for basic site's background while reusing already present palette from 'mini.hues'. Decided to go darker for dark theme and lighter for light theme.\n\nThis can be reversed for neovim.io: get normal background and adjust it similarly to how 'mini.hues' does it: add approximately 5 lightness while preserving chroma and hue in OKLch color space. So:\n- Basic background is `#0f191f`, which is [lightness 11, chroma 2, hue 235](https://bottosson.github.io/misc/colorpicker/#0f191f).\n- Adjusted color is Lightness 16, chroma 2, hue 235, i.e. `#1c262d`.\n\nHere is how code blocks will look like with `#1c262d` as a background:\n\n- Before/now: \n\n<img width=\"2202\" height=\"1574\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/5e74f359-3fed-49b2-a629-90da01ef0c95\" />\n\n- After:\n\n<img width=\"2182\" height=\"1563\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/cb2945ae-8785-4c94-b87e-a083a789aa2f\" />\n\nI don't think I have a preference here. The \"after\" might be better without border though.\n\nIf you have any suggestions about how you'd like to adjust the color or have questions about nvim-mini.org site, I am happy to help.",
0 commit comments