Skip to content

Commit

Permalink
feat(core/empty-state): enable shadow dom (#543)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielleroux committed May 25, 2023
1 parent eda80e3 commit d5c2f0b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/core/component-doc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2936,7 +2936,7 @@
"text": "1.6.0"
}
],
"encapsulation": "scoped",
"encapsulation": "shadow",
"dependents": [],
"dependencies": [
"ix-icon",
Expand Down
3 changes: 3 additions & 0 deletions packages/core/src/components/empty-state/empty-state.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
@import 'common-variables';
@import 'mixins/shadow-dom/component';

:host {
@include ix-component;

.label__subHeader {
color: var(--theme-color-soft-text);
}
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/components/empty-state/empty-state.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export type EmptyStateLayout = 'large' | 'compact' | 'compactBreak';
@Component({
tag: 'ix-empty-state',
styleUrl: 'empty-state.scss',
scoped: true,
shadow: true,
})
export class EmptyState {
/**
Expand Down

0 comments on commit d5c2f0b

Please sign in to comment.