summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/vue_shared/components/color_select_dropdown/constants.js
blob: c70785abd1eb78e3a653be68b243589e299559cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import { __, s__ } from '~/locale';

export const COLOR_WIDGET_COLOR = s__('ColorWidget|Color');

export const DROPDOWN_VARIANT = {
  Sidebar: 'sidebar',
  Embedded: 'embedded',
};

export const DEFAULT_COLOR = { title: __('SuggestedColors|Blue'), color: '#1068bf' };

export const ISSUABLE_COLORS = [
  DEFAULT_COLOR,
  {
    title: s__('SuggestedColors|Green'),
    color: '#217645',
  },
  {
    title: s__('SuggestedColors|Red'),
    color: '#c91c00',
  },
  {
    title: s__('SuggestedColors|Orange'),
    color: '#9e5400',
  },
  {
    title: s__('SuggestedColors|Purple'),
    color: '#694cc0',
  },
];