Skip to content

Commit

Permalink
feat(dialog): remove shadow
Browse files Browse the repository at this point in the history
  • Loading branch information
clshortfuse committed Aug 7, 2023
1 parent 975ab0c commit a80819c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions components/Dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import './DialogActions.js';

import CustomElement from '../core/CustomElement.js';
import { attemptFocus } from '../core/dom.js';
import ElevationMixin from '../mixins/ElevationMixin.js';
import PopupMixin from '../mixins/PopupMixin.js';
import ShapeMixin from '../mixins/ShapeMixin.js';
import ThemableMixin from '../mixins/ThemableMixin.js';
Expand Down Expand Up @@ -85,7 +84,6 @@ function focusOnTree(root, autofocus, forward = true) {
export default CustomElement
.extend()
.mixin(ThemableMixin)
.mixin(ElevationMixin)
.mixin(ShapeMixin)
.mixin(PopupMixin)
.define({
Expand All @@ -103,7 +101,6 @@ export default CustomElement
default: { value: 'confirm' },
cancel: { value: 'Cancel' },
confirm: { value: 'Confirm' },
elevation: { empty: 3 },
})
.set({
_useScrim: true,
Expand Down Expand Up @@ -193,8 +190,6 @@ export default CustomElement
:host {
--mdw-shape__size: 28px;
--mdw-surface__shadow__resting: var(--mdw-surface__shadow__3);
--mdw-surface__shadow__raised: var(--mdw-surface__shadow__resting);
/* padding-inline: 12px; */
--mdw-bg: var(--mdw-color__surface-container-high);
Expand Down

0 comments on commit a80819c

Please sign in to comment.