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

Use default theme, can not see command word #55

Closed
SimonSun1988 opened this issue Dec 25, 2015 · 1 comment
Closed

Use default theme, can not see command word #55

SimonSun1988 opened this issue Dec 25, 2015 · 1 comment

Comments

@SimonSun1988
Copy link

Like this

@officert
Copy link
Owner

Yes this is a known-issue when using the default theme. I just haven't spent much time working on the default theme. If someone is interested in working on this bug take a look here:

https://github.com/officert/mongotron/tree/master/src/ui/less/themes

These are the Less files for the themes that are currently available. The Atom theme is the one I've been using and is the most polished of the three.

To fix this bug we just need to tweak some of the Less variables for the query editor, you can find them here:

https://github.com/officert/mongotron/blob/master/src/ui/less/themes/atom-theme.less

look for these variables:

  //query
  @theme-query-editor-color: #c5c8c6;
  @theme-query-editor-bg: #c5c8c6;
  @theme-query-editor-border-color: lighten(@theme-bg, 10%);
  @theme-query-editor-input-bg: @theme-bg; //query edit skip + take input bg
  @theme-query-editor-string-color: #b5bd68;
  @theme-query-editor-boolean-color: #de935f;
  @theme-query-editor-key-color: #de935f;
  @theme-query-editor-keyword-color: #de935f;
  @theme-query-editor-variable-color: #f0c674;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants