me
/
ethanreece.com
Archived
1
0
Fork 0
This repository has been archived on 2024-04-05. You can view files and clone it, but cannot push or open issues/pull-requests.
ethanreece.com/tailwind.config.cjs

33 lines
941 B
JavaScript
Raw Normal View History

2023-05-30 19:11:05 +00:00
/** @type {import('tailwindcss').Config} */
2023-05-30 20:45:32 +00:00
const heropatterns = require('tailwindcss-hero-patterns/src/patterns')
2023-05-30 19:11:05 +00:00
module.exports = {
2023-05-30 19:52:17 +00:00
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
extend: {},
2023-05-30 20:45:32 +00:00
heroPatterns: {
circuitboard: heropatterns.circuitboard,
},
2023-05-30 21:29:47 +00:00
heroPatternsOpacities: ['100'],
2023-05-30 20:45:32 +00:00
heroPatternColors: ['font'],
2023-05-30 19:52:17 +00:00
colors: {
background: '#dbf6db',
'background-dark': '#bbd8bb',
2023-05-30 22:37:11 +00:00
'background-light': '#ffffff',
2023-05-30 19:52:17 +00:00
font: '#000000',
2023-05-30 21:29:47 +00:00
pattern: 'rgba(0,0,0,.02)',
2023-05-30 19:52:17 +00:00
},
fontFamily: {
main: ['JetBrainsMono-Regular', 'monospace'],
},
2023-05-30 20:45:32 +00:00
backgroundSize: {
contain: 'contain',
},
2023-05-30 22:37:11 +00:00
spacing: {
'screen-x': '2rem',
'screen-y': '1rem',
},
2023-05-30 19:52:17 +00:00
},
2023-05-30 20:45:32 +00:00
plugins: [require('tailwindcss-hero-patterns')],
2023-05-30 19:11:05 +00:00
}