Subtle scroll bar
All checks were successful
Publish Library / Build Container (push) Successful in 16s
Publish Library / Build NPM Project (push) Successful in 22s
Publish Library / Tag Version (push) Successful in 9s

This commit is contained in:
2026-07-25 22:13:01 -04:00
parent 93f33cf4a5
commit f018bae865
2 changed files with 6 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "@ztimson/css-utils", "name": "@ztimson/css-utils",
"version": "2.0.2", "version": "2.0.3",
"description": "CSS Utility Classes", "description": "CSS Utility Classes",
"readme": "README.md", "readme": "README.md",
"scripts": { "scripts": {

View File

@@ -108,7 +108,7 @@ $divisible: (0, 10, 20, 25, 30, 33, 34, 40, 50, 60, 66, 70, 75, 80, 90, 100);
.fix-scrollbar { .fix-scrollbar {
* { * {
scrollbar-width: thin; scrollbar-width: thin;
scrollbar-color: var(--theme-primary) var(--theme-background); scrollbar-color: var(--theme-surface) transparent;
} }
*::-webkit-scrollbar { *::-webkit-scrollbar {
@@ -117,17 +117,17 @@ $divisible: (0, 10, 20, 25, 30, 33, 34, 40, 50, 60, 66, 70, 75, 80, 90, 100);
} }
*::-webkit-scrollbar-track { *::-webkit-scrollbar-track {
background: var(--theme-background); background: transparent;
} }
*::-webkit-scrollbar-thumb { *::-webkit-scrollbar-thumb {
background-color: var(--theme-primary); background-color: var(--theme-surface);
border-radius: 4px; border-radius: 4px;
border: 2px solid var(--theme-background); border: 2px solid var(--theme-surface);
} }
*::-webkit-scrollbar-thumb:hover { *::-webkit-scrollbar-thumb:hover {
background-color: var(--theme-accent); background-color: var(--theme-primary);
} }
} }