[core/tailwind.config.js][xs]: add basic Flowershow tailwind config
This commit is contained in:
parent
09f0c18b66
commit
75fa429261
@ -1,16 +1,44 @@
|
||||
const { createGlobPatternsForDependencies } = require('@nrwl/next/tailwind');
|
||||
const { join } = require('path');
|
||||
// const defaultTheme = require("tailwindcss/defaultTheme");
|
||||
const colors = require("tailwindcss/colors");
|
||||
|
||||
module.exports = {
|
||||
content: [
|
||||
join(__dirname, './src/**/*.{js,ts,jsx,tsx}'),
|
||||
...createGlobPatternsForDependencies(__dirname),
|
||||
],
|
||||
darkMode: "class",
|
||||
theme: {
|
||||
extend: {},
|
||||
extend: {
|
||||
// support wider width for large screens >1440px eg. in hero
|
||||
maxWidth: {
|
||||
"8xl": "88rem",
|
||||
},
|
||||
// fontFamily: {
|
||||
// sans: ["ui-sans-serif", ...defaultTheme.fontFamily.sans],
|
||||
// serif: ["ui-serif", ...defaultTheme.fontFamily.serif],
|
||||
// mono: ["ui-monospace", ...defaultTheme.fontFamily.mono],
|
||||
// headings: ["-apple-system", ...defaultTheme.fontFamily.sans],
|
||||
// },
|
||||
colors: {
|
||||
background: {
|
||||
DEFAULT: colors.white,
|
||||
dark: colors.slate[900],
|
||||
},
|
||||
primary: {
|
||||
DEFAULT: colors.gray[700],
|
||||
dark: colors.gray[300],
|
||||
},
|
||||
secondary: {
|
||||
DEFAULT: colors.sky[400],
|
||||
dark: colors.sky[400],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
variants: {
|
||||
extend: {},
|
||||
},
|
||||
plugins: [],
|
||||
/* eslint global-require: off */
|
||||
// plugins: [
|
||||
// require("@tailwindcss/typography")
|
||||
// ],
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user