Skip to content

Instantly share code, notes, and snippets.

@lukebouch
Created March 11, 2022 16:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukebouch/e398876475a86820d5653197f243ff5e to your computer and use it in GitHub Desktop.
Save lukebouch/e398876475a86820d5653197f243ff5e to your computer and use it in GitHub Desktop.
A good starting point for Tailwindcss
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