forked from hplush/slowreader
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpostcss.config.ts
More file actions
34 lines (32 loc) · 1012 Bytes
/
postcss.config.ts
File metadata and controls
34 lines (32 loc) · 1012 Bytes
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
import autoprefixer from 'autoprefixer'
import { join } from 'node:path'
import type { Config } from 'postcss-load-config'
import mixins from 'postcss-mixins'
import shadows from 'postcss-smooth-shadow'
import customMedia from './postcss/custom-media.ts'
import htmlKeeper from './postcss/html-keeper.ts'
import pseudoClasses from './postcss/pseudo-classes.ts'
import quietCursor from './postcss/quiet-cursor.ts'
import reducedMotion from './postcss/reduced-motion.ts'
import squircleCorner from './postcss/squircle-corner.ts'
import themeClasses from './postcss/theme-classes.ts'
import tuneColor from './postcss/tune-color.ts'
export default {
plugins: [
htmlKeeper,
customMedia({
file: join(import.meta.dirname, 'main', 'sizes.css')
}),
themeClasses,
pseudoClasses,
tuneColor,
quietCursor,
reducedMotion,
squircleCorner,
shadows(),
autoprefixer(),
mixins({
mixinsDir: join(import.meta.dirname, 'postcss', 'mixins')
})
]
} satisfies Config