1
Fork 0
mirror of https://github.com/Steffo99/bluelib.git synced 2025-01-08 11:19:49 +00:00

Set the scrollbar color from the theme (closes #29)

This commit is contained in:
Steffo 2021-10-21 20:02:51 +02:00
parent fadbe7beca
commit 430814288d
Signed by: steffo
GPG key ID: 6965406171929D01
18 changed files with 20 additions and 9 deletions

View file

@ -6,8 +6,9 @@
<option name="myIgnoreVendorSpecificProperties" value="false" /> <option name="myIgnoreVendorSpecificProperties" value="false" />
<option name="myCustomPropertiesList"> <option name="myCustomPropertiesList">
<value> <value>
<list size="1"> <list size="2">
<item index="0" class="java.lang.String" itemvalue="text-decoration-thickness" /> <item index="0" class="java.lang.String" itemvalue="text-decoration-thickness" />
<item index="1" class="java.lang.String" itemvalue="scrollbar-color" />
</list> </list>
</value> </value>
</option> </option>

View file

@ -299,6 +299,8 @@
// Thanks, CSS variables! // Thanks, CSS variables!
color: @cA; color: @cA;
// Get the scrollbar color from the theme
scrollbar-color: @rgb-foreground @rgb-background;
} }
//</editor-fold> //</editor-fold>

View file

@ -67,6 +67,7 @@ body,
body *, body *,
.bluelib * { .bluelib * {
color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 1); color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 1);
scrollbar-color: rgb(var(--bluelib-foreground-r), var(--bluelib-foreground-g), var(--bluelib-foreground-b)) rgb(var(--bluelib-background-r), var(--bluelib-background-g), var(--bluelib-background-b));
} }
body, body,
.bluelib, .bluelib,

File diff suppressed because one or more lines are too long

View file

@ -67,6 +67,7 @@ body,
body *, body *,
.bluelib * { .bluelib * {
color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 1); color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 1);
scrollbar-color: rgb(var(--bluelib-foreground-r), var(--bluelib-foreground-g), var(--bluelib-foreground-b)) rgb(var(--bluelib-background-r), var(--bluelib-background-g), var(--bluelib-background-b));
} }
body, body,
.bluelib, .bluelib,

File diff suppressed because one or more lines are too long

View file

@ -67,6 +67,7 @@ body,
body *, body *,
.bluelib * { .bluelib * {
color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 1); color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 1);
scrollbar-color: rgb(var(--bluelib-foreground-r), var(--bluelib-foreground-g), var(--bluelib-foreground-b)) rgb(var(--bluelib-background-r), var(--bluelib-background-g), var(--bluelib-background-b));
} }
body, body,
.bluelib, .bluelib,

File diff suppressed because one or more lines are too long

View file

@ -67,6 +67,7 @@ body,
body *, body *,
.bluelib * { .bluelib * {
color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 1); color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 1);
scrollbar-color: rgb(var(--bluelib-foreground-r), var(--bluelib-foreground-g), var(--bluelib-foreground-b)) rgb(var(--bluelib-background-r), var(--bluelib-background-g), var(--bluelib-background-b));
} }
body, body,
.bluelib, .bluelib,

File diff suppressed because one or more lines are too long

View file

@ -67,6 +67,7 @@ body,
body *, body *,
.bluelib * { .bluelib * {
color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 1); color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 1);
scrollbar-color: rgb(var(--bluelib-foreground-r), var(--bluelib-foreground-g), var(--bluelib-foreground-b)) rgb(var(--bluelib-background-r), var(--bluelib-background-g), var(--bluelib-background-b));
} }
body, body,
.bluelib, .bluelib,

File diff suppressed because one or more lines are too long

View file

@ -65,6 +65,7 @@
.bluelib *, .bluelib *,
.bluelib .all { .bluelib .all {
color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 1); color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 1);
scrollbar-color: rgb(var(--bluelib-foreground-r), var(--bluelib-foreground-g), var(--bluelib-foreground-b)) rgb(var(--bluelib-background-r), var(--bluelib-background-g), var(--bluelib-background-b));
} }
.bluelib, .bluelib,
.bluelib *, .bluelib *,

File diff suppressed because one or more lines are too long

View file

@ -67,6 +67,7 @@ body,
body *, body *,
.bluelib * { .bluelib * {
color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 1); color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 1);
scrollbar-color: rgb(var(--bluelib-foreground-r), var(--bluelib-foreground-g), var(--bluelib-foreground-b)) rgb(var(--bluelib-background-r), var(--bluelib-background-g), var(--bluelib-background-b));
} }
body, body,
.bluelib, .bluelib,

File diff suppressed because one or more lines are too long

View file

@ -67,6 +67,7 @@ body,
body *, body *,
.bluelib * { .bluelib * {
color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 1); color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 1);
scrollbar-color: rgb(var(--bluelib-foreground-r), var(--bluelib-foreground-g), var(--bluelib-foreground-b)) rgb(var(--bluelib-background-r), var(--bluelib-background-g), var(--bluelib-background-b));
} }
body, body,
.bluelib, .bluelib,

File diff suppressed because one or more lines are too long