theme/tailwind.config.js

33 lines
882 B
JavaScript
Raw Permalink Normal View History

2022-12-23 15:35: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'],
2022-08-17 15:17:40 +00:00
safelist: ['p-4', '!text-white', '!underline', 'bg-amber-400'],
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-12-23 15:35: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'),
],
2022-12-23 15:35:19 +00:00
};