@@ -2,13 +2,13 @@ import type { FlowbiteButtonTheme } from './Button';
2
2
import type { FlowbiteButtonGroupTheme } from './ButtonGroup' ;
3
3
4
4
export const buttonTheme : FlowbiteButtonTheme = {
5
- base : 'group flex items-stretch items-center justify-center p-0.5 text-center font-medium relative focus:z-10 focus:outline-none' ,
5
+ base : 'group flex items-stretch items-center justify-center p-0.5 text-center font-medium relative focus:z-10 focus:outline-none transition-[color,background-color,border-color,text-decoration-color,fill,stroke,box-shadow] ' ,
6
6
fullSized : 'w-full' ,
7
7
color : {
8
8
dark : 'text-white bg-gray-800 border border-transparent enabled:hover:bg-gray-900 focus:ring-4 focus:ring-gray-300 dark:bg-gray-800 dark:enabled:hover:bg-gray-700 dark:focus:ring-gray-800 dark:border-gray-700' ,
9
9
failure :
10
10
'text-white bg-red-700 border border-transparent enabled:hover:bg-red-800 focus:ring-4 focus:ring-red-300 dark:bg-red-600 dark:enabled:hover:bg-red-700 dark:focus:ring-red-900' ,
11
- gray : 'text-gray-900 bg-white border border-gray-200 enabled:hover:bg-gray-100 enabled:hover:text-cyan-700 :ring-cyan-700 focus:text-cyan-700 dark:bg-transparent dark:text-gray-400 dark:border-gray-600 dark:enabled:hover:text-white dark:enabled:hover:bg-gray-700 focus:ring-2 ' ,
11
+ gray : 'text-gray-900 bg-white border border-gray-200 enabled:hover:bg-gray-100 enabled:hover:text-cyan-700 :ring-cyan-700 focus:text-cyan-700 dark:bg-transparent dark:text-gray-400 dark:border-gray-600 dark:enabled:hover:text-white dark:enabled:hover:bg-gray-700 focus:ring-4 ' ,
12
12
info : 'text-white bg-cyan-700 border border-transparent enabled:hover:bg-cyan-800 focus:ring-4 focus:ring-cyan-300 dark:bg-cyan-600 dark:enabled:hover:bg-cyan-700 dark:focus:ring-cyan-800' ,
13
13
light :
14
14
'text-gray-900 bg-white border border-gray-300 enabled:hover:bg-gray-100 focus:ring-4 focus:ring-cyan-300 dark:bg-gray-600 dark:text-white dark:border-gray-600 dark:enabled:hover:bg-gray-700 dark:enabled:hover:border-gray-700 dark:focus:ring-gray-700' ,
@@ -119,9 +119,9 @@ export const buttonTheme: FlowbiteButtonTheme = {
119
119
export const buttonGroupTheme : FlowbiteButtonGroupTheme = {
120
120
base : 'inline-flex' ,
121
121
position : {
122
- none : 'focus:ring-2 ' ,
123
- start : 'rounded-r-none' ,
124
- middle : 'rounded-none border-l-0 pl-0' ,
125
- end : 'rounded-l-none border-l-0 pl-0' ,
122
+ none : '' ,
123
+ start : 'rounded-r-none focus:ring-2 ' ,
124
+ middle : 'rounded-none border-l-0 pl-0 focus:ring-2 ' ,
125
+ end : 'rounded-l-none border-l-0 pl-0 focus:ring-2 ' ,
126
126
} ,
127
127
} ;
0 commit comments