forked from tangled.org/core
this repo has no description

tailwind: apply dark mode css for code blocks

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