UNPKG

@atlaskit/logo

Version:

A logo is a visual representation of a brand or app. It can be a word, an image, or a combination of both.

30 lines (29 loc) 872 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getColorsForLoom = void 0; var _getColorsFromAppearance = require("./get-colors-from-appearance"); var getColorsForLoom = exports.getColorsForLoom = function getColorsForLoom(appearance, colorMode) { var iconColor = (0, _getColorsFromAppearance.getColorsFromAppearance)(appearance, colorMode).iconColor; var textColor = (0, _getColorsFromAppearance.getColorsFromAppearance)(appearance, colorMode).textColor; if (colorMode === 'dark') { switch (appearance) { case 'brand': iconColor = '#625DF5'; textColor = '#EFF0FF'; break; } } else { switch (appearance) { case 'brand': iconColor = '#625DF5'; textColor = '#252434'; break; } } return { iconColor: iconColor, textColor: textColor }; };