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

69 lines
1.9 KiB
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: {
2023-08-19 19:04:23 +00:00
extend: {
typography: {
DEFAULT: {
css: {
color: 'black',
fontWeight: '200',
h1: {
paddingTop: '1rem',
},
'a:hover': {
background: 'black',
color: 'white',
textDecoration: 'none',
},
},
},
},
},
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-06-02 21:17:51 +00:00
'background-hover': '#000000cc',
2023-05-30 19:52:17 +00:00
font: '#000000',
2023-05-31 05:45:49 +00:00
'font-light': '#004f07',
2023-06-02 21:17:51 +00:00
'font-hover': '#ffffff',
2023-05-30 21:29:47 +00:00
pattern: 'rgba(0,0,0,.02)',
2023-05-30 19:52:17 +00:00
},
fontFamily: {
2023-05-31 05:45:49 +00:00
main: ['JetBrains Mono Variable', 'monospace'],
2023-05-30 19:52:17 +00:00
},
2023-05-30 20:45:32 +00:00
backgroundSize: {
contain: 'contain',
2023-06-02 18:25:17 +00:00
circuitboard: '40rem',
2023-05-30 20:45:32 +00:00
},
2023-05-30 22:37:11 +00:00
spacing: {
2023-06-09 20:11:28 +00:00
'screen-x': '1rem',
'screen-y': '1.5rem',
2023-06-01 04:28:04 +00:00
'navbar-h': '4rem',
2023-06-02 18:25:17 +00:00
paragraph: '1rem',
2023-06-01 04:28:04 +00:00
},
maxWidth: {
'page-w': '45rem',
},
zIndex: {
navbar: '100',
2023-05-30 22:37:11 +00:00
},
2023-06-10 21:23:14 +00:00
screens: {
sm: '640px',
md: '768px',
},
2023-05-30 19:52:17 +00:00
},
2023-08-19 19:04:23 +00:00
plugins: [
require('tailwindcss-hero-patterns'),
require('@tailwindcss/typography'),
],
2023-05-30 19:11:05 +00:00
}