Diagnostics
LUM3016: Invalid :global() or :deep() selector
A :global() or :deep() selector is malformed.
Severity: error · Category: styles (3xxx)
Reported by: the CSS compiler (lumiose_css), in @lumiose/vite, lumiose check and the language server.
#What it means
:global(sel) leaves sel unscoped, and :deep(sel) scopes only the part of the selector before
it so that sel can match inside child components. Both need a selector argument, and a selector
may contain at most one :deep(), not nested in another.
#Example
<style>
:global { color: red; }
.list :deep(.item :deep(.icon)) { inline-size: 1rem; }
</style>