We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If an extension needs scrollbars, there is currently no way for it to get the proper colors and sizes because they are hardcoded in SCSS, see
lens/src/renderer/components/mixins.scss
Lines 25 to 32 in 70a8982
@mixin custom-scrollbar($theme: light, $size: 7px, $borderSpacing: 5px) { $themes: ( light: #5f6064, dark: #bbb, ); $scrollBarColor: if(map_has_key($themes, $theme), map_get($themes, $theme), none); $scrollBarSize: calc(#{$size} + #{$borderSpacing} * 2);
The light and dark colors, as well as default size and border width, should be provided as themed CSS Variables:
--scrollbarBackground: <color>; --scrollbarSize: 7px; --scrollbarBorderWidth: 5px;
Please remember to add these to the color reference in the docs.
The text was updated successfully, but these errors were encountered:
aleksfront
Successfully merging a pull request may close this issue.
If an extension needs scrollbars, there is currently no way for it to get the proper colors and sizes because they are hardcoded in SCSS, see
lens/src/renderer/components/mixins.scss
Lines 25 to 32 in 70a8982
The light and dark colors, as well as default size and border width, should be provided as themed CSS Variables:
Please remember to add these to the color reference in the docs.
The text was updated successfully, but these errors were encountered: