{"id":15531251,"url":"https://github.com/chenshuai2144/umi-plugin-antd-theme","last_synced_at":"2025-04-15T21:42:33.330Z","repository":{"id":46075766,"uuid":"209216352","full_name":"chenshuai2144/umi-plugin-antd-theme","owner":"chenshuai2144","description":"🎨 Best theme plugin","archived":false,"fork":false,"pushed_at":"2021-11-16T08:09:09.000Z","size":47,"stargazers_count":85,"open_issues_count":21,"forks_count":30,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T01:41:28.415Z","etag":null,"topics":["ant-design","ant-design-pro","antd","antdpro","theme","umi"],"latest_commit_sha":null,"homepage":"https://preview.pro.ant.design/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chenshuai2144.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-18T04:20:32.000Z","updated_at":"2024-07-01T09:40:17.000Z","dependencies_parsed_at":"2022-08-12T12:40:31.389Z","dependency_job_id":null,"html_url":"https://github.com/chenshuai2144/umi-plugin-antd-theme","commit_stats":null,"previous_names":["chenshuai2144/umi-plugin-ant-theme"],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenshuai2144%2Fumi-plugin-antd-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenshuai2144%2Fumi-plugin-antd-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenshuai2144%2Fumi-plugin-antd-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenshuai2144%2Fumi-plugin-antd-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chenshuai2144","download_url":"https://codeload.github.com/chenshuai2144/umi-plugin-antd-theme/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249160816,"owners_count":21222459,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ant-design","ant-design-pro","antd","antdpro","theme","umi"],"created_at":"2024-10-02T11:25:20.969Z","updated_at":"2025-04-15T21:42:33.286Z","avatar_url":"https://github.com/chenshuai2144.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- @format --\u003e\n\n# umi-plugin-antd-theme\n\n[![NPM version](https://img.shields.io/npm/v/umi-plugin-antd-theme.svg?style=flat)](https://npmjs.org/package/umi-plugin-antd-theme) [![NPM downloads](http://img.shields.io/npm/dm/umi-plugin-antd-theme.svg?style=flat)](https://npmjs.org/package/umi-plugin-antd-theme)\n\n## Usage\n\nConfigure in `config/theme.config.json`,\n\n```json\n{\n  \"theme\": [\n    {\n      \"theme\": \"dark\",\n      \"fileName\": \"dark.css\"\n    },\n    {\n      \"fileName\": \"mingQing.css\",\n      \"modifyVars\": {\n        \"@primary-color\": \"#13C2C2\"\n      }\n    }\n  ],\n  // 是否压缩css\n  \"min\": true,\n  // css module\n  \"isModule\": true,\n  // 忽略 antd 的依赖\n  \"ignoreAntd\": false,\n  // 忽略 pro-layout\n  \"ignoreProLayout\": false,\n  // 不使用缓存\n  \"cache\": true\n}\n```\n\nyou can get config in `window.umi_plugin_ant_themeVar`\n\n## LICENSE\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchenshuai2144%2Fumi-plugin-antd-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchenshuai2144%2Fumi-plugin-antd-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchenshuai2144%2Fumi-plugin-antd-theme/lists"}