Skip to content

Commit

Permalink
fix(textarea): default font size should be text-sm (#958)
Browse files Browse the repository at this point in the history
  • Loading branch information
zoltanszogyenyi authored Sep 13, 2023
1 parent 4578c1c commit ecf271a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Textarea/theme.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { FlowbiteTextareaTheme } from './Textarea';

export const textareaTheme: FlowbiteTextareaTheme = {
base: 'block w-full rounded-lg border disabled:cursor-not-allowed disabled:opacity-50',
base: 'block w-full rounded-lg border disabled:cursor-not-allowed disabled:opacity-50 text-sm',
colors: {
gray: 'bg-gray-50 border-gray-300 text-gray-900 focus:border-cyan-500 focus:ring-cyan-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-cyan-500 dark:focus:ring-cyan-500',
info: 'border-cyan-500 bg-cyan-50 text-cyan-900 placeholder-cyan-700 focus:border-cyan-500 focus:ring-cyan-500 dark:border-cyan-400 dark:bg-cyan-100 dark:focus:border-cyan-500 dark:focus:ring-cyan-500',
Expand Down

1 comment on commit ecf271a

@vercel
Copy link

@vercel vercel bot commented on ecf271a Sep 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.