ash_hq/assets/tailwind.config.js

42 lines
1.7 KiB
JavaScript
Raw Normal View History

2022-03-26 10:17:01 +13:00
const colors = require('tailwindcss/colors')
module.exports = {
mode: "jit",
2022-03-29 11:05:19 +13:00
content: ["./js/**/*.js", "../lib/*_web/**/*.*ex"],
2022-03-26 10:17:01 +13:00
darkMode: "class",
theme: {
extend: {
2022-08-05 09:06:52 +12:00
typography: {
DEFAULT: {
css: {
'code::before': {
content: '""'
},
'code::after': {
content: '""'
}
}
}
},
2022-03-26 10:17:01 +13:00
backgroundImage: {
'dark-grid': `linear-gradient(to bottom, rgb(24, 25, 32, 80%) 20%, rgb(24, 25, 32, 50%) 40%, rgb(24, 25, 32, 40%) 80%, rgb(24, 25, 32, 60%) 20%), url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ada3bf' fill-opacity='0.26'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")`,
'light-grid': `linear-gradient(to bottom, rgb(255, 255, 255, 90%) 20%, rgb(255, 255, 255, 85%) 30%, rgb(255, 255, 255, 80%) 80%, rgb(255, 255, 255, 95%) 20%), url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23312a3b' fill-opacity='0.42'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");`
},
colors: {
'primary-black': '#181920',
'silver-phoenix': '#EAEBF3'
},
},
},
variants: {
extend: {
display: ['dark']
},
},
2022-03-29 08:47:43 +13:00
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/forms')
2022-03-29 08:47:43 +13:00
],
2022-03-26 10:17:01 +13:00
};