fix: adjust user form text colors for light theme
This commit is contained in:
@@ -62,7 +62,7 @@ export default function UserForm() {
|
||||
name="email"
|
||||
render={({ field }) => (
|
||||
<FormItem>
|
||||
<FormLabel>Email</FormLabel>
|
||||
<FormLabel className="text-muted-foreground">Email</FormLabel>
|
||||
<FormControl>
|
||||
<Input placeholder="example@mail.com" {...field} />
|
||||
</FormControl>
|
||||
@@ -77,14 +77,14 @@ export default function UserForm() {
|
||||
name="role"
|
||||
render={({ field }) => (
|
||||
<FormItem>
|
||||
<FormLabel>Role (Rollenbezeichnung)</FormLabel>
|
||||
<FormLabel className="text-muted-foreground">Role (Rollenbezeichnung)</FormLabel>
|
||||
<Select onValueChange={field.onChange} defaultValue={field.value}>
|
||||
<FormControl>
|
||||
<FormControl className="text-muted-foreground">
|
||||
<SelectTrigger>
|
||||
<SelectValue placeholder="Select a role" />
|
||||
</SelectTrigger>
|
||||
</FormControl>
|
||||
<SelectContent>
|
||||
<SelectContent className="text-muted-foreground">
|
||||
<SelectItem value="admin">Admin</SelectItem>
|
||||
<SelectItem value="editor">Editor</SelectItem>
|
||||
<SelectItem value="user">User</SelectItem>
|
||||
@@ -102,7 +102,7 @@ export default function UserForm() {
|
||||
render={({ field }) => (
|
||||
<FormItem className="flex flex-row items-center justify-between rounded-lg border p-3 shadow-sm">
|
||||
<div className="space-y-0.5">
|
||||
<FormLabel>Active Status</FormLabel>
|
||||
<FormLabel className="text-muted-foreground">Active Status</FormLabel>
|
||||
</div>
|
||||
<FormControl>
|
||||
<Switch
|
||||
@@ -120,7 +120,7 @@ export default function UserForm() {
|
||||
name="password"
|
||||
render={({ field }) => (
|
||||
<FormItem>
|
||||
<FormLabel>Password</FormLabel>
|
||||
<FormLabel className="text-muted-foreground">Password</FormLabel>
|
||||
<FormControl>
|
||||
<Input type="password" placeholder="••••••••" {...field} />
|
||||
</FormControl>
|
||||
|
||||
Reference in New Issue
Block a user