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:
parent
fadbe7beca
commit
430814288d
18 changed files with 20 additions and 9 deletions
|
@ -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>
|
||||||
|
|
2
src/rules/skeleton.less
vendored
2
src/rules/skeleton.less
vendored
|
@ -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>
|
||||||
|
|
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
Loading…
Reference in a new issue