forked from rDrama/rDrama
1
0
Fork 0
master
kek7198 2021-12-01 12:19:48 -06:00
parent 95205131a9
commit be2d23cd87
2 changed files with 15 additions and 1 deletions

View File

@ -2,6 +2,10 @@
@tailwind components;
@tailwind utilities;
:root {
--color-primary: 220, 38, 38;
}
@import url('https://fonts.googleapis.com/css2?family=Delius+Swash+Caps&display=swap');
@responsive {

View File

@ -9,6 +9,15 @@ module.exports = {
darkMode: 'class', // or 'media' or 'class'
theme: {
colors: {
primary: ({ opacityVariable, opacityValue }) => {
if (opacityValue !== undefined) {
return `rgba(var(--color-primary), ${opacityValue})`
}
if (opacityVariable !== undefined) {
return `rgba(var(--color-primary), var(${opacityVariable}, 1))`
}
return `rgb(var(--color-primary))`
},
transparent: 'transparent',
current: 'currentColor',
black: colors.black,
@ -20,7 +29,8 @@ module.exports = {
blue: colors.sky
},
fontFamily: {
'heading': ['Delius Swash Caps']
'heading': ['Delius Swash Caps'],
'serif': ['Georgia']
},
extend: {
boxShadow: {