Skip to content

Commit

Permalink
21084: Updated standardFlowbiteTheme to use blue for focus on textarea (
Browse files Browse the repository at this point in the history
  • Loading branch information
lancegliser authored Oct 23, 2024
1 parent 530faa9 commit 8766234
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/themes/standard.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type { CustomFlowbiteTheme } from "flowbite-react";
import { twMerge } from "tailwind-merge";
import type { Config } from "tailwindcss";

export const standardTailwindConfigThemeExtend: NonNullable<
Expand Down Expand Up @@ -249,6 +250,16 @@ export const standardFlowbiteTheme: CustomFlowbiteTheme = {
},
},
},
textarea: {
colors: {
gray: twMerge(
// Defaults
"border-gray-300 bg-gray-50 text-gray-900 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400",
// Customizations
"focus:border-blue-500 focus:ring-blue-500 dark:focus:border-blue-500 dark:focus:ring-blue-500",
),
},
},
};

export const standardChartColors = {
Expand Down

0 comments on commit 8766234

Please sign in to comment.