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

Update Monaco editor colors #2184

Merged
merged 1 commit into from Jul 29, 2019

Conversation

spadgett
Copy link
Member

@openshift-ci-robot openshift-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jul 26, 2019
@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 26, 2019
@bmignano
Copy link

This is looking great! I'll update here when we have a new color for boolean values from Mary. I'm undecided on the white border vs. no border. It actually looks okay to me without it, but adding it would make the page more in line with the Logs and Terminal tabs. Thoughts @openshift/team-ux-review ?

@spadgett
Copy link
Member Author

I wonder if we should remove the white margin around logs and terminal so there's more room for content. We take away so much space with the masthead/nav/notifications/titles/tabs I'm hesitant to add additional margins. It's really important for editors.

@spadgett
Copy link
Member Author

We should look at the context menu styles as well, although I'm having trouble customizing them:

Screen Shot 2019-07-26 at 5 04 01 PM

@openshift-ci-robot openshift-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jul 26, 2019
@spadgett
Copy link
Member Author

Added #CBC0FF for keywords (boolean values)

etcd-operator-5c4b6b47c9-v7hcq · Details · OKD 2019-07-26 17-42-33

@spadgett
Copy link
Member Author

/retest

@spadgett spadgett added this to the v4.2 milestone Jul 28, 2019
@serenamarie125
Copy link
Contributor

Color updates look great! @beanh66 talked to me about adding a margin so it's more similar to logs and terminals, and i think that would be a great suggestion. This would help the issue with the nav/editor touching.

What does this look like in read only mode?

import {
global_BackgroundColor_100 as lineNumberActiveForeground,
global_BackgroundColor_300 as lineNumberForeground,
global_BackgroundColor_dark_100 as editorBackground,
Copy link
Member

Choose a reason for hiding this comment

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

Looks like this import is unused.

Copy link
Member Author

Choose a reason for hiding this comment

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

@rhamilto it's used (line 39)

Copy link
Member

@rhamilto rhamilto left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 29, 2019
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rhamilto, spadgett

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@bmignano
Copy link

bmignano commented Jul 29, 2019

@spadgett agreed! Is it possible to change the color of the text in the context menu? Mary suggests either white or #EDEDED to increase contrast.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants