import{css as e}from"../../../../../lit/index.js";import{store as t}from"../haxcms-site-store.js";import{autorun as s,toJS as r}from"../../../../../mobx/dist/mobx.esm.js";const HAXCMSThemeParts=function(i){return class extends i{constructor(){super(),this.__disposer=this.__disposer?this.__disposer:[],s((e=>{this.editMode=r(t.editMode),this.__disposer.push(e)})),s((e=>{this.darkMode=r(t.darkMode),this.dark=this.darkMode,this.__disposer.push(e)}))}static get styles(){let t=[];return super.styles&&(t=super.styles),[t,e`
          [part="edit-mode-active"],
          [part*="edit-mode-active"] {
            pointer-events: var(
              --haxcms-theme-parts-edit-mode-active-pointer-events,
              none
            );
            opacity: var(--haxcms-theme-parts-edit-mode-active-opacity, 0.5);
            filter: var(
              --haxcms-theme-parts-edit-mode-active-filter,
              blur(1px)
            );
          }
        `]}static get properties(){return{...super.properties||{},editMode:{type:Boolean,attribute:"edit-mode",reflect:!0},darkMode:{type:Boolean,attribute:"dark-mode",reflect:!0}}}}};export{HAXCMSThemeParts};