File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ The following custom CSS properties are available:
12
12
| ` --ave-button-active-background ` | Color of the ` :focus ` and ` :hover ` button |
13
13
| ` --ave-button-background ` | Background of the button (code snippet, events) |
14
14
| ` --ave-button-color ` | Color of the button (code snippet, events) |
15
+ | ` --ave-header-background ` | Background of the header used for tag name |
15
16
| ` --ave-header-color ` | Header text color used for tag name |
16
17
| ` --ave-item-color ` | API items content color (main text) |
17
18
| ` --ave-label-color ` | API items labels color |
@@ -20,6 +21,7 @@ The following custom CSS properties are available:
20
21
| ` --ave-monospace-font ` | Monospace font stack for the API items |
21
22
| ` --ave-primary-color ` | Primary color, used for header and active tab |
22
23
| ` --ave-tab-color ` | Inactive tabs color |
24
+ | ` --ave-tab-selected-color ` | Selected tab color |
23
25
| ` --ave-tab-indicator-size ` | Size of the selected tab indicator |
24
26
25
27
## CSS shadow parts
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ export class ApiViewerTab extends LitElement {
53
53
}
54
54
55
55
: host ([selected ]) {
56
- color : var (--ave-primary-color );
56
+ color : var (--ave-tab-selected-color , var ( --ave- primary-color) );
57
57
}
58
58
59
59
: host ([selected ])::before {
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ export default css`
38
38
align-items : center;
39
39
justify-content : space-between;
40
40
padding : 0.75rem ;
41
- background : var (--ave-primary-color );
41
+ background : var (--ave-header-background , var ( --ave- primary-color) );
42
42
border-top-left-radius : var (--ave-border-radius );
43
43
border-top-right-radius : var (--ave-border-radius );
44
44
}
You can’t perform that action at this time.
0 commit comments