forked from tangled.org/core
Monorepo for Tangled

tailwind: apply dark mode css for code blocks

Changed files
+1 -9
+1 -9
tailwind.config.js
··· 22 22 mono: ["iA Writer Mono S", "ui-monospace", "SFMono-Regular", "Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", "monospace"], 23 23 }, 24 24 typography: { 25 - dark: { 26 - css: { 27 - maxWidth: 'none', 28 - pre: { 29 - backgroundColor: colors.gray[900], 30 - color: colors.white, 31 - }, 32 - }, 33 - }, 34 25 DEFAULT: { 35 26 css: { 36 27 maxWidth: 'none', 37 28 pre: { 38 29 backgroundColor: colors.gray[100], 39 30 color: colors.black, 31 + '@apply dark:bg-gray-900 dark:text-gray-300 dark:border-gray-700 dark:border': {} 40 32 }, 41 33 }, 42 34 },