2022-07-13 13:56:36 +00:00
|
|
|
const colors = require('tailwindcss/colors')
|
|
|
|
const defaultTheme = require('tailwindcss/defaultTheme')
|
|
|
|
const plugin = require('tailwindcss/plugin')
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
content: ['./{components,contexts,hooks,pages,utils}/**/*.{js,cjs,mjs,ts,tsx}'],
|
|
|
|
|
2022-07-27 06:49:36 +00:00
|
|
|
daisyui: {
|
2022-08-10 09:07:05 +00:00
|
|
|
themes: ['dracula'],
|
2022-07-27 06:49:36 +00:00
|
|
|
},
|
|
|
|
|
2022-07-13 13:56:36 +00:00
|
|
|
theme: {
|
|
|
|
extend: {
|
|
|
|
colors: {
|
2022-09-13 05:19:04 +00:00
|
|
|
stargaze: { DEFAULT: '#DB2676' },
|
2022-07-13 13:56:36 +00:00
|
|
|
dark: { DEFAULT: '#06090B' },
|
2022-09-19 08:14:30 +00:00
|
|
|
gray: { DEFAULT: '#A9A9A9' },
|
2022-07-13 13:56:36 +00:00
|
|
|
'dark-gray': { DEFAULT: '#191D20' },
|
|
|
|
purple: { DEFAULT: '#7E5DFF' },
|
|
|
|
|
|
|
|
neutral: colors.neutral,
|
|
|
|
plumbus: {
|
2022-09-13 05:19:04 +00:00
|
|
|
DEFAULT: '#DB2676',
|
|
|
|
light: '#AF1F5F',
|
2022-07-14 10:16:50 +00:00
|
|
|
matte: '#5D89E9',
|
|
|
|
dark: '#FFC900',
|
2022-07-13 13:56:36 +00:00
|
|
|
10: '#FFF0ED',
|
2022-07-14 10:16:50 +00:00
|
|
|
20: '#5D89E9',
|
2022-07-13 13:56:36 +00:00
|
|
|
30: '#F5A7A2',
|
2022-09-13 05:19:04 +00:00
|
|
|
40: '#DB2676',
|
|
|
|
50: '#DB2676',
|
|
|
|
60: '#DB2676',
|
2022-07-13 13:56:36 +00:00
|
|
|
70: '#AB5152',
|
|
|
|
80: '#944144',
|
|
|
|
90: '#7D3136',
|
|
|
|
100: '#662027',
|
|
|
|
110: '#4F1019',
|
|
|
|
120: '#38000B',
|
|
|
|
},
|
|
|
|
twitter: { DEFAULT: '#1DA1F2' },
|
|
|
|
},
|
|
|
|
fontFamily: {
|
|
|
|
heading: ["'Basement Grotesque'", ...defaultTheme.fontFamily.sans],
|
|
|
|
sans: ['Roboto', ...defaultTheme.fontFamily.sans],
|
|
|
|
mono: ['"JetBrains Mono"', ...defaultTheme.fontFamily.mono],
|
|
|
|
},
|
2022-08-10 09:07:05 +00:00
|
|
|
animation: {
|
|
|
|
'spin-slow': 'spin 3s linear infinite',
|
|
|
|
},
|
2022-07-13 13:56:36 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
plugins: [
|
|
|
|
// tailwindcss official plugins
|
|
|
|
require('@tailwindcss/forms')({
|
|
|
|
strategy: 'class',
|
|
|
|
}),
|
|
|
|
require('@tailwindcss/line-clamp'),
|
|
|
|
|
|
|
|
// custom gradient background
|
|
|
|
plugin(({ addUtilities }) => {
|
|
|
|
addUtilities({
|
|
|
|
'.stargaze-gradient-bg': {
|
2022-07-14 10:16:50 +00:00
|
|
|
background: `linear-gradient(64.38deg, #00027D 15.06%, #7F97D2 100.6%), #252020`,
|
2022-07-13 13:56:36 +00:00
|
|
|
},
|
|
|
|
'.stargaze-gradient-brand': {
|
2022-07-14 10:16:50 +00:00
|
|
|
background: `linear-gradient(102.33deg, #FFC27D 10.96%, #7F97D2 93.51%)`,
|
2022-07-13 13:56:36 +00:00
|
|
|
},
|
|
|
|
})
|
|
|
|
}),
|
2022-08-10 09:07:05 +00:00
|
|
|
require('daisyui'),
|
2022-07-13 13:56:36 +00:00
|
|
|
],
|
|
|
|
}
|