File tree Expand file tree Collapse file tree 4 files changed +16
-17
lines changed Expand file tree Collapse file tree 4 files changed +16
-17
lines changed Original file line number Diff line number Diff line change @@ -47,11 +47,11 @@ import { adjustAlpha } from '../tools';
47
47
export const background = gray10 ;
48
48
export const backgroundInverse = gray80 ;
49
49
export const backgroundBrand = blue60 ;
50
- export const backgroundActive = gray30 ;
51
- export const backgroundHover = gray10Hover ;
50
+ export const backgroundActive = adjustAlpha ( gray50 , 0.5 ) ;
51
+ export const backgroundHover = adjustAlpha ( gray50 , 0.12 ) ;
52
52
export const backgroundInverseHover = gray80Hover ;
53
- export const backgroundSelected = gray20 ;
54
- export const backgroundSelectedHover = gray20Hover ;
53
+ export const backgroundSelected = adjustAlpha ( gray50 , 0.2 ) ;
54
+ export const backgroundSelectedHover = adjustAlpha ( gray50 , 0.32 ) ;
55
55
56
56
// Layer
57
57
// layer-01
Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ import {
46
46
47
47
// Tools
48
48
rgba ,
49
- gray100Hover ,
50
49
gray10Hover ,
51
50
} from '@carbon/colors' ;
52
51
import { adjustLightness , adjustAlpha } from '../tools' ;
@@ -55,11 +54,11 @@ import { adjustLightness, adjustAlpha } from '../tools';
55
54
export const background = gray100 ;
56
55
export const backgroundInverse = gray10 ;
57
56
export const backgroundBrand = blue60 ;
58
- export const backgroundActive = gray80 ;
59
- export const backgroundHover = gray100Hover ;
57
+ export const backgroundActive = adjustAlpha ( gray50 , 0.4 ) ;
58
+ export const backgroundHover = adjustAlpha ( gray50 , 0.16 ) ;
60
59
export const backgroundInverseHover = gray10Hover ;
61
- export const backgroundSelected = gray90 ;
62
- export const backgroundSelectedHover = gray90Hover ;
60
+ export const backgroundSelected = adjustAlpha ( gray50 , 0.24 ) ;
61
+ export const backgroundSelectedHover = adjustAlpha ( gray50 , 0.32 ) ;
63
62
64
63
// Layer
65
64
// layer-01
Original file line number Diff line number Diff line change @@ -54,11 +54,11 @@ import { adjustAlpha } from '../tools';
54
54
export const background = gray90 ;
55
55
export const backgroundInverse = gray10 ;
56
56
export const backgroundBrand = blue60 ;
57
- export const backgroundActive = gray80 ;
58
- export const backgroundHover = gray90Hover ;
57
+ export const backgroundActive = adjustAlpha ( gray50 , 0.4 ) ;
58
+ export const backgroundHover = adjustAlpha ( gray50 , 0.16 ) ;
59
59
export const backgroundInverseHover = gray10Hover ;
60
- export const backgroundSelected = gray80 ;
61
- export const backgroundSelectedHover = gray80Hover ;
60
+ export const backgroundSelected = adjustAlpha ( gray50 , 0.24 ) ;
61
+ export const backgroundSelectedHover = adjustAlpha ( gray50 , 0.32 ) ;
62
62
63
63
// Layer
64
64
// layer-01
Original file line number Diff line number Diff line change @@ -47,11 +47,11 @@ import { adjustAlpha } from '../tools';
47
47
export const background = white ;
48
48
export const backgroundInverse = gray80 ;
49
49
export const backgroundBrand = blue60 ;
50
- export const backgroundActive = gray30 ;
51
- export const backgroundHover = whiteHover ;
50
+ export const backgroundActive = adjustAlpha ( gray50 , 0.5 ) ;
51
+ export const backgroundHover = adjustAlpha ( gray50 , 0.12 ) ;
52
52
export const backgroundInverseHover = gray80Hover ;
53
- export const backgroundSelected = gray20 ;
54
- export const backgroundSelectedHover = gray20Hover ;
53
+ export const backgroundSelected = adjustAlpha ( gray50 , 0.2 ) ;
54
+ export const backgroundSelectedHover = adjustAlpha ( gray50 , 0.32 ) ;
55
55
56
56
// Layer
57
57
// layer-01
You can’t perform that action at this time.
0 commit comments