text: import{html,PolymerElement}from"../../@polymer/polymer/polymer-element.js";import"./lib/simple-colors-styles.js";class SimpleColors extends PolymerElement{static get template(){return html`
        <style is="custom-style" include="simple-colors"></style>
        <slot></slot>
      `}static get properties(){return{accentColor:{name:"accentColor",type:"String",value:"grey",reflectToAttribute:!0,notify:!0},dark:{name:"dark",type:"Boolean",value:!1,reflectToAttribute:!0,notify:!0},colors:{name:"colors",type:"Object",value:window.SimpleColorsUtilities.colors,notify:!0}}}static get tag(){return"simple-colors"}connectedCallback(){super.connectedCallback()}ready(){super.ready()}maxContrastShade(shade){return window.SimpleColorsUtilities.maxContrastShade(shade)}invertShade(shade){return window.SimpleColorsUtilities.invertShade(shade)}getColorInfo(colorName){let temp1=colorName.replace(/(.+simple-colors-)?(-text)?(-border)?/g,"").split("-theme-"),theme=0<temp1.length?temp1[0]:"default",temp2=0<temp1.length?temp1[1].split("-"):temp1[0].split("-"),color=1<temp2.length?temp2.slice(1,temp2.length-1).join("-"):"grey",shade=1<temp2.length?temp2[temp2.length-1]:"1";return{theme:theme,color:color,shade:shade}}makeVariable(color="grey",shade=1,theme="default"){return window.SimpleColorsUtilities.makeVariable(color="grey",shade=1,theme="default")}makeClass(color="grey",shade=1,theme="default",suffix=""){return window.SimpleColorsUtilities.makeClass(color="grey",shade=1,theme="default",suffix="")}getContrastingColors(colorName,colorShade,isLarge){return window.SimpleColorsUtilities.getContrastingColors(colorName,colorShade,isLarge)}getContrastingShades(isLarge,colorName,colorShade,contrastName){return window.SimpleColorsUtilities.getContrastingShades(isLarge,colorName,colorShade,contrastName)}isContrastCompliant(isLarge,colorName,colorShade,contrastName,contrastShade){return window.SimpleColorsUtilities.isContrastCompliant(isLarge,colorName,colorShade,contrastName,contrastShade)}}customElements.define(SimpleColors.tag,SimpleColors);export{SimpleColors};