Skip to content

Commit

Permalink
tailwind config
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubabrzy committed Sep 19, 2023
1 parent 4239d3f commit aa9050f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/** @type {import('tailwindcss').Config} */
import defaultTheme from "tailwindcss/defaultTheme";

module.exports = {
darkMode: ["class", '[data-theme="dark"]'],
content: ["./src/**/*.{js,jsx,ts,tsx,svg}", "./docusaurus.config.js"],
Expand Down Expand Up @@ -46,6 +48,10 @@ module.exports = {
fontFamily: {
sans: ['"DM Sans"', "system-ui"],
},
screens: {
"xs": { max: "576px" },
...defaultTheme.screens,
},
},
plugins: [require("@tailwindcss/typography")],
};

0 comments on commit aa9050f

Please sign in to comment.