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 52d3aa93
authored
Oct 18, 2025
by
zoumingjun
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 优化Checkbox组件hover样式,Input组件placeholder样式,TabsList组件圆角样式
1 parent
4e264c50
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
packages/@core/ui-kit/shadcn-ui/src/ui/checkbox/Checkbox.vue
packages/@core/ui-kit/shadcn-ui/src/ui/input/Input.vue
packages/@core/ui-kit/shadcn-ui/src/ui/tabs/TabsList.vue
packages/@core/ui-kit/shadcn-ui/src/ui/checkbox/Checkbox.vue
View file @
52d3aa9
...
@@ -31,7 +31,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
...
@@ -31,7 +31,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
v-bind=
"forwarded"
v-bind=
"forwarded"
:class=
"
:class=
"
cn(
cn(
'focus-visible:ring-ring data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground border-border peer h-4 w-4 shrink-0 rounded-sm border transition focus-visible:outline-none focus-visible:ring-1 disabled:cursor-not-allowed disabled:opacity-50',
'focus-visible:ring-ring data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground border-border
hover:border-primary
peer h-4 w-4 shrink-0 rounded-sm border transition focus-visible:outline-none focus-visible:ring-1 disabled:cursor-not-allowed disabled:opacity-50',
props.class,
props.class,
)
)
"
"
...
...
packages/@core/ui-kit/shadcn-ui/src/ui/input/Input.vue
View file @
52d3aa9
...
@@ -24,7 +24,7 @@ const modelValue = useVModel(props, 'modelValue', emits, {
...
@@ -24,7 +24,7 @@ const modelValue = useVModel(props, 'modelValue', emits, {
v-model=
"modelValue"
v-model=
"modelValue"
:class=
"
:class=
"
cn(
cn(
'border-input bg-background ring-offset-background placeholder:text-muted-foreground focus-visible:ring-ring flex h-10 w-full rounded-md border px-3 py-2 text-sm file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:outline-none focus-visible:ring-1 disabled:cursor-not-allowed disabled:opacity-50',
'border-input bg-background ring-offset-background placeholder:text-muted-foreground
/50
focus-visible:ring-ring flex h-10 w-full rounded-md border px-3 py-2 text-sm file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:outline-none focus-visible:ring-1 disabled:cursor-not-allowed disabled:opacity-50',
props.class,
props.class,
)
)
"
"
...
...
packages/@core/ui-kit/shadcn-ui/src/ui/tabs/TabsList.vue
View file @
52d3aa9
...
@@ -21,7 +21,7 @@ const delegatedProps = computed(() => {
...
@@ -21,7 +21,7 @@ const delegatedProps = computed(() => {
v-bind=
"delegatedProps"
v-bind=
"delegatedProps"
:class=
"
:class=
"
cn(
cn(
'bg-muted text-muted-foreground inline-flex h-9 items-center justify-center rounded-
lg
p-1',
'bg-muted text-muted-foreground inline-flex h-9 items-center justify-center rounded-
md
p-1',
props.class,
props.class,
)
)
"
"
...
...
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