Skip to content

Commit

Permalink
fix: landing page text color (#1024)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyhyco authored Aug 9, 2024
1 parent e911698 commit fce0839
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions site/docs/pages/guides/tailwind.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Depending on your dark mode setup, you may have to add `safelist: ['dark']` to y
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{ts,tsx}'],
darkMode: ['class'], // [!code focus]
safelist: ['dark'], // [!code focus]
theme: {
fontFamily: {
Expand Down
2 changes: 2 additions & 0 deletions site/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
export default {
content: ['./docs/**/*.{js,ts,jsx,tsx,md,mdx}'],
important: true,
darkMode: ['class'],
safelist: ['dark'],
theme: {
fontFamily: {
sans: ['Inter', 'sans-serif'],
Expand Down

0 comments on commit fce0839

Please sign in to comment.