@carbon/ibm-security
Version:
Carbon for Cloud & Cognitive IBM Security UI components
19 lines (16 loc) • 490 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _themes = require("@carbon/themes");
/**
* @file Themes.
* @copyright IBM Security 2019 - 2021
*/
var theme = {};
// Rewrites the theme using CSS custom properties.
Object.keys(_themes.g100).forEach(function (token) {
theme[token] = "var(--cds-".concat((0, _themes.formatTokenName)(token), ", ").concat(_themes.g100[token], ")");
});
var _default = exports.default = theme;