Skip to content
This repository has been archived by the owner on Jan 27, 2023. It is now read-only.

Adds theme support to the VSS.SDK #105

Merged
merged 2 commits into from
Sep 17, 2018
Merged

Conversation

nkirchem
Copy link
Contributor

Adds theme support to the VSS.SDK by supplying the { applyTheme: true } option in VSS.init

@nkirchem nkirchem merged commit 0fb64eb into master Sep 17, 2018
cssVariables.push("--" + varName + ": " + themeData[varName]);
}
}
themeElement.innerText = ":root { " + cssVariables.join("; ") + " } body { color: var(--text-primary-color) }";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't going to work for IE11

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants