Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
najiu-admin-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
najiu-frontend
najiu-admin-template
Commits
5eee0ceb
Unverified
Commit
5eee0ceb
authored
May 20, 2021
by
Netfan
Committed by
GitHub
May 20, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(theme): wrong color when RadioButtonGroup checked (#626)
parent
9b2d41ea
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
theme.ts
build/vite/plugin/theme.ts
+5
-2
No files found.
build/vite/plugin/theme.ts
View file @
5eee0ceb
...
@@ -27,10 +27,13 @@ export function configThemePlugin(isBuild: boolean): Plugin[] {
...
@@ -27,10 +27,13 @@ export function configThemePlugin(isBuild: boolean): Plugin[] {
switch
(
s
)
{
switch
(
s
)
{
case
'
.ant-steps-item-process .ant-steps-item-icon > .ant-steps-icon
'
:
case
'
.ant-steps-item-process .ant-steps-item-icon > .ant-steps-icon
'
:
return
'
.ant-steps-item-icon > .ant-steps-icon
'
;
return
'
.ant-steps-item-icon > .ant-steps-icon
'
;
case
'
.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled)
'
:
case
'
.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover
'
:
case
'
.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active
'
:
return
s
;
case
'
.ant-steps-item-icon > .ant-steps-icon
'
:
case
'
.ant-steps-item-icon > .ant-steps-icon
'
:
return
s
;
return
s
;
}
}
return
`[data-theme]
${
s
}
`
;
return
`[data-theme]
${
s
}
`
;
},
},
colorVariables
:
[...
getThemeColors
(),
...
colors
],
colorVariables
:
[...
getThemeColors
(),
...
colors
],
...
@@ -58,5 +61,5 @@ export function configThemePlugin(isBuild: boolean): Plugin[] {
...
@@ -58,5 +61,5 @@ export function configThemePlugin(isBuild: boolean): Plugin[] {
}),
}),
];
];
return
(
plugin
as
unknown
)
as
Plugin
[];
return
plugin
as
unknown
as
Plugin
[];
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment