代码拉取完成,页面将自动刷新
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: ['class'],
content: ['./src/**/*.{html,ts,tsx}'],
theme: {
extend: {
colors: {
'primary-blue': 'rgb(var(--color-primary-blue) / <alpha-value>)',
secondary: 'rgb(var(--color-secondary) / <alpha-value>)',
'primary-background': 'rgb(var(--primary-background) / <alpha-value>)',
'primary-text': 'rgb(var(--primary-text) / <alpha-value>)',
'secondary-text': 'rgb(var(--secondary-text) / <alpha-value>)',
'light-text': 'rgb(var(--light-text) / <alpha-value>)',
'primary-border': 'rgb(var(--primary-border) / <alpha-value>)',
},
keyframes: {
slideDownAndFade: {
from: { opacity: 0, transform: 'translateY(-2px)' },
to: { opacity: 1, transform: 'translateY(0)' },
},
slideLeftAndFade: {
from: { opacity: 0, transform: 'translateX(2px)' },
to: { opacity: 1, transform: 'translateX(0)' },
},
slideUpAndFade: {
from: { opacity: 0, transform: 'translateY(2px)' },
to: { opacity: 1, transform: 'translateY(0)' },
},
slideRightAndFade: {
from: { opacity: 0, transform: 'translateX(2px)' },
to: { opacity: 1, transform: 'translateX(0)' },
},
},
animation: {
slideDownAndFade: 'slideDownAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1)',
slideLeftAndFade: 'slideLeftAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1)',
slideUpAndFade: 'slideUpAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1)',
slideRightAndFade: 'slideRightAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1)',
},
},
},
plugins: [require('@headlessui/tailwindcss'), require('tailwind-scrollbar')],
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。