All files / src/DotProvider/utils themeColorAssetsConfig.js

100% Statements 47/47
100% Branches 0/0
100% Functions 45/45
100% Lines 47/47

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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133    1x 21x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 21x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 21x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x     1x                                                                                                                                                                    
import { LIBRARY_COMPONENT, LIBRARY_DOT, LIBRARY_SVG, THEME_APPEARANCE_DARK, THEME_APPEARANCE_LIGHT, THEME_APPEARANCE_PURE_DARK, THEME_COLOR_BLUE, THEME_COLOR_GREEN, THEME_COLOR_ORANGE, THEME_COLOR_RED, THEME_COLOR_YELLOW } from './constants'
 
export const themeColorImports = {
    Lib_Blue_Light_Component: () => import(/* webpackChunkName: 'Lib_Blue_Light_Component' */ '../libraryChunks/themes/component/blue/Blue_Light_Component'),
    Lib_Blue_Dark_Component: () => import(/* webpackChunkName: 'Lib_Blue_Dark_Component' */ '../libraryChunks/themes/component/blue/Blue_Dark_Component'),
    Lib_Blue_PureDark_Component: () => import(/* webpackChunkName: 'Lib_Blue_PureDark_Component' */ '../libraryChunks/themes/component/blue/Blue_PureDark_Component'),
    Lib_Green_Light_Component: () => import(/* webpackChunkName: 'Lib_Green_Light_Component' */ '../libraryChunks/themes/component/green/Green_Light_Component'),
    Lib_Green_Dark_Component: () => import(/* webpackChunkName: 'Lib_Green_Dark_Component' */ '../libraryChunks/themes/component/green/Green_Dark_Component'),
    Lib_Green_PureDark_Component: () => import(/* webpackChunkName: 'Lib_Green_PureDark_Component' */ '../libraryChunks/themes/component/green/Green_PureDark_Component'),
    Lib_Orange_Light_Component: () => import(/* webpackChunkName: 'Lib_Orange_Light_Component' */ '../libraryChunks/themes/component/orange/Orange_Light_Component'),
    Lib_Orange_Dark_Component: () => import(/* webpackChunkName: 'Lib_Orange_Dark_Component' */ '../libraryChunks/themes/component/orange/Orange_Dark_Component'),
    Lib_Orange_PureDark_Component: () => import(/* webpackChunkName: 'Lib_Orange_PureDark_Component' */ '../libraryChunks/themes/component/orange/Orange_PureDark_Component'),
    Lib_Red_Light_Component: () => import(/* webpackChunkName: 'Lib_Red_Light_Component' */ '../libraryChunks/themes/component/red/Red_Light_Component'),
    Lib_Red_Dark_Component: () => import(/* webpackChunkName: 'Lib_Red_Dark_Component' */ '../libraryChunks/themes/component/red/Red_Dark_Component'),
    Lib_Red_PureDark_Component: () => import(/* webpackChunkName: 'Lib_Red_PureDark_Component' */ '../libraryChunks/themes/component/red/Red_PureDark_Component'),
    Lib_Yellow_Light_Component: () => import(/* webpackChunkName: 'Lib_Yellow_Light_Component' */ '../libraryChunks/themes/component/yellow/Yellow_Light_Component'),
    Lib_Yellow_Dark_Component: () => import(/* webpackChunkName: 'Lib_Yellow_Dark_Component' */ '../libraryChunks/themes/component/yellow/Yellow_Dark_Component'),
    Lib_Yellow_PureDark_Component: () => import(/* webpackChunkName: 'Lib_Yellow_PureDark_Component' */ '../libraryChunks/themes/component/yellow/Yellow_PureDark_Component'),
    Lib_Blue_Light_Dot: () => import(/* webpackChunkName: 'Lib_Blue_Light_Dot' */ '../libraryChunks/themes/dot/blue/Blue_Light_Dot'),
    Lib_Blue_Dark_Dot: () => import(/* webpackChunkName: 'Lib_Blue_Dark_Dot' */ '../libraryChunks/themes/dot/blue/Blue_Dark_Dot'),
    Lib_Blue_PureDark_Dot: () => import(/* webpackChunkName: 'Lib_Blue_PureDark_Dot' */ '../libraryChunks/themes/dot/blue/Blue_PureDark_Dot'),
    Lib_Green_Light_Dot: () => import(/* webpackChunkName: 'Lib_Green_Light_Dot' */ '../libraryChunks/themes/dot/green/Green_Light_Dot'),
    Lib_Green_Dark_Dot: () => import(/* webpackChunkName: 'Lib_Green_Dark_Dot' */ '../libraryChunks/themes/dot/green/Green_Dark_Dot'),
    Lib_Green_PureDark_Dot: () => import(/* webpackChunkName: 'Lib_Green_PureDark_Dot' */ '../libraryChunks/themes/dot/green/Green_PureDark_Dot'),
    Lib_Orange_Light_Dot: () => import(/* webpackChunkName: 'Lib_Orange_Light_Dot' */ '../libraryChunks/themes/dot/orange/Orange_Light_Dot'),
    Lib_Orange_Dark_Dot: () => import(/* webpackChunkName: 'Lib_Orange_Dark_Dot' */ '../libraryChunks/themes/dot/orange/Orange_Dark_Dot'),
    Lib_Orange_PureDark_Dot: () => import(/* webpackChunkName: 'Lib_Orange_PureDark_Dot' */ '../libraryChunks/themes/dot/orange/Orange_PureDark_Dot'),
    Lib_Red_Light_Dot: () => import(/* webpackChunkName: 'Lib_Red_Light_Dot' */ '../libraryChunks/themes/dot/red/Red_Light_Dot'),
    Lib_Red_Dark_Dot: () => import(/* webpackChunkName: 'Lib_Red_Dark_Dot' */ '../libraryChunks/themes/dot/red/Red_Dark_Dot'),
    Lib_Red_PureDark_Dot: () => import(/* webpackChunkName: 'Lib_Red_PureDark_Dot' */ '../libraryChunks/themes/dot/red/Red_PureDark_Dot'),
    Lib_Yellow_Light_Dot: () => import(/* webpackChunkName: 'Lib_Yellow_Light_Dot' */ '../libraryChunks/themes/dot/yellow/Yellow_Light_Dot'),
    Lib_Yellow_Dark_Dot: () => import(/* webpackChunkName: 'Lib_Yellow_Dark_Dot' */ '../libraryChunks/themes/dot/yellow/Yellow_Dark_Dot'),
    Lib_Yellow_PureDark_Dot: () => import(/* webpackChunkName: 'Lib_Yellow_PureDark_Dot' */ '../libraryChunks/themes/dot/yellow/Yellow_PureDark_Dot'),
    Lib_Blue_Light_SVG: () => import(/* webpackChunkName: 'Lib_Blue_Light_SVG' */ '../libraryChunks/themes/svg/blue/Blue_Light_SVG'),
    Lib_Blue_Dark_SVG: () => import(/* webpackChunkName: 'Lib_Blue_Dark_SVG' */ '../libraryChunks/themes/svg/blue/Blue_Dark_SVG'),
    Lib_Blue_PureDark_SVG: () => import(/* webpackChunkName: 'Lib_Blue_PureDark_SVG' */ '../libraryChunks/themes/svg/blue/Blue_PureDark_SVG'),
    Lib_Green_Light_SVG: () => import(/* webpackChunkName: 'Lib_Green_Light_SVG' */ '../libraryChunks/themes/svg/green/Green_Light_SVG'),
    Lib_Green_Dark_SVG: () => import(/* webpackChunkName: 'Lib_Green_Dark_SVG' */ '../libraryChunks/themes/svg/green/Green_Dark_SVG'),
    Lib_Green_PureDark_SVG: () => import(/* webpackChunkName: 'Lib_Green_PureDark_SVG' */ '../libraryChunks/themes/svg/green/Green_PureDark_SVG'),
    Lib_Orange_Light_SVG: () => import(/* webpackChunkName: 'Lib_Orange_Light_SVG' */ '../libraryChunks/themes/svg/orange/Orange_Light_SVG'),
    Lib_Orange_Dark_SVG: () => import(/* webpackChunkName: 'Lib_Orange_Dark_SVG' */ '../libraryChunks/themes/svg/orange/Orange_Dark_SVG'),
    Lib_Orange_PureDark_SVG: () => import(/* webpackChunkName: 'Lib_Orange_PureDark_SVG' */ '../libraryChunks/themes/svg/orange/Orange_PureDark_SVG'),
    Lib_Red_Light_SVG: () => import(/* webpackChunkName: 'Lib_Red_Light_SVG' */ '../libraryChunks/themes/svg/red/Red_Light_SVG'),
    Lib_Red_Dark_SVG: () => import(/* webpackChunkName: 'Lib_Red_Dark_SVG' */ '../libraryChunks/themes/svg/red/Red_Dark_SVG'),
    Lib_Red_PureDark_SVG: () => import(/* webpackChunkName: 'Lib_Red_PureDark_SVG' */ '../libraryChunks/themes/svg/red/Red_PureDark_SVG'),
    Lib_Yellow_Light_SVG: () => import(/* webpackChunkName: 'Lib_Yellow_Light_SVG' */ '../libraryChunks/themes/svg/yellow/Yellow_Light_SVG'),
    Lib_Yellow_Dark_SVG: () => import(/* webpackChunkName: 'Lib_Yellow_Dark_SVG' */ '../libraryChunks/themes/svg/yellow/Yellow_Dark_SVG'),
    Lib_Yellow_PureDark_SVG: () => import(/* webpackChunkName: 'Lib_Yellow_PureDark_SVG' */ '../libraryChunks/themes/svg/yellow/Yellow_PureDark_SVG'),
}
 
