Skip to content

Commit

Permalink
Added ::-webkit-scrollbar simple pseudo (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
Saartje87 authored May 20, 2021
1 parent 9e79556 commit ae532f5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .changeset/rare-peas-provide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
'@vanilla-extract/css': patch
---

Added support for the following simple pseudo selectors

- `::-webkit-resizer`
- `::-webkit-scrollbar-button`
- `::-webkit-scrollbar-corner`
- `::-webkit-scrollbar-thumb`
- `::-webkit-scrollbar-track-piece`
- `::-webkit-scrollbar-track`
- `::-webkit-scrollbar`
7 changes: 7 additions & 0 deletions packages/css/src/transformCss.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,13 @@ export const simplePseudos = [
'::-webkit-progress-bar',
'::-webkit-progress-inner-value',
'::-webkit-progress-value',
'::-webkit-resizer',
'::-webkit-scrollbar-button',
'::-webkit-scrollbar-corner',
'::-webkit-scrollbar-thumb',
'::-webkit-scrollbar-track-piece',
'::-webkit-scrollbar-track',
'::-webkit-scrollbar',
'::-webkit-slider-runnable-track',
'::-webkit-slider-thumb',
'::after',
Expand Down

0 comments on commit ae532f5

Please sign in to comment.