Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
monorepo
/
venus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c979c23e
authored
Jan 10, 2025
by
Netfan
Committed by
GitHub
Jan 10, 2025
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: form valid-error style in naive (#5336)
1 parent
516d0b8d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
0 deletions
apps/web-naive/src/bootstrap.ts
packages/styles/package.json
packages/styles/src/naive/index.css
apps/web-naive/src/bootstrap.ts
View file @
c979c23
...
...
@@ -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'
;
...
...
packages/styles/package.json
View file @
c979c23
...
...
@@ -21,6 +21,9 @@
"./ele"
:
{
"default"
:
"./src/ele/index.css"
},
"./naive"
:
{
"default"
:
"./src/naive/index.css"
},
"./global"
:
{
"default"
:
"./src/global/index.scss"
}
...
...
packages/styles/src/naive/index.css
0 → 100644
View file @
c979c23
.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
);
}
}
Write
Preview
Markdown
is supported
Attach a file
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 post a comment