fix(core): update
This commit is contained in:
parent
c6204f5324
commit
ffba30da5a
@ -1,4 +1,4 @@
|
|||||||
import { CSSResult } from 'lit-element';
|
import { CSSResult, unsafeCSS } from 'lit-element';
|
||||||
import * as plugins from './dees-element.plugins';
|
import * as plugins from './dees-element.plugins';
|
||||||
import * as domtools from '@designestate/dees-domtools';
|
import * as domtools from '@designestate/dees-domtools';
|
||||||
|
|
||||||
@ -32,6 +32,18 @@ export class CssManager {
|
|||||||
return domtools.elementBasic.staticStyles;
|
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 {
|
public bdTheme(brightValueArg: string, darkValueArg: string): CSSResult {
|
||||||
let returnCssVar: string;
|
let returnCssVar: string;
|
||||||
const existingTriplet = this.bdVarTripletStore.find(
|
const existingTriplet = this.bdVarTripletStore.find(
|
||||||
|
Loading…
Reference in New Issue
Block a user