website/tailwind.config.js

62 lines
2.1 KiB
JavaScript
Raw Normal View History

2024-08-15 00:43:18 +03:00
const colors = require('tailwindcss/colors')
2024-11-16 15:17:25 +03:00
const plugin = require('tailwindcss/plugin')
2024-08-15 00:43:18 +03:00
/** @type {import('tailwindcss').Config} */
export default {
2024-08-08 04:46:38 +03:00
content: ['./src/**/*.{html,js,svelte,ts,md}'],
theme: {
2024-08-15 00:43:18 +03:00
extend: {
typography: ({ theme }) => ({
ralsei: {
css: {
'--tw-prose-body': theme('colors.ralsei.white'),
'--tw-prose-headings': theme('colors.ralsei.pink.neon'),
'--tw-prose-lead': theme('colors.ralsei.white'),
'--tw-prose-links': theme('colors.ralsei.green.light'),
'--tw-prose-bold': theme('colors.ralsei.white'),
'--tw-prose-counters': theme('colors.ralsei.pink.regular'),
'--tw-prose-bullets': theme('colors.ralsei.pink.regular'),
'--tw-prose-hr': theme('colors.ralsei.white'),
'--tw-prose-quotes': theme('colors.ralsei.white'),
'--tw-prose-quote-borders': theme('colors.ralsei.white'),
'--tw-prose-captions': theme('colors.ralsei.white'),
'--tw-prose-code': theme('colors.ralsei.pink.regular'),
'--tw-prose-pre-code': theme('colors.ralsei.white'),
'--tw-prose-pre-bg': theme('colors.ralsei.green.dark'),
'--tw-prose-th-borders': theme('colors.ralsei.white'),
'--tw-prose-td-borders': theme('colors.ralsei.white'),
},
},
}),
animation: {
2024-10-30 14:00:36 +03:00
'bounce-slow': 'bounce 3s infinite',
'pulse-fast': 'pulse 1s cubic-bezier(0.4, 0, 0.6, 1) infinite',
2024-11-27 16:54:01 +03:00
'blink': 'blink 1s step-start infinite',
2024-08-15 00:43:18 +03:00
},
colors: {
ralsei: {
pink: {
regular: '#fe96e0',
neon: '#ff3eb7',
},
white: '#fff9fe',
black: '#000801',
green: {
light: '#4dcc8e',
dark: '#162d26',
}
}
}
},
fontFamily: {
'sans-serif': ['"Comic Sans", sans-serif'],
monospace: ['"Comic Shanns", monospace'],
}
},
2024-08-08 04:46:38 +03:00
plugins: [
2024-08-22 23:54:03 +03:00
require('@tailwindcss/typography'),
require('@tailwindcss/forms'),
2024-08-08 04:46:38 +03:00
],
}