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

[2.1#1] Option to set the color only to current tab and navbar #15

Open
C2N14 opened this issue Jun 6, 2018 · 2 comments
Open

[2.1#1] Option to set the color only to current tab and navbar #15

C2N14 opened this issue Jun 6, 2018 · 2 comments

Comments

@C2N14
Copy link

C2N14 commented Jun 6, 2018

First of all, thank you very much for this add-on it is exactly what I've wanted since forever

I'd like to be able have the option to just color the current tab and navigation bar instead of all the UI as shown bellow (top is how it is now and bottom how I'd like it to be):

proposed-ubuntu

@linonetwo
Copy link

just use:

  const backgroundColor = `rgba(${color.r}, ${color.g}, ${color.b}, 1)`;
  const textColor = `rgb(${textC}, ${textC}, ${textC})`;
  let colorObject = {
    sidebar: backgroundColor,
    sidebar_text: textColor,
    sidebar_highlight: backgroundColor,
    sidebar_highlight_text: textColor,
    tab_selected : backgroundColor,
    tab_text   : textColor,
    toolbar_field_text   : textColor,
    bookmark_text   : textColor,
    toolbar_field_border   : textColor,
    toolbar_field     : backgroundColor,
    toolbar     : backgroundColor,
    tab_line    : textColor,
    toolbar_bottom_separator : backgroundColor
  };

But I won't need this till #22 is solved.

@taboca
Copy link
Owner

taboca commented May 8, 2019

Your idea is amazing and makes a lot of sense, exactly because that "nav + tab" has to do with the site and the "background" equals to other tabs.

@taboca taboca changed the title Option to set the color only to current tab and navbar [2.1-p1] Option to set the color only to current tab and navbar May 8, 2019
@taboca taboca changed the title [2.1-p1] Option to set the color only to current tab and navbar [2.1#1] Option to set the color only to current tab and navbar May 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants