-
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(root): add shadow root support (#52)
- Loading branch information
1 parent
c85049b
commit a71c9fc
Showing
134 changed files
with
1,709 additions
and
711 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
github: lowlighter | ||
github: lowlighter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
.example-shadow-root-content { | ||
display: flex; | ||
justify-content: space-around; | ||
} | ||
|
||
section { | ||
margin-bottom: 0; | ||
} | ||
|
||
img { | ||
max-width: 100px; | ||
flex-shrink: 1; | ||
box-shadow: var(--shadow); | ||
margin: 1rem; | ||
} | ||
|
||
aside { | ||
margin: 0; | ||
flex-grow: 1; | ||
border-left: none; | ||
} | ||
|
||
aside b { | ||
color: var(--default); | ||
} | ||
|
||
audio { | ||
margin-top: 0.25rem; | ||
border-radius: var(--bd-radius); | ||
width: 100%; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
::-webkit-scrollbar { | ||
width: .5rem; | ||
height: .5rem; | ||
width: 0.5rem; | ||
height: 0.5rem; | ||
background-color: transparent; | ||
} | ||
|
||
::-webkit-scrollbar-thumb { | ||
border-radius: var(--bd-radius); | ||
background-color: var(--muted); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
textarea:user-invalid, | ||
select:user-invalid, | ||
input:not([type="radio"],[type="checkbox"],[type="range"],[type="submit"],[type="image"]):user-invalid { | ||
input:not([type="radio"], [type="checkbox"], [type="range"], [type="submit"], [type="image"]):user-invalid { | ||
border: 1px solid var(--danger); | ||
} | ||
|
||
textarea:user-valid, | ||
select:user-valid, | ||
input:not([type="radio"],[type="checkbox"],[type="range"],[type="submit"],[type="image"]):user-valid { | ||
input:not([type="radio"], [type="checkbox"], [type="range"], [type="submit"], [type="image"]):user-valid { | ||
border: 1px solid var(--success); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,4 +92,4 @@ span.cline-neutral { | |
} | ||
.cover-empty { | ||
background: var(--bg-muted); | ||
} | ||
} |
Oops, something went wrong.