"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.white = exports.visualElementsColors = exports.v = exports.transparent = exports.text = exports.tertiaryLight = exports.tertiary = exports.secondaryText = exports.secondaryLight = exports.secondaryDark = exports.secondaryBackground = exports.secondary = exports.primaryText = exports.primaryLight = exports.primaryDark = exports.primary = exports.missingWithIcon = exports.missing = exports.incorrectWithIcon = exports.incorrectSecondary = exports.incorrect = exports.focusUncheckedBorder = exports.focusUnchecked = exports.focusCheckedBorder = exports.focusChecked = exports.fadedPrimary = exports.dropdownBackground = exports.disabledSecondary = exports.disabled = exports.defaults = exports.correctWithIcon = exports.correctTertiary = exports.correctSecondary = exports.correct = exports.borderLight = exports.borderGray = exports.borderDark = exports.border = exports.blueGrey900 = exports.blueGrey600 = exports.blueGrey300 = exports.blueGrey100 = exports.black = exports.backgroundDark = exports.background = void 0;

var _green = _interopRequireDefault(require("@material-ui/core/colors/green"));

var _orange = _interopRequireDefault(require("@material-ui/core/colors/orange"));

var _pink = _interopRequireDefault(require("@material-ui/core/colors/pink"));

var _indigo = _interopRequireDefault(require("@material-ui/core/colors/indigo"));

var _red = _interopRequireDefault(require("@material-ui/core/colors/red"));

var defaults = {
  TEXT: 'black',
  DISABLED: 'grey',
  DISABLED_SECONDARY: '#ABABAB',
  CORRECT: _green["default"][500],
  CORRECT_SECONDARY: _green["default"][50],
  CORRECT_TERTIARY: '#0EA449',
  CORRECT_WITH_ICON: '#087D38',
  INCORRECT: _orange["default"][500],
  INCORRECT_SECONDARY: _red["default"][50],
  INCORRECT_WITH_ICON: '#BF0D00',
  MISSING: _red["default"][700],
  MISSING_WITH_ICON: '#6A78A1',
  PRIMARY: _indigo["default"][500],
  PRIMARY_LIGHT: _indigo["default"][200],
  PRIMARY_DARK: _indigo["default"][800],
  SECONDARY: _pink["default"].A400,
  SECONDARY_LIGHT: _pink["default"][200],
  SECONDARY_DARK: _pink["default"][900],
  TERTIARY: '#146EB3',
  TERTIARY_LIGHT: '#D0E2F0',
  BACKGROUND: 'rgba(255,255,255,0)',
  BACKGROUND_DARK: '#ECEDF1',
  DROPDOWN_BACKGROUND: '#E0E1E6',
  // this is used for inline-dropdown
  // this is only used for multi-trait-rubric, we might want to use BACKGROUND_DARK instead
  SECONDARY_BACKGROUND: 'rgba(241,241,241,1)',
  BORDER: '#9A9A9A',
  BORDER_LIGHT: '#D1D1D1',
  BORDER_DARK: '#646464',
  BORDER_GRAY: '#7E8494',
  BLACK: '#000000',
  WHITE: '#ffffff',
  TRANSPARENT: 'transparent',
  // this is used for multiple-choice accessibility
  FOCUS_CHECKED: '#BBDEFB',
  FOCUS_CHECKED_BORDER: '#1565C0',
  FOCUS_UNCHECKED: '#E0E0E0',
  FOCUS_UNCHECKED_BORDER: '#757575',
  // this is used for select text tokens
  BLUE_GREY100: '#F3F5F7',
  BLUE_GREY300: '#C0C3CF',
  BLUE_GREY600: '#7E8494',
  BLUE_GREY900: '#152452',
  // this is used for charting
  FADED_PRIMARY: '#DCDAFB'
};
exports.defaults = defaults;
Object.freeze(defaults);

var v = function v(prefix) {
  return function () {
    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    var fallback = args.pop();
    return args.reduceRight(function (acc, v) {
      return "var(--".concat(prefix, "-").concat(v, ", ").concat(acc, ")");
    }, fallback);
  };
};

exports.v = v;
var pv = v('pie');

var text = function text() {
  return pv('text', defaults.TEXT);
};

exports.text = text;

var disabled = function disabled() {
  return pv('disabled', defaults.DISABLED);
};

exports.disabled = disabled;

var disabledSecondary = function disabledSecondary() {
  return pv('disabled-secondary', defaults.DISABLED_SECONDARY);
};

exports.disabledSecondary = disabledSecondary;

var correct = function correct() {
  return pv('correct', defaults.CORRECT);
};

exports.correct = correct;

var correctSecondary = function correctSecondary() {
  return pv('correct-secondary', defaults.CORRECT_SECONDARY);
};

exports.correctSecondary = correctSecondary;

var correctTertiary = function correctTertiary() {
  return pv('correct-tertiary', defaults.CORRECT_TERTIARY);
};

exports.correctTertiary = correctTertiary;

var correctWithIcon = function correctWithIcon() {
  return pv('correct-icon', defaults.CORRECT_WITH_ICON);
};

exports.correctWithIcon = correctWithIcon;

var incorrect = function incorrect() {
  return pv('incorrect', defaults.INCORRECT);
};

exports.incorrect = incorrect;

var incorrectWithIcon = function incorrectWithIcon() {
  return pv('incorrect-icon', defaults.INCORRECT_WITH_ICON);
};

