Skip to content

Commit 9fb7dc5

Browse files
authored
fix: fix HCB colours for Icon, TextArea and TableCell content (#128)
1 parent 9997912 commit 9fb7dc5

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

packages/main/src/themes/base/Icon.less

+2
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,14 @@
1313
:host(ui5-icon) {
1414
display: inline-block;
1515
outline: none;
16+
color: @sapUiContentNonInteractiveIconColor;
1617
}
1718

1819
// required for browsers without native shadow dom
1920
ui5-icon {
2021
display: inline-block;
2122
outline: none;
23+
color: @sapUiContentNonInteractiveIconColor;
2224

2325
// workaround for IE
2426
// pressing on the span does not propagate active state to the web component

packages/main/src/themes/base/TableCell.less

+2
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,14 @@
99
display: inline-block;
1010
width: 100%;
1111
height: 100%;
12+
color: @sapUiContentLabelColor;
1213
}
1314

1415
ui5-table-cell {
1516
display: inline-block;
1617
width: 100%;
1718
height: 100%;
19+
color: @sapUiContentLabelColor;
1820
}
1921

2022
.sapWCTableCell {

packages/main/src/themes/base/TextArea.less

+1
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ ui5-textarea {
142142
overflow: hidden;
143143
align-self: flex-end;
144144
padding: 0.125rem 0.125rem 0.5rem;
145+
color: @sapUiContentLabelColor;
145146
font-family: @sapUiFontFamily;
146147
font-size: @sapMFontSmallSize;
147148
}

packages/main/test/sap/ui/webcomponents/main/samples/Table.sample.html

+3
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@
4545
display: none;
4646
}
4747

48+
.hcb-background .headerToolbar {
49+
color: #fff;
50+
}
4851
</style>
4952
</head>
5053
<body class="sapUiBody example-wrapper">

0 commit comments

Comments
 (0)