sanity
Version:
Sanity is a real-time content infrastructure with a scalable, hosted backend featuring a Graph Oriented Query Language (GROQ), asset pipelines and fast edge caches
17 lines (15 loc) • 344 B
text/typescript
import {Layer} from '@sanity/ui'
import styled from 'styled-components'
export const Overlay = styled(Layer)`
position: absolute;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
top: -2px;
left: -2px;
right: -2px;
bottom: -2px;
background-color: var(--card-bg-color);
opacity: 0.8;
`