feat(ui-docs): add default funkwhale background behind previews to better judge colors

This commit is contained in:
upsiflu 2024-12-18 16:56:46 +01:00
parent 6ee1343443
commit a8c23648e4
1 changed files with 9 additions and 0 deletions

View File

@ -31,6 +31,15 @@ const { Theme } = DefaultTheme
.vp-doc .preview {
padding: 16px 0;
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
that may leak rules here */