mirror of
https://github.com/Steffo99/bluelib.git
synced 2025-01-07 10:49: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
.idea/inspectionProfiles
src
rules
targets
amber.apache.cssamber.apache.css.maphacker.apache.csshacker.apache.css.mappaper.apache.csspaper.apache.css.maproyalblue.apache.cssroyalblue.apache.css.mapskeleton.apache.cssskeleton.apache.css.mapskeleton.module.cssskeleton.module.css.mapskeleton.root.cssskeleton.root.css.mapsophon.apache.csssophon.apache.css.map
|
@ -6,8 +6,9 @@
|
|||
<option name="myIgnoreVendorSpecificProperties" value="false" />
|
||||
<option name="myCustomPropertiesList">
|
||||
<value>
|
||||
<list size="1">
|
||||
<list size="2">
|
||||
<item index="0" class="java.lang.String" itemvalue="text-decoration-thickness" />
|
||||
<item index="1" class="java.lang.String" itemvalue="scrollbar-color" />
|
||||
</list>
|
||||
</value>
|
||||
</option>
|
||||
|
|
2
src/rules/skeleton.less
vendored
2
src/rules/skeleton.less
vendored
|
@ -299,6 +299,8 @@
|
|||
// Thanks, CSS variables!
|
||||
color: @cA;
|
||||
|
||||
// Get the scrollbar color from the theme
|
||||
scrollbar-color: @rgb-foreground @rgb-background;
|
||||
}
|
||||
|
||||
//</editor-fold>
|
||||
|
|
|
@ -67,6 +67,7 @@ body,
|
|||
body *,
|
||||
.bluelib * {
|
||||
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,
|
||||
.bluelib,
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -67,6 +67,7 @@ body,
|
|||
body *,
|
||||
.bluelib * {
|
||||
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,
|
||||
.bluelib,
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -67,6 +67,7 @@ body,
|
|||
body *,
|
||||
.bluelib * {
|
||||
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,
|
||||
.bluelib,
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -67,6 +67,7 @@ body,
|
|||
body *,
|
||||
.bluelib * {
|
||||
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,
|
||||
.bluelib,
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -67,6 +67,7 @@ body,
|
|||
body *,
|
||||
.bluelib * {
|
||||
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,
|
||||
.bluelib,
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -65,6 +65,7 @@
|
|||
.bluelib *,
|
||||
.bluelib .all {
|
||||
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 *,
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -67,6 +67,7 @@ body,
|
|||
body *,
|
||||
.bluelib * {
|
||||
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,
|
||||
.bluelib,
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -67,6 +67,7 @@ body,
|
|||
body *,
|
||||
.bluelib * {
|
||||
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,
|
||||
.bluelib,
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue