mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 11:41:09 -04:00
build version 400
This commit is contained in:
91
tailwind.config.js
Normal file
91
tailwind.config.js
Normal file
@ -0,0 +1,91 @@
|
||||
const plugin = require('tailwindcss/plugin')
|
||||
|
||||
module.exports = {
|
||||
purge: [
|
||||
'./resources/views/**/*.php',
|
||||
'./resources/assets/js/**/*.js',
|
||||
'./resources/assets/js/**/*.vue',
|
||||
'./resources/assets/sass/**/*.scss',
|
||||
'./node_modules/@bytefury/spacewind/**/*.js',
|
||||
'./node_modules/@bytefury/spacewind/**/*.vue',
|
||||
'./node_modules/flatpickr/**/*.js',
|
||||
'./node_modules/toastr/**/*.js',
|
||||
'./public/js/pace/**/*.js',
|
||||
],
|
||||
theme: {
|
||||
extend: {
|
||||
fontFamily: {
|
||||
base: ['Poppins', 'sans-serif'],
|
||||
},
|
||||
colors: {
|
||||
primary: {
|
||||
50: '#F7F6FD',
|
||||
100: '#EEEEFB',
|
||||
200: '#D5D4F5',
|
||||
300: '#BCB9EF',
|
||||
400: '#8A85E4',
|
||||
500: '#5851D8',
|
||||
600: '#4F49C2',
|
||||
700: '#353182',
|
||||
800: '#282461',
|
||||
900: '#1A1841',
|
||||
},
|
||||
black: '#040405',
|
||||
},
|
||||
spacing: {
|
||||
7: '1.75rem',
|
||||
9: '2.25rem',
|
||||
72: '18rem',
|
||||
80: '20rem',
|
||||
88: '22rem',
|
||||
96: '24rem',
|
||||
},
|
||||
screens: {
|
||||
xxl: '1440px',
|
||||
},
|
||||
},
|
||||
},
|
||||
variants: {
|
||||
textColor: ['responsive', 'hover', 'focus', 'active', 'visited'],
|
||||
borderColor: ['responsive', 'hover', 'focus', 'active', 'focus-within'],
|
||||
borderRadius: ['responsive', 'hover', 'first', 'last'],
|
||||
boxShadow: ['responsive', 'hover', 'focus', 'active', 'group-hover'],
|
||||
borderStyle: ['responsive', 'hover', 'first', 'last'],
|
||||
borderWidth: ['responsive', 'last', 'hover', 'focus'],
|
||||
},
|
||||
plugins: [
|
||||
require('@bytefury/spacewind/plugin'),
|
||||
|
||||
plugin(({ config, addBase }) => {
|
||||
let craterDefaultTypography = {
|
||||
fontFamily: config('theme.fontFamily.base'),
|
||||
}
|
||||
addBase({
|
||||
'.h1': {
|
||||
...craterDefaultTypography,
|
||||
},
|
||||
'.h2': {
|
||||
...craterDefaultTypography,
|
||||
},
|
||||
'.h3': {
|
||||
...craterDefaultTypography,
|
||||
},
|
||||
'.h4': {
|
||||
...craterDefaultTypography,
|
||||
},
|
||||
'.h5': {
|
||||
...craterDefaultTypography,
|
||||
},
|
||||
'.h6': {
|
||||
...craterDefaultTypography,
|
||||
},
|
||||
'.page-title': {
|
||||
...craterDefaultTypography,
|
||||
},
|
||||
'.section-title': {
|
||||
...craterDefaultTypography,
|
||||
},
|
||||
})
|
||||
}),
|
||||
],
|
||||
}
|
||||
Reference in New Issue
Block a user