fix(core): update
This commit is contained in:
parent
a06752b09f
commit
20e539edf0
@ -11,7 +11,7 @@ export interface IDbVarTriplet {
|
|||||||
export class CssManager {
|
export class CssManager {
|
||||||
public dbVarTripletStore: IDbVarTriplet[] = [];
|
public dbVarTripletStore: IDbVarTriplet[] = [];
|
||||||
|
|
||||||
public dbTheme(darkValueArg: string, brightValueArg: string): CSSResult {
|
public dbTheme(brightValueArg: string, darkValueArg: string): CSSResult {
|
||||||
let returnCssVar: string;
|
let returnCssVar: string;
|
||||||
const existingTriplet = this.dbVarTripletStore.find(tripletArg => tripletArg.darkValue === darkValueArg && tripletArg.brightValue === brightValueArg);
|
const existingTriplet = this.dbVarTripletStore.find(tripletArg => tripletArg.darkValue === darkValueArg && tripletArg.brightValue === brightValueArg);
|
||||||
if (existingTriplet) {
|
if (existingTriplet) {
|
||||||
|
Loading…
Reference in New Issue
Block a user