UNPKG

@fluent-windows/core

Version:

React components that inspired by Microsoft's Fluent Design System.

24 lines (19 loc) 497 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _colors = require("../colors"); var _utils = require("../utils"); function createColor(colors) { var defaultColors = { standard: _colors.standard, primary: _colors.primary, error: _colors.error, white: _colors.white, black: _colors.black }; return (0, _utils.deepMerge)(defaultColors, colors); } var _default = createColor; exports["default"] = _default;