{"action":"created","issue":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/193","labels_url":"https://api.github.com/repos/ant-design/ant-design/issues/193/labels{/name}","comments_url":"https://api.github.com/repos/ant-design/ant-design/issues/193/comments","events_url":"https://api.github.com/repos/ant-design/ant-design/issues/193/events","html_url":"https://github.com/ant-design/ant-design/issues/193","id":103150028,"number":193,"title":"官网列出了很多颜色配置的方案，但是我如何在项目中进行修改？","user":{"login":"Tinker404","id":12077679,"avatar_url":"https://avatars.githubusercontent.com/u/12077679?v=3","gravatar_id":"","url":"https://api.github.com/users/Tinker404","html_url":"https://github.com/Tinker404","followers_url":"https://api.github.com/users/Tinker404/followers","following_url":"https://api.github.com/users/Tinker404/following{/other_user}","gists_url":"https://api.github.com/users/Tinker404/gists{/gist_id}","starred_url":"https://api.github.com/users/Tinker404/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tinker404/subscriptions","organizations_url":"https://api.github.com/users/Tinker404/orgs","repos_url":"https://api.github.com/users/Tinker404/repos","events_url":"https://api.github.com/users/Tinker404/events{/privacy}","received_events_url":"https://api.github.com/users/Tinker404/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-26T01:33:47Z","updated_at":"2015-08-26T03:00:45Z","closed_at":null,"body":"antd文件里只有个index.css文件，要修改如此大量的色彩很复杂，是否有less或者其他的文件？"},"comment":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/comments/134803373","html_url":"https://github.com/ant-design/ant-design/issues/193#issuecomment-134803373","issue_url":"https://api.github.com/repos/ant-design/ant-design/issues/193","id":134803373,"user":{"login":"afc163","id":507615,"avatar_url":"https://avatars.githubusercontent.com/u/507615?v=3","gravatar_id":"","url":"https://api.github.com/users/afc163","html_url":"https://github.com/afc163","followers_url":"https://api.github.com/users/afc163/followers","following_url":"https://api.github.com/users/afc163/following{/other_user}","gists_url":"https://api.github.com/users/afc163/gists{/gist_id}","starred_url":"https://api.github.com/users/afc163/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afc163/subscriptions","organizations_url":"https://api.github.com/users/afc163/orgs","repos_url":"https://api.github.com/users/afc163/repos","events_url":"https://api.github.com/users/afc163/events{/privacy}","received_events_url":"https://api.github.com/users/afc163/received_events","type":"User","site_admin":false},"created_at":"2015-08-26T03:00:45Z","updated_at":"2015-08-26T03:00:45Z","body":"antd 的模板采用全局主色调变量的方式进行扩展，自定义可以参考以下的步骤：\r\n\r\n```\r\ngit clone git@github.com:ant-design/ant-design.git\r\ncd ant-design\r\nnpm install\r\n```\r\n\r\n修改 https://github.com/ant-design/ant-design/blob/master/style/themes/default/custom.less 里的主色调 `@primary-color`。\r\n\r\n然后在根目录运行：\r\n\r\n```\r\nnpm run release\r\n```\r\n\r\n会在 dist 下打包出包含修改配色方案的新的样式文件。"}}