diff options
Diffstat (limited to 'tailwind.config.mjs')
| -rw-r--r-- | tailwind.config.mjs | 35 |
1 files changed, 31 insertions, 4 deletions
diff --git a/tailwind.config.mjs b/tailwind.config.mjs index 19f0614..507c93e 100644 --- a/tailwind.config.mjs +++ b/tailwind.config.mjs @@ -1,8 +1,35 @@ /** @type {import('tailwindcss').Config} */ +const colors = require('tailwindcss/colors'); +const defaultTheme = require('tailwindcss/defaultTheme'); + export default { content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'], - theme: { - extend: {}, - }, - plugins: [], + theme: { + extend: { + backgroundImage: { + 'grid-pattern': "linear-gradient(to bottom, theme('colors.neutral.950 / 0%'), theme('colors.neutral.950 / 100%')), url('/images/noise.png')" + }, + colors: { + neutral: colors.neutral + }, + fontFamily: { + sans: ['Inter', ...defaultTheme.fontFamily.sans] + } + } + }, + daisyui: { + themes: [ + { + lofi: { + ...require('daisyui/src/theming/themes')['lofi'], + primary: '#2bdcd2', + 'primary-content': '#171717', + secondary: '#016968', + info: '#2bdcd2', + 'info-content': '#171717', + } + } + ] + }, + plugins: [require('daisyui')], } |
