Skip to content

Instantly share code, notes, and snippets.

View slnc's full-sized avatar

Juan Alonso slnc

View GitHub Profile
@slnc
slnc / obsidian-css-vscode-light-modern-dark-themes.css
Last active April 28, 2024 08:14
Obsidian CSS snippet to get VSCode Light Modern and Dark (Visual Studio) syntax highlighting colors
/* Obsidian CSS Snippet to approximate VSCode's "Light Modern" and
* "Dark (Visual Studio)" themes.
*
* Imperfect match because of Obsidian's coarser syntax coloring system.
*/
.theme-light {
--code-normal: #292929;
--code-comment: #008000;
--code-function: #7a5f26;
--code-important: #d16969;