feat(ui-docs): add default funkwhale background behind previews to better judge colors
This commit is contained in:
parent
6ee1343443
commit
a8c23648e4
|
@ -31,6 +31,15 @@ const { Theme } = DefaultTheme
|
||||||
.vp-doc .preview {
|
.vp-doc .preview {
|
||||||
padding: 16px 0;
|
padding: 16px 0;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
|
border-radius: 8px;
|
||||||
|
|
||||||
|
&:not(.transparent){
|
||||||
|
background-color:var(--background-color);
|
||||||
|
box-shadow: 0px 0px 16px 16px var(--background-color);
|
||||||
|
margin-top:16px;
|
||||||
|
padding-top:0;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
/* .preview overrides the cascade coming from .vp-docs and other containers
|
/* .preview overrides the cascade coming from .vp-docs and other containers
|
||||||
that may leak rules here */
|
that may leak rules here */
|
||||||
|
|
Loading…
Reference in New Issue