Repository URL to install this package:
|
Version:
2.0.2 ▾
|
"use strict";
var __importDefault = this && this.__importDefault || function (mod) {
return mod && mod.__esModule ? mod : {
"default": mod
};
};
Object.defineProperty(exports, "__esModule", {
value: true
});
const chain_able_boost_1 = require("chain-able-boost");
const variables_1 = __importDefault(require("./variables"));
const functions_1 = require("./functions");
const remapped = {};
function remapKeys(key) {
const camelKey = chain_able_boost_1.camelCase(key);
remapped[camelKey] = variables_1.default[key]; // if required, add kebab as well
// but this is handled in spread exports
// remapped[key] = remapped[key]
}
Object.keys(variables_1.default).forEach(remapKeys);
const exporting = Object.assign({
desktopOrLarger: functions_1.desktopOrLarger,
tabletOrLarger: functions_1.tabletOrLarger,
phoneOrLarger: functions_1.phoneOrLarger,
desktopOrSmaller: functions_1.desktopOrSmaller,
tabletOrSmaller: functions_1.tabletOrSmaller,
phoneOrSmaller: functions_1.phoneOrSmaller,
vw: functions_1.vw,
rem: functions_1.rem,
container: functions_1.container,
row: functions_1.row,
font: functions_1.font,
qa: functions_1.qa
}, variables_1.default, {
// add these new names
remapped
}, remapped);
exports.default = exporting; //# sourceMappingURL=theme.js.map