Browse Source

fix: vben select placeholder color (#5286)

Netfan 2 months ago
parent
commit
801c640724
1 changed files with 6 additions and 0 deletions
  1. 6 0
      packages/@core/ui-kit/shadcn-ui/src/components/select/select.vue

+ 6 - 0
packages/@core/ui-kit/shadcn-ui/src/components/select/select.vue

@@ -27,3 +27,9 @@ const props = defineProps<Props>();
     </SelectContent>
   </Select>
 </template>
+
+<style lang="scss" scoped>
+button[role='combobox'][data-placeholder] {
+  color: hsl(var(--muted-foreground));
+}
+</style>