Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
a7527ab73c | |||
ffba30da5a |
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@designestate/dees-element",
|
"name": "@designestate/dees-element",
|
||||||
"version": "1.0.18",
|
"version": "1.0.19",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@designestate/dees-element",
|
"name": "@designestate/dees-element",
|
||||||
"version": "1.0.18",
|
"version": "1.0.19",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "a custom element class extending lit element class",
|
"description": "a custom element class extending lit element class",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
|
@ -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(
|
||||||
|
Reference in New Issue
Block a user