File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -1387,6 +1387,7 @@ export type TabsPanelTheme = {
13871387 borderWidth : Border [ 'widthSmall' ]
13881388 borderStyle : Border [ 'style' ]
13891389 defaultOverflowY : string
1390+ focusOutlineColor : Colors [ 'contrasts' ] [ 'blue4570' ]
13901391}
13911392
13921393export type TabsTabTheme = {
Original file line number Diff line number Diff line change @@ -59,7 +59,10 @@ const generateStyle = (
5959 } ) ,
6060 ...( isHidden && {
6161 display : 'none'
62- } )
62+ } ) ,
63+ '&:focus' : {
64+ outlineColor : componentTheme . focusOutlineColor
65+ }
6366 } ,
6467 content : {
6568 label : 'panel__content' ,
Original file line number Diff line number Diff line change @@ -35,7 +35,8 @@ const generateComponentTheme = (theme: Theme): TabsPanelTheme => {
3535
3636 const themeSpecificStyle : ThemeSpecificStyle < TabsPanelTheme > = {
3737 canvas : {
38- color : theme [ 'ic-brand-font-color-dark' ]
38+ color : theme [ 'ic-brand-font-color-dark' ] ,
39+ focusOutlineColor : theme [ 'ic-brand-primary' ]
3940 }
4041 }
4142
@@ -49,7 +50,8 @@ const generateComponentTheme = (theme: Theme): TabsPanelTheme => {
4950 borderColor : colors ?. contrasts ?. grey3045 ,
5051 borderWidth : borders ?. widthSmall ,
5152 borderStyle : borders ?. style ,
52- defaultOverflowY : 'auto'
53+ defaultOverflowY : 'auto' ,
54+ focusOutlineColor : colors . contrasts . blue4570
5355 }
5456
5557 return {
You can’t perform that action at this time.
0 commit comments