svelte-testing/tailwind.config.cjs

43 lines
1.0 KiB
JavaScript
Raw Normal View History

2022-07-01 21:30:29 +02:00
const defaultTheme = require('tailwindcss/defaultTheme')
2022-07-01 16:06:41 +02:00
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
2022-07-01 21:30:29 +02:00
extend: {
2022-07-02 23:48:39 +02:00
colors: {
'murasaki': '#4f284b',
},
2022-07-01 21:30:29 +02:00
fontFamily: {
sans: ['Roboto Flex', ...defaultTheme.fontFamily.sans],
2022-07-02 17:47:38 +02:00
montserrat: ['Montserrat', ...defaultTheme.fontFamily.sans],
roboto_slab: ['Roboto Slab', ...defaultTheme.fontFamily.serif]
2022-07-02 11:13:43 +02:00
},
gridTemplateRows: {
'12': 'repeat(12, minmax(0, 1fr))',
},
gridRow: {
'span-11': 'span 11 / span 11',
2022-07-02 23:48:39 +02:00
},
2022-07-01 21:30:29 +02:00
},
container: {
center: true,
},
2022-07-02 17:47:38 +02:00
screens: {
'sm': '640px',
// => @media (min-width: 640px) { ... }
'md': '768px',
// => @media (min-width: 768px) { ... }
'lg': '1024px',
// => @media (min-width: 1024px) { ... }
'xl': '1280px',
// => @media (min-width: 1280px) { ... }
'2xl': '1536px',
// => @media (min-width: 1536px) { ... }
2022-07-01 22:10:08 +02:00
}
2022-07-01 16:06:41 +02:00
},
plugins: [],
2022-07-01 21:30:29 +02:00
}