-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.ts
36 lines (34 loc) · 1.02 KB
/
tailwind.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import {animationTheme} from './lib/animation.js';
import {colorTheme, colorPlugin} from './lib/color-scheme.js';
import {containPlugin, containTheme} from './lib/contain.js';
import {directionPlugin} from './lib/direction.js';
import {elevationPlugin} from './lib/elevation.js';
import {safeAreaPlugin} from './lib/safe-area.js';
import {screenTheme} from './lib/screen.js';
import {stateLayerPlugin} from './lib/state-layer.js';
import {translucentPlugin} from './lib/translucent.js';
import {typographyTheme} from './lib/typography.js';
import {zIndexTheme} from './lib/z-index.js';
import type {Config} from 'tailwindcss';
export const tailwindConfig: Omit<Config, 'content'> = {
darkMode: 'media',
theme: {
extend: {
...colorTheme,
...typographyTheme,
...zIndexTheme,
...screenTheme,
...animationTheme,
...containTheme,
},
},
plugins: [
colorPlugin,
elevationPlugin,
stateLayerPlugin,
translucentPlugin,
safeAreaPlugin,
directionPlugin,
containPlugin,
],
};