Colors
By default, Nethren-UI ships with the following colors. Each component is colored based on appropriate shades of the following swatches. Use the lowercase of each swatch name when setting colors for components as props (ex: Primary swatch should be primary).
Default color pallete
Primary
50
#e8eaff100
#c0c2f5200
#9799e8300
#6f70de400
#4647d3500
#2c2db9600
#212391700
#171969800
#0c0e41900
#04041cSecondary
50
#fbfbdf100
#f0f0bc200
#e7e695300
#dddc6e400
#d3d246500
#b9b82c600
#908f20700
#676614800
#3e3d09900
#161400Success
50
#e2fbed100
#c2ebd4200
#9fddb9300
#7ccf9e400
#58c184500
#3ea76a600
#2e8251700
#1f5d3a800
#0f3921900
#001506Info
50
#e5eeff100
#b9cbfb200
#8da9f3300
#6186eb400
#3564e4500
#1b4aca600
#123abd700
#0a2972800
#031947900
#00081dWarning
50
#fff8de100
#f9eab6200
#f3dc8b300
#eecf5e400
#e9c131500
#d0a719600
#a18211700
#735d09800
#453802900
#191300Danger
50
#ffe4e4100
#fcb8b8200
#f48c8c300
#ee5e5e400
#e73131500
#ce1818600
#a11011700
#73090b800
#480405900
#1f0000Dark
50
#666666100
#555555200
#444444300
#333333400
#222222500
#151515600
#121212700
#0f0f0f800
#0d0d0d900
#000000Light
50
#ffffff100
#fefefe200
#fdfdfd300
#fcfcfc400
#fbfbfb500
#fafafa600
#e6e6e6700
#bfbfbf800
#999999900
#737373Configuring the color pallete
In the setColorPallete
function exposed from @nethren-ui/vue
, we can pass a configuration object with the full swatch for the colors in color scheme wa want to change.