exports.incorrectWithIcon = incorrectWithIcon;

var incorrectSecondary = function incorrectSecondary() {
  return pv('incorrect-secondary', defaults.INCORRECT_SECONDARY);
};

exports.incorrectSecondary = incorrectSecondary;

var missing = function missing() {
  return pv('missing', defaults.MISSING);
};

exports.missing = missing;

var missingWithIcon = function missingWithIcon() {
  return pv('missing-icon', defaults.MISSING_WITH_ICON);
};

exports.missingWithIcon = missingWithIcon;

var primary = function primary() {
  return pv('primary', defaults.PRIMARY);
};

exports.primary = primary;

var primaryLight = function primaryLight() {
  return pv('primary-light', defaults.PRIMARY_LIGHT);
};

exports.primaryLight = primaryLight;

var primaryDark = function primaryDark() {
  return pv('primary-dark', defaults.PRIMARY_DARK);
};

exports.primaryDark = primaryDark;

var primaryText = function primaryText() {
  return pv('primary-text', 'text', defaults.TEXT);
};

exports.primaryText = primaryText;

var fadedPrimary = function fadedPrimary() {
  return pv('faded-primary', defaults.FADED_PRIMARY);
};

exports.fadedPrimary = fadedPrimary;

var secondary = function secondary() {
  return pv('secondary', defaults.SECONDARY);
};

exports.secondary = secondary;

var secondaryLight = function secondaryLight() {
  return pv('secondary-light', defaults.SECONDARY_LIGHT);
};

exports.secondaryLight = secondaryLight;

var secondaryDark = function secondaryDark() {
  return pv('secondary-dark', defaults.SECONDARY_DARK);
};

exports.secondaryDark = secondaryDark;

var secondaryText = function secondaryText() {
  return pv('secondary-text', 'text', defaults.TEXT);
};

exports.secondaryText = secondaryText;

var background = function background() {
  return pv('background', defaults.BACKGROUND);
};

exports.background = background;

var backgroundDark = function backgroundDark() {
  return pv('background-dark', defaults.BACKGROUND_DARK);
};

exports.backgroundDark = backgroundDark;

var secondaryBackground = function secondaryBackground() {
  return pv('secondary-background', defaults.SECONDARY_BACKGROUND);
};

exports.secondaryBackground = secondaryBackground;

var dropdownBackground = function dropdownBackground() {
  return pv('dropdown-background', defaults.DROPDOWN_BACKGROUND);
};

exports.dropdownBackground = dropdownBackground;

var tertiary = function tertiary() {
  return pv('tertiary', defaults.TERTIARY);
};

exports.tertiary = tertiary;

var tertiaryLight = function tertiaryLight() {
  return pv('tertiary-light', defaults.TERTIARY_LIGHT);
};

exports.tertiaryLight = tertiaryLight;

var border = function border() {
  return pv('border', defaults.BORDER);
};

exports.border = border;

var borderLight = function borderLight() {
  return pv('border-light', defaults.BORDER_LIGHT);
};

exports.borderLight = borderLight;

var borderDark = function borderDark() {
  return pv('border-dark', defaults.BORDER_DARK);
};

exports.borderDark = borderDark;

var borderGray = function borderGray() {
  return pv('border-gray', defaults.BORDER_GRAY);
};

exports.borderGray = borderGray;

var black = function black() {
  return pv('black', defaults.BLACK);
};

exports.black = black;

var white = function white() {
  return pv('white', defaults.WHITE);
};

exports.white = white;

var transparent = function transparent() {
  return defaults.TRANSPARENT;
};

exports.transparent = transparent;

var focusChecked = function focusChecked() {
  return pv('focus-checked', defaults.FOCUS_CHECKED);
};

exports.focusChecked = focusChecked;

var focusCheckedBorder = function focusCheckedBorder() {
  return pv('focus-checked-border', defaults.FOCUS_CHECKED_BORDER);
};

exports.focusCheckedBorder = focusCheckedBorder;

var focusUnchecked = function focusUnchecked() {
  return pv('focus-unchecked', defaults.FOCUS_UNCHECKED);
};

exports.focusUnchecked = focusUnchecked;

var focusUncheckedBorder = function focusUncheckedBorder() {
  return pv('focus-unchecked-border', defaults.FOCUS_UNCHECKED_BORDER);
};

exports.focusUncheckedBorder = focusUncheckedBorder;

var blueGrey100 = function blueGrey100() {
  return pv('blue-grey-100', defaults.BLUE_GREY100);
};

exports.blueGrey100 = blueGrey100;

var blueGrey300 = function blueGrey300() {
  return pv('blue-grey-300', defaults.BLUE_GREY300);
};

exports.blueGrey300 = blueGrey300;

var blueGrey600 = function blueGrey600() {
  return pv('blue-grey-600', defaults.BLUE_GREY600);
};

exports.blueGrey600 = blueGrey600;

var blueGrey900 = function blueGrey900() {
  return pv('blue-grey-900', defaults.BLUE_GREY900);
};

exports.blueGrey900 = blueGrey900;
var visualElementsColors = {
  AXIS_LINE_COLOR: '#5A53C9',
  ROLLOVER_FILL_BAR_COLOR: '#050F2D',
  GRIDLINES_COLOR: '#8E88EA',
  PLOT_FILL_COLOR: '#1463B3'
};
exports.visualElementsColors = visualElementsColors;
//# sourceMappingURL=color.js.map