-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove option and add default themes
- Loading branch information
1 parent
9993bfc
commit 1360489
Showing
3 changed files
with
165 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
/** @format */ | ||
|
||
export default { | ||
theme: [ | ||
{ | ||
key: 'dark', | ||
fileName: 'dark.css', | ||
theme: 'dark', | ||
}, | ||
{ | ||
key: 'dust', | ||
fileName: 'dust.css', | ||
modifyVars: { | ||
'@primary-color': '#F5222D', | ||
}, | ||
}, | ||
{ | ||
key: 'volcano', | ||
fileName: 'volcano.css', | ||
modifyVars: { | ||
'@primary-color': '#FA541C', | ||
}, | ||
}, | ||
{ | ||
key: 'sunset', | ||
fileName: 'sunset.css', | ||
modifyVars: { | ||
'@primary-color': '#FAAD14', | ||
}, | ||
}, | ||
{ | ||
key: 'cyan', | ||
fileName: 'cyan.css', | ||
modifyVars: { | ||
'@primary-color': '#13C2C2', | ||
}, | ||
}, | ||
{ | ||
key: 'green', | ||
fileName: 'green.css', | ||
modifyVars: { | ||
'@primary-color': '#52C41A', | ||
}, | ||
}, | ||
{ | ||
key: 'geekblue', | ||
fileName: 'geekblue.css', | ||
modifyVars: { | ||
'@primary-color': '#2F54EB', | ||
}, | ||
}, | ||
{ | ||
key: 'purple', | ||
fileName: 'purple.css', | ||
modifyVars: { | ||
'@primary-color': '#722ED1', | ||
}, | ||
}, | ||
|
||
{ | ||
key: 'dust', | ||
theme: 'dark', | ||
fileName: 'dark-dust.css', | ||
modifyVars: { | ||
'@primary-color': '#F5222D', | ||
}, | ||
}, | ||
{ | ||
key: 'volcano', | ||
theme: 'dark', | ||
fileName: 'dark-volcano.css', | ||
modifyVars: { | ||
'@primary-color': '#FA541C', | ||
}, | ||
}, | ||
{ | ||
key: 'sunset', | ||
theme: 'dark', | ||
fileName: 'dark-sunset.css', | ||
modifyVars: { | ||
'@primary-color': '#FAAD14', | ||
}, | ||
}, | ||
{ | ||
key: 'cyan', | ||
theme: 'dark', | ||
fileName: 'dark-cyan.css', | ||
modifyVars: { | ||
'@primary-color': '#13C2C2', | ||
}, | ||
}, | ||
{ | ||
key: 'green', | ||
theme: 'dark', | ||
fileName: 'dark-green.css', | ||
modifyVars: { | ||
'@primary-color': '#52C41A', | ||
}, | ||
}, | ||
{ | ||
key: 'geekblue', | ||
theme: 'dark', | ||
fileName: 'dark-geekblue.css', | ||
modifyVars: { | ||
'@primary-color': '#2F54EB', | ||
}, | ||
}, | ||
{ | ||
key: 'purple', | ||
theme: 'dark', | ||
fileName: 'dark-purple.css', | ||
modifyVars: { | ||
'@primary-color': '#722ED1', | ||
}, | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1360489
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ant-design/ant-design-pro#6039