Skip to content

Commit 01d12f3

Browse files
committed
docs(styled/install): update tailwind config
1 parent 43b1c81 commit 01d12f3

File tree

1 file changed

+15
-0
lines changed
  • apps/website/src/routes/docs/styled/(getting-started)/install

1 file changed

+15
-0
lines changed

apps/website/src/routes/docs/styled/(getting-started)/install/index.mdx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ const { join } = require('path');
122122
const plugin = require('tailwindcss/plugin');
123123

124124
/** @type {import('tailwindcss').Config} */
125+
125126
module.exports = {
126127
content: [join(__dirname, 'src/**/*.{js,ts,jsx,tsx,mdx}')],
127128
plugins: [
@@ -205,6 +206,20 @@ module.exports = {
205206
1: 'calc(var(--stroke-width) + 1px)',
206207
2: 'calc(var(--stroke-width) + 2px)',
207208
},
209+
animation: {
210+
'accordion-up': 'collapsible-up 0.2s ease-out 0s 1 normal forwards',
211+
'accordion-down': 'collapsible-down 0.2s ease-out 0s 1 normal forwards',
212+
},
213+
keyframes: {
214+
'collapsible-down': {
215+
from: { height: '0' },
216+
to: { height: 'var(--qwikui-collapsible-content-height)' },
217+
},
218+
'collapsible-up': {
219+
from: { height: 'var(--qwikui-collapsible-content-height)' },
220+
to: { height: '0' },
221+
},
222+
},
208223
},
209224
},
210225
};

0 commit comments

Comments
 (0)