Newtonian Physics Mockumentary

    @tuax/plugin-css-preprocessor

    3.0.0 • Public • Published

    cssEnhance 插件

    postcss 支持自动生成 postcssrc 文件

    插件参数

    参数由插件名和参数对象组成一个数组

    darkMode

    postcss-darkmode 插件的配置 darkMode 在 .tuarc中配置

    /**
    * postcss-darkmode 插件默认配置
    * https://www.npmjs.com/package/postcss-darkmode
    */
    darkMode: {
        ratio: 10, // 亮度调整的百分比
        assignColors: [ // 规范的darkMode互转色值
            ['#FFFFFF', '#2C2C2E'],
        ],
        skipExistingDarkMediaQuery: true,
        excludeFiles: []
    }

    Keywords

    none

    Install

    npm i @tuax/plugin-css-preprocessor

    DownloadsWeekly Downloads

    4

    Version

    3.0.0

    License

    MIT

    Unpacked Size

    79.7 kB

    Total Files

    6

    Last publish

    Collaborators

    • knightwu
    • pastest
    • buptsteve