mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-23 01:30:26 +08:00
fix: form valid-error style in naive (#5336)
This commit is contained in:
parent
516d0b8dc8
commit
c979c23e6b
@ -4,6 +4,7 @@ import { registerAccessDirective } from '@vben/access';
|
||||
import { preferences } from '@vben/preferences';
|
||||
import { initStores } from '@vben/stores';
|
||||
import '@vben/styles';
|
||||
import '@vben/styles/naive';
|
||||
|
||||
import { useTitle } from '@vueuse/core';
|
||||
|
||||
|
@ -21,6 +21,9 @@
|
||||
"./ele": {
|
||||
"default": "./src/ele/index.css"
|
||||
},
|
||||
"./naive": {
|
||||
"default": "./src/naive/index.css"
|
||||
},
|
||||
"./global": {
|
||||
"default": "./src/global/index.scss"
|
||||
}
|
||||
|
20
packages/styles/src/naive/index.css
Normal file
20
packages/styles/src/naive/index.css
Normal file
@ -0,0 +1,20 @@
|
||||
.form-valid-error {
|
||||
.n-base-selection__state-border,
|
||||
.n-input__state-border,
|
||||
.n-radio-group__splitor {
|
||||
border: var(--n-border-error);
|
||||
}
|
||||
|
||||
.n-radio-group .n-radio-button,
|
||||
.n-radio-group .n-radio-group__splitor {
|
||||
--n-button-border-color: rgb(255 56 96);
|
||||
}
|
||||
|
||||
.n-radio__dot {
|
||||
--n-box-shadow: inset 0 0 0 1px rgb(255 56 96);
|
||||
}
|
||||
|
||||
.n-checkbox-box__border {
|
||||
--n-border: 1px solid rgb(255 56 96);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user