Skip to content

Instantly share code, notes, and snippets.

@AdamVig
AdamVig / markdown-preview.css
Last active May 14, 2026 15:13
VS Code Markdown Preview styles
body {
max-width: 80ch;
margin: 0 auto;
}
/* keep wide elements inside the column but scrollable */
pre,
table {
overflow-x: auto;
}
@theme {
/* #region Colors */
/* Disable Tailwind's built-in color variables */
--color-*: initial;
/* Redefine common utility colors for convenience */
--color-black: #000;
--color-white: #fff;
/* Define custom semantic color variables using OpenBridge variables */
--color-base-100: var(--container-backdrop-color);
--color-base-200: var(--container-section-color);