aboutsummaryrefslogtreecommitdiff
path: root/apps/storybook/postcss.config.ts
blob: a94bdf1c692bee72bd63c53187b1689c5c077bed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import autoprefixer from 'autoprefixer';
import tailwindcss from 'tailwindcss';

// @ts-expect-error no typings for this
import pseudo from 'postcss-pseudo-companion-classes';

const config = {
	plugins: [
		autoprefixer(),
		tailwindcss(),
		pseudo({
			prefix: 'sb-pseudo--',
			restrictTo: [':hover', ':focus'],
		}),
	],
};

export default config;