fix(core): update

This commit is contained in:
Philipp Kunz 2021-03-28 22:20:16 +00:00
parent c6204f5324
commit ffba30da5a

View File

@ -1,4 +1,4 @@
import { CSSResult } from 'lit-element';
import { CSSResult, unsafeCSS } from 'lit-element';
import * as plugins from './dees-element.plugins';
import * as domtools from '@designestate/dees-domtools';
@ -32,6 +32,18 @@ export class CssManager {
return domtools.elementBasic.staticStyles;
}
public cssForTablet(contentArg) {
return unsafeCSS(domtools.breakpoints.cssForTablet(contentArg));
};
public cssForPhablet(contentArg) {
return unsafeCSS(domtools.breakpoints.cssForPhablet(contentArg));
}
public cssForPhone(contentArg) {
return unsafeCSS(domtools.breakpoints.cssForPhone(contentArg));
};
public bdTheme(brightValueArg: string, darkValueArg: string): CSSResult {
let returnCssVar: string;
const existingTriplet = this.bdVarTripletStore.find(