aboutsummaryrefslogtreecommitdiff
path: root/src/components/scrollbar.style.js
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2024-02-18 20:11:06 +0200
committerHenry Jameson <me@hjkos.com>2024-02-18 20:11:06 +0200
commit13a289ac74206ada74c329b721584b810ef1b9ef (patch)
treef0f13094d56db127161d932958bfad9a8e6f6181 /src/components/scrollbar.style.js
parent3e198526e66b88301882b14240f0d50b8819b520 (diff)
fixed oot selectors not working, added support for (webkit) scrollbars
Diffstat (limited to 'src/components/scrollbar.style.js')
-rw-r--r--src/components/scrollbar.style.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/components/scrollbar.style.js b/src/components/scrollbar.style.js
new file mode 100644
index 00000000..76053d6f
--- /dev/null
+++ b/src/components/scrollbar.style.js
@@ -0,0 +1,11 @@
+export default {
+ name: 'Scrollbar',
+ selector: '::-webkit-scrollbar',
+ defaultRules: [
+ {
+ directives: {
+ background: '--bg'
+ }
+ }
+ ]
+}