Skip to content

Commit

Permalink
a11y theme fixes (#203870)
Browse files Browse the repository at this point in the history
actionbar: Replace opacity with color for disabled state
  • Loading branch information
hbons authored Jan 31, 2024
1 parent 3b5ae15 commit e0277c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/base/browser/ui/actionbar/actionbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
.monaco-action-bar .action-item.disabled .action-label,
.monaco-action-bar .action-item.disabled .action-label::before,
.monaco-action-bar .action-item.disabled .action-label:hover {
opacity: 0.6;
color: var(--vscode-disabledForeground);
}

/* Vertical actions */
Expand Down

1 comment on commit e0277c1

@boltex
Copy link

@boltex boltex commented on e0277c1 Apr 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This breaks svg appearance of svg icons in view/title and editor/title when disabled. (opacity not dimmed anymore)

Please sign in to comment.