Created
March 11, 2022 16:30
-
-
Save lukebouch/e398876475a86820d5653197f243ff5e to your computer and use it in GitHub Desktop.
A good starting point for Tailwindcss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const defaultTheme = require("tailwindcss/defaultTheme"); | |
module.exports = { | |
purge: ["source/**/*.blade.php", "source/**/*.md", "source/**/*.html"], | |
theme: { | |
extend: { | |
fontFamily: { | |
sans: ["Work Sans", ...defaultTheme.fontFamily.sans], | |
}, | |
fontSize: { | |
xs: ".75rem", | |
sm: ".875rem", | |
tiny: ".875rem", | |
base: "1rem", | |
lg: "1.333rem", | |
xl: "1.777rem", | |
"2xl": "2.369rem", | |
"3xl": "3.157rem", | |
"4xl": "4.209rem", | |
"5xl": "5.332rem", | |
"6xl": "6.665rem", | |
"7xl": "7.998rem", | |
}, | |
colors: { | |
blue: { | |
DEFAULT: "#0051E0", | |
}, | |
}, | |
}, | |
}, | |
variants: { | |
extend: {}, | |
}, | |
plugins: [require("@tailwindcss/forms")], | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment