Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/ui / dist / client / styles / theme.js
Size: Mime:
"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});

const tslib_1 = require("tslib");

const chain_able_boost_1 = require("chain-able-boost");

const variables_1 = tslib_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