'use strict';

var palette = require('../../design/palette.js');

const ThemeUtil = {
    getDefaultColor: (theme) => {
        switch (theme) {
            case 'violet':
                return palette.default.violet500;
            case 'blue':
                return palette.default.blue500;
            case 'green':
                return palette.default.green500;
            case 'pink':
                return palette.default.fuchsiaPink500;
            case 'skyblue':
                return palette.default.skyBlue500;
            case 'red':
                return palette.default.indianRed500;
            case 'yellow':
                return palette.default.mustardYellow500;
            default:
                return palette.default.violet500;
        }
    },
    getBoldColor: (theme) => {
        switch (theme) {
            case 'violet':
                return palette.default.violet700;
            case 'blue':
                return palette.default.blue700;
            case 'green':
                return palette.default.green700;
            case 'pink':
                return palette.default.fuchsiaPink700;
            case 'skyblue':
                return palette.default.skyBlue700;
            case 'red':
                return palette.default.indianRed700;
            case 'yellow':
                return palette.default.mustardYellow700;
            default:
                return palette.default.violet700;
        }
    },
};

exports.ThemeUtil = ThemeUtil;
