- Update theme toggle and initialization scripts to set data-theme attribute
- Replace CSS selectors using .dark class with [data-theme="dark"] and
[data-theme="light"] attribute selectors
- Set CSS color-scheme variable alongside theme colors for better native
control appearance
- Removes redundant styles
---------
Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
* remove hljs
* rename var --hljs-bg to --code-block-bg
* bundle chroma-styles from css/includes/chroma-styles.css
* add compatibility fixes for papermod <-> chroma
* fix line-num and line padding and set width for line container to 100%
* After a lot of experimentation this compatiblity should work well
* fix inline line highlights not working
* Use catppuccin-macchiato as default theme with highlightStyle 'bg:#474733'
- hugo gen chromastyles --style catppuccin-macchiato --highlightStyle 'bg:#474733' > assets/css/includes/chroma-styles.css