All files / src/theme CustomColors.js

100% Statements 10/10
100% Branches 7/7
100% Functions 1/1
100% Lines 10/10

Press n or j to go to the next uncovered block, b, p or k for the previous block.

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 3012x 34x   3x   3x   2x   2x   2x   2x   20x       12x                    
export const getColorPalette = (colorName) => {
    switch (colorName) {
        case "blue":
            return ["#1E90FF", "#4682B4", "#5F9EA0", "#6495ED", "#87CEEB"];
        case "green":
            return ["#32CD32", "#3CB371", "#2E8B57", "#228B22", "#6B8E23"];
        case "purple":
            return ["#800080", "#9370DB", "#8A2BE2", "#BA55D3", "#DDA0DD"];
        case "navy":
            return ["#003754", "#1e293b", "#334155", "#d4a853", "#e8c778"];
        case "gray":
            return ["#333333", "#4F4F4F", "#707070", "#A0A0A0", "#D3D3D3"];
        case "black":
            return ["#0A0A0A", "#1A1A1A", "#2A2A2A", "#3A3A3A", "#4A4A4A"];
        default:
            return ["#1E90FF", "#4682B4", "#5F9EA0", "#6495ED", "#87CEEB"];
    }
};
 
export const themeIDs = {
    //theme IDs are from the database
    default: "68f461a0fb166286885182c2",
    blue: "68f48bcda75dee043aa2e7a8",
    green: "68f48cc3a75dee043aa2e7a9",
    purple: "68f48cf7a75dee043aa2e7ab",
    navy: "68f48d08a75dee043aa2e7ac",
    black: "68f48d19a75dee043aa2e7ad",
    gray: "68f48d26a75dee043aa2e7ae",
};