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

Font size for tree view #55

Closed
yozzz opened this issue Jan 30, 2017 · 3 comments
Closed

Font size for tree view #55

yozzz opened this issue Jan 30, 2017 · 3 comments

Comments

@yozzz
Copy link

yozzz commented Jan 30, 2017

Thanks for great theme!
How I can change font size for .tree_view via style.less?

I have tried to set font-size like this, but didn't help

.tree-view {
  font-size: 13px;
}
@arcticicestudio
Copy link
Contributor

arcticicestudio commented Jan 30, 2017

Nice to hear you like it 😄
There is a partially implemented feature #50 to set the UI font size which will be continued as soon as I've got some freetime for it.

Default 14px

Custom 10px

Feel free to check out the 🌱 feature/ghi-#50-theme-setting-font-size branch to test it and report bugs and improvement suggestions.

If you'd just like to tweak it with your personal style.less file until the feature is merged and released the following code should do the trick:

@custom-font-size: 16px;

.tree-view {
  .project-root {
    & > .header {
      & .name {
        font-size: @custom-font-size;
      }
    }
  }

  .list-item .name {
    font-size: @custom-font-size;
  }
}

@yozzz
Copy link
Author

yozzz commented Jan 30, 2017

Cool, many thanks 👍
I'll checkout to your feature branch and let you know if there will be some issues/suggestions.

@finalcreator
Copy link

great!

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

3 participants