components-test-pb 0.2.3 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -59,13 +59,16 @@ const useVariationStyles = makeStyles({
59
59
  ghost: {
60
60
  backgroundColor: tokens.colorTransparentBackground,
61
61
  ...shorthands.borderColor('transparent'),
62
+ color: tokens.colorNeutralForeground2,
62
63
  ':hover': {
63
64
  backgroundColor: tokens.colorTransparentBackgroundHover,
64
- ...shorthands.borderColor(tokens.colorNeutralForeground2)
65
+ ...shorthands.borderColor('transparent'),
66
+ color: tokens.colorNeutralForeground2BrandHover
65
67
  },
66
68
  ':hover:active,:active:focus-visible': {
67
69
  backgroundColor: tokens.colorTransparentBackgroundPressed,
68
- ...shorthands.borderColor('transparent')
70
+ ...shorthands.borderColor('transparent'),
71
+ color: tokens.colorNeutralForeground2BrandPressed
69
72
  }
70
73
  },
71
74
  square: { borderRadius: 0 },
@@ -16,6 +16,9 @@ export const defaultTheme = {
16
16
  colorNeutralForeground2: '#424242',
17
17
  colorNeutralForeground2Hover: '#242424',
18
18
  colorNeutralForeground2Pressed: '#242424',
19
+ colorNeutralForeground2BrandHover: '#0f6cbd',
20
+ colorNeutralForeground2BrandPressed: '#0c3b5e',
21
+ colorNeutralForeground2BrandSelected: '#0f548c',
19
22
  colorNeutralForeground3: '#616161',
20
23
  colorNeutralForegroundDisabled: '#bdbdbd',
21
24
  // Colors — Neutral Background
@@ -14,6 +14,9 @@ export interface Theme {
14
14
  colorNeutralForeground2: string;
15
15
  colorNeutralForeground2Hover: string;
16
16
  colorNeutralForeground2Pressed: string;
17
+ colorNeutralForeground2BrandHover: string;
18
+ colorNeutralForeground2BrandPressed: string;
19
+ colorNeutralForeground2BrandSelected: string;
17
20
  colorNeutralForeground3: string;
18
21
  colorNeutralForegroundDisabled: string;
19
22
  colorNeutralBackground1: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "components-test-pb",
3
- "version": "0.2.3",
3
+ "version": "0.2.5",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -76,15 +76,18 @@ const useVariationStyles = makeStyles({
76
76
  ghost: {
77
77
  backgroundColor: tokens.colorTransparentBackground,
78
78
  ...shorthands.borderColor('transparent'),
79
+ color: tokens.colorNeutralForeground2,
79
80
 
80
81
  ':hover': {
81
82
  backgroundColor: tokens.colorTransparentBackgroundHover,
82
- ...shorthands.borderColor(tokens.colorNeutralForeground2)
83
+ ...shorthands.borderColor('transparent'),
84
+ color: tokens.colorNeutralForeground2BrandHover
83
85
  },
84
86
 
85
87
  ':hover:active,:active:focus-visible': {
86
88
  backgroundColor: tokens.colorTransparentBackgroundPressed,
87
- ...shorthands.borderColor('transparent')
89
+ ...shorthands.borderColor('transparent'),
90
+ color: tokens.colorNeutralForeground2BrandPressed
88
91
  }
89
92
  },
90
93
 
@@ -19,6 +19,9 @@ export const defaultTheme: Theme = {
19
19
  colorNeutralForeground2: '#424242',
20
20
  colorNeutralForeground2Hover: '#242424',
21
21
  colorNeutralForeground2Pressed: '#242424',
22
+ colorNeutralForeground2BrandHover: '#0f6cbd',
23
+ colorNeutralForeground2BrandPressed: '#0c3b5e',
24
+ colorNeutralForeground2BrandSelected: '#0f548c',
22
25
  colorNeutralForeground3: '#616161',
23
26
  colorNeutralForegroundDisabled: '#bdbdbd',
24
27
 
@@ -17,6 +17,9 @@ export interface Theme {
17
17
  colorNeutralForeground2: string;
18
18
  colorNeutralForeground2Hover: string;
19
19
  colorNeutralForeground2Pressed: string;
20
+ colorNeutralForeground2BrandHover: string;
21
+ colorNeutralForeground2BrandPressed: string;
22
+ colorNeutralForeground2BrandSelected: string;
20
23
  colorNeutralForeground3: string;
21
24
  colorNeutralForegroundDisabled: string;
22
25