export const themeColorMapping = {
    [LIBRARY_COMPONENT]: {
        [THEME_COLOR_BLUE]: {
            [THEME_APPEARANCE_LIGHT]: 'Lib_Blue_Light_Component',
            [THEME_APPEARANCE_DARK]: 'Lib_Blue_Dark_Component',
            [THEME_APPEARANCE_PURE_DARK]: 'Lib_Blue_PureDark_Component'
        },
        [THEME_COLOR_GREEN]: {
            [THEME_APPEARANCE_LIGHT]: 'Lib_Green_Light_Component',
            [THEME_APPEARANCE_DARK]: 'Lib_Green_Dark_Component',
            [THEME_APPEARANCE_PURE_DARK]: 'Lib_Green_PureDark_Component'
        },
        [THEME_COLOR_ORANGE]: {
            [THEME_APPEARANCE_LIGHT]: 'Lib_Orange_Light_Component',
            [THEME_APPEARANCE_DARK]: 'Lib_Orange_Dark_Component',
            [THEME_APPEARANCE_PURE_DARK]: 'Lib_Orange_PureDark_Component'
        },
        [THEME_COLOR_RED]: {
            [THEME_APPEARANCE_LIGHT]: 'Lib_Red_Light_Component',
            [THEME_APPEARANCE_DARK]: 'Lib_Red_Dark_Component',
            [THEME_APPEARANCE_PURE_DARK]: 'Lib_Red_PureDark_Component'
        },
        [THEME_COLOR_YELLOW]: {
            [THEME_APPEARANCE_LIGHT]: 'Lib_Yellow_Light_Component',
            [THEME_APPEARANCE_DARK]: 'Lib_Yellow_Dark_Component',
            [THEME_APPEARANCE_PURE_DARK]: 'Lib_Yellow_PureDark_Component'
        }
    },
    [LIBRARY_DOT]: {
        [THEME_COLOR_BLUE]: {
            [THEME_APPEARANCE_LIGHT]: 'Lib_Blue_Light_Dot',
            [THEME_APPEARANCE_DARK]: 'Lib_Blue_Dark_Dot',
            [THEME_APPEARANCE_PURE_DARK]: 'Lib_Blue_PureDark_Dot'
        },
        [THEME_COLOR_GREEN]: {
            [THEME_APPEARANCE_LIGHT]: 'Lib_Green_Light_Dot',
            [THEME_APPEARANCE_DARK]: 'Lib_Green_Dark_Dot',
            [THEME_APPEARANCE_PURE_DARK]: 'Lib_Green_PureDark_Dot'
        },
        [THEME_COLOR_ORANGE]: {
            [THEME_APPEARANCE_LIGHT]: 'Lib_Orange_Light_Dot',
            [THEME_APPEARANCE_DARK]: 'Lib_Orange_Dark_Dot',
            [THEME_APPEARANCE_PURE_DARK]: 'Lib_Orange_PureDark_Dot'
        },
        [THEME_COLOR_RED]: {
            [THEME_APPEARANCE_LIGHT]: 'Lib_Red_Light_Dot',
            [THEME_APPEARANCE_DARK]: 'Lib_Red_Dark_Dot',
            [THEME_APPEARANCE_PURE_DARK]: 'Lib_Red_PureDark_Dot'
        },
        [THEME_COLOR_YELLOW]: {
            [THEME_APPEARANCE_LIGHT]: 'Lib_Yellow_Light_Dot',
            [THEME_APPEARANCE_DARK]: 'Lib_Yellow_Dark_Dot',
            [THEME_APPEARANCE_PURE_DARK]: 'Lib_Yellow_PureDark_Dot'
        }
    },
    [LIBRARY_SVG]: {
        [THEME_COLOR_BLUE]: {
            [THEME_APPEARANCE_LIGHT]: 'Lib_Blue_Light_SVG',
            [THEME_APPEARANCE_DARK]: 'Lib_Blue_Dark_SVG',
            [THEME_APPEARANCE_PURE_DARK]: 'Lib_Blue_PureDark_SVG'
        },
        [THEME_COLOR_GREEN]: {
            [THEME_APPEARANCE_LIGHT]: 'Lib_Green_Light_SVG',
            [THEME_APPEARANCE_DARK]: 'Lib_Green_Dark_SVG',
            [THEME_APPEARANCE_PURE_DARK]: 'Lib_Green_PureDark_SVG'
        },
        [THEME_COLOR_ORANGE]: {
            [THEME_APPEARANCE_LIGHT]: 'Lib_Orange_Light_SVG',
            [THEME_APPEARANCE_DARK]: 'Lib_Orange_Dark_SVG',
            [THEME_APPEARANCE_PURE_DARK]: 'Lib_Orange_PureDark_SVG'
        },
        [THEME_COLOR_RED]: {
            [THEME_APPEARANCE_LIGHT]: 'Lib_Red_Light_SVG',
            [THEME_APPEARANCE_DARK]: 'Lib_Red_Dark_SVG',
            [THEME_APPEARANCE_PURE_DARK]: 'Lib_Red_PureDark_SVG'
        },
        [THEME_COLOR_YELLOW]: {
            [THEME_APPEARANCE_LIGHT]: 'Lib_Yellow_Light_SVG',
            [THEME_APPEARANCE_DARK]: 'Lib_Yellow_Dark_SVG',
            [THEME_APPEARANCE_PURE_DARK]: 'Lib_Yellow_PureDark_SVG'
        }
    }
}