codogo-react-widgets
Version:
Provides a unified way to access the styling of commonly used widgets across different apps
35 lines (29 loc) • 843 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = {
colors: {
accounts: "#ff5559",
write: "#ff0",
//default value, must be overwritten
main: "#aaa",
white: "#fff",
lightGrey: "#ddd",
black: "#333",
red: "#f92672",
orange: "#fd971f",
yellow: "#e6db74",
green: "#a6e22e",
blue: "#66d9ef",
purple: "#ae81ff"
},
functions: {
shadow: function shadow(height) {
var over = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
var h = height - over;
return "\n\t\t\t\tbox-shadow:\n\t\t\t\t\t0px\t" + 3 * h + "px " + h + "px " + -h + "px rgba(0, 0, 0, " + h / 10 + "),\n\t\t\t\t\t0px " + h + "px " + 2 * h + "px " + h + "px rgba(0, 0, 0, " + h / 20 + ");\n\t\t\t\tz-index: " + height + ";\n\t\t\t";
}
}
};
//# sourceMappingURL=theme.js.map