Node Packaged Masterfully

    @gem-mine/ui-theme-color

    1.1.0 • Public • Published

    ui-theme-color

    结合 webpack,处理 ant、fish 的主题颜色处理方案

    webpack 中的处理:

    const { ThemeColorPlugin } = require('@gem-mine/ui-theme-color/lib/webpack')
    
    // 在插件中添加
    new ThemeColorPlugin()
    

    在切换主题颜色的地方:

    const { changeColor } = require('@gem-mine/ui-theme-color/lib/browser')
    
    // 切换主题颜色,color值为:#aabbcc
    changeColor(color)
    

    Keywords

    none

    Install

    npm i @gem-mine/ui-theme-color

    DownloadsWeekly Downloads

    11

    Version

    1.1.0

    License

    none

    Unpacked Size

    6.84 kB

    Total Files

    8

    Last publish

    Collaborators

    • gylllll
    • janya
    • githoniel
    • amazebird
    • mraiguo
    • guoyh
    • wengzp
    • caolvchong