Have ideas to improve npm?Join in the discussion! »

    umi-plugin-antd-theme

    2.1.2 • Public • Published

    umi-plugin-antd-theme

    NPM version NPM downloads

    Usage

    Configure in config/theme.config.json,

    {
      "theme": [
        {
          "theme": "dark",
          "fileName": "dark.css"
        },
        {
          "fileName": "mingQing.css",
          "modifyVars": {
            "@primary-color": "#13C2C2"
          }
        }
      ],
      // css
      "min": true,
      // css module
      "isModule": true,
      //  antd 
      "ignoreAntd": false,
      //  pro-layout
      "ignoreProLayout": false,
      // 使
      "cache": true
    }

    you can get config in window.umi_plugin_ant_themeVar

    LICENSE

    MIT

    Keywords

    none

    Install

    npm i umi-plugin-antd-theme

    DownloadsWeekly Downloads

    691

    Version

    2.1.2

    License

    MIT

    Unpacked Size

    16.2 kB

    Total Files

    7

    Last publish

    Collaborators

    • avatar