Skip to content

Commit

Permalink
fix(ui5-shellbar): assistant icon color fixed (#8713)
Browse files Browse the repository at this point in the history
As in the new VD spec the color of the assistant in the ui5-shellbar is
corrected, when in toggle state "on".

Co-authored-by: PetyaMarkovaBogdanova <petya.markova@sap.com>
  • Loading branch information
PetyaMarkovaBogdanova and PetyaMarkovaBogdanova committed Apr 12, 2024
1 parent bca8f2a commit e501ac8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/fiori/src/ShellBar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1145,6 +1145,7 @@ class ShellBar extends UI5Element {
},
copilot: {
"ui5-shellbar-hidden-button": this.isIconHidden(this._coPilotIcon),
"ui5-shellbar-coPilot-pressed": this._coPilotPressed,
},
overflow: {
"ui5-shellbar-hidden-button": this.isIconHidden("overflow"),
Expand Down
5 changes: 5 additions & 0 deletions packages/fiori/src/themes/ShellBar.css
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,11 @@ slot[name="profile"] {
height: 2.75rem;
}

.ui5-shellbar-coPilot-pressed,
.ui5-shellbar-coPilot-pressed:hover {
color: var(--sapShell_Assistant_ForegroundColor);
}

::slotted([ui5-button][slot="startButton"]) {
margin-inline: 0 0.5rem;
justify-content: center;
Expand Down

0 comments on commit e501ac8

Please sign in to comment.