theme/tailwind.config.js

33 lines
872 B
JavaScript
Raw Normal View History

2022-08-03 15:57:19 +00:00
const defaultTheme = require('tailwindcss/defaultTheme')
2022-01-26 21:49:09 +00:00
2022-01-26 20:58:18 +00:00
module.exports = {
2022-01-29 17:53:15 +00:00
content: ['./src/*.css', './layouts/**/*.html'],
safelist: ['p-4', '!text-white', '!underline'],
2022-01-29 13:57:29 +00:00
theme: {
extend: {
colors: {
primary: {
lighter: '#3b7aec',
DEFAULT: '#196aff',
darker: '#0064ff',
2022-01-29 17:53:15 +00:00
},
2022-01-29 13:57:29 +00:00
},
fontFamily: {
title: ['Quicksand', ...defaultTheme.fontFamily.sans],
2022-08-03 15:57:19 +00:00
sans: ['Open Sans', ...defaultTheme.fontFamily.sans],
2022-01-29 13:57:29 +00:00
},
backgroundImage: {
2022-08-03 15:57:19 +00:00
'hero-llama': 'url(\'/images/bg-3.jpg\')',
'hero-llama-small': 'url(\'/images/hero-llamas-small.jpg\')',
'hero-llama-2-small': 'url(\'/images/hero-llamas-2-small.jpg\')',
'hero-llama-3-small': 'url(\'/images/hero-llamas-3-small.jpg\')',
2022-01-29 13:57:29 +00:00
},
},
},
2022-08-03 15:57:19 +00:00
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/forms'),
require('@tailwindcss/aspect-ratio'),
],
}