Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix menu bar color. #6014

Merged
merged 1 commit into from
Aug 23, 2019
Merged

Fix menu bar color. #6014

merged 1 commit into from
Aug 23, 2019

Conversation

jbicker
Copy link
Contributor

@jbicker jbicker commented Aug 22, 2019

What it does

Since the font color is now set generally for widgets the menu bar did not get its individual color anymore.
The css rule got refined to be not overwritten by the p-widget rule.

How to test

Use a different font color for the menu. For that in theme variable css which you are currently using (e.g. variables-dark.useable.css) change the variable --theia-ui-bar-font-color1 (used by the menu bar). Before that change it had no effect.
After the change the menu bar has an individual font color again.

Review checklist

Reminder for reviewers

Since the font color is set generally for widgets
the menu bar did not get its individual color.
The css rule got  refined to be not overwritten by the p-widget rule.

Signed-off-by: Jan Bicker <jan.bicker@typefox.io>
@jbicker jbicker requested a review from svenefftinge August 22, 2019 09:34
@@ -30,7 +30,7 @@
|----------------------------------------------------------------------------*/


.p-MenuBar {
.p-Widget.p-MenuBar {
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

@jbicker jbicker Aug 22, 2019

Choose a reason for hiding this comment

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

So p-MenuBar is not used anymore?

Only in p-Widget container. Are there other containers where it maybe could be used in?

What about this reference

Since this rule is not affected by the p-Widget rule I left it out.

@akosyakov akosyakov added the shell issues related to the core shell label Aug 23, 2019
@jbicker jbicker merged commit e2d1a41 into master Aug 23, 2019
@jbicker jbicker deleted the fix-menubar-color branch August 23, 2019 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
shell issues related to the core shell
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants