- Messages
- 5,029
- Website
- www.xenfocus.com
By default, Carbon comes with predefined colors in the Color Picker (green, blue, purple, red, gold, bronze, silver).
To change these, open your extra.less file and paste the following:
This code will add Yellow, with a hex code of #957820 to position 3 in your color picker.
Simply duplicate the code and replace the values if you want to change multiple colors.
The default color can be assigned via the style property: Xenfocus: Color Picker > Default color
To change these, open your extra.less file and paste the following:
Less:
.focus-color-picker('Yellow'; #957820; 3);
This code will add Yellow, with a hex code of #957820 to position 3 in your color picker.
Simply duplicate the code and replace the values if you want to change multiple colors.
The default color can be assigned via the style property: Xenfocus: Color Picker > Default color