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

(style) styles scrollbars according to theme #1184

Merged
merged 1 commit into from
Nov 14, 2016
Merged

(style) styles scrollbars according to theme #1184

merged 1 commit into from
Nov 14, 2016

Conversation

jkornblum
Copy link
Member

This address issue #771 and adds a custom style scroll bar to the light, dark, classic, and nteract themes.

I know this is a style and subjective so I'm open to any suggestions for changes. If no suggestions this should be an upgrade from the default chrome style scroll bars throughout the application.

It is a flat style, which shows a small track using css box-shadow. The scroll bar color is a translucent version of the --main-fg-color (for dark themes) or --cm-background (for light themes). The scrollbar styling only applies inside the Electron window, i.e. the "main" window itself keeps the default platform style.

Here is a preview
scrollbars

This address issue #771 and adds flat style scroll bar to light, dark, classic, and nteract themes.
@codecov-io
Copy link

codecov-io commented Nov 14, 2016

Current coverage is 89.05% (diff: 100%)

Merging #1184 into master will not change coverage

@@             master      #1184   diff @@
==========================================
  Files            57         57          
  Lines          1444       1444          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits           1286       1286          
  Misses          158        158          
  Partials          0          0          

Powered by Codecov. Last update f0ee160...9f91586

@rgbkrk
Copy link
Member

rgbkrk commented Nov 14, 2016

This is looking excellent to me, certainly an improvement. Thank you. We can keep refining after so feel free to take the WIP out of the title here if it's ready to go!

@jkornblum jkornblum changed the title [WIP] (style) styles scrollbars according to theme (style) styles scrollbars according to theme Nov 14, 2016
@jkornblum
Copy link
Member Author

Sure thing. PR ready to be merged.

Thanks.

@rgbkrk rgbkrk merged commit d61bf50 into nteract:master Nov 14, 2016
@jkornblum jkornblum deleted the custom-scrollbars branch February 5, 2017 21:46
@lock
Copy link

lock bot commented Apr 3, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked and limited conversation to collaborators Apr 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants