1
0
mirror of https://github.com/jenil/chota.git synced 2023-08-10 21:13:07 +03:00

Merge pull request #57 from fromaline/fromaline/issue-56

Add custom scrollbar
This commit is contained in:
Jenil Gogari 2020-10-26 17:38:02 -04:00 committed by GitHub
commit acda1cdfa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 1955 additions and 1 deletions

13
dist/chota.css vendored
View File

@ -29,6 +29,19 @@ html {
-webkit-box-sizing: inherit; -webkit-box-sizing: inherit;
box-sizing: inherit; box-sizing: inherit;
} }
* {
scrollbar-width: thin;
scrollbar-color: var(--color-lightGrey) var(--bg-primary);
}
*::-webkit-scrollbar {
width: 8px;
}
*::-webkit-scrollbar-track {
background: var(--bg-primary);
}
*::-webkit-scrollbar-thumb {
background: var(--color-lightGrey);
}
body { body {
background-color: var(--bg-color); background-color: var(--bg-color);
line-height: 1.6; line-height: 1.6;

2
dist/chota.min.css vendored

File diff suppressed because one or more lines are too long

View File

@ -29,6 +29,23 @@ html {
box-sizing: inherit; box-sizing: inherit;
} }
* {
scrollbar-width: thin;
scrollbar-color: var(--color-lightGrey) var(--bg-primary);
}
*::-webkit-scrollbar {
width: 8px;
}
*::-webkit-scrollbar-track {
background: var(--bg-primary);
}
*::-webkit-scrollbar-thumb {
background: var(--color-lightGrey);
}
body { body {
background-color: var(--bg-color); background-color: var(--bg-color);
line-height: 1.6; line-height: 1.6;

1924
yarn.lock Normal file

File diff suppressed because it is too large Load Diff