Timeline for How do you change the color of buttons to a custom color?
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 6, 2021 at 12:20 | comment | added | zus | @DipeshRangani Any help thanks magento.stackexchange.com/q/328933/57334 | |
Apr 13, 2017 at 12:55 | history | edited | CommunityBot |
replaced http://magento.stackexchange.com/ with https://magento.stackexchange.com/
|
|
Jan 1, 2017 at 17:24 | vote | accept | babywit | ||
Nov 17, 2016 at 19:16 | comment | added | babywit | hi, i did copy this file to css\source and requested it change a button color via theme.less but receive error en_US/css/email.less variable @color-bw-blue is undefined in file var/view_preprocessed/css/frontend/Baby/Cool/en_US/css/source/_theme.less. Should I be pulling my new color.less file in from somewhere? not sure why it's not seeing the colors defined in the color.less file. | |
Nov 17, 2016 at 4:49 | comment | added | Dipesh Rangani |
Yes, copy _colors.less from lib\web\css\source\lib\variables and add in you theme <theme_dir>\web\css\source and you can add custom color variable and you can override variable value in your theme _theme.less file as well.
|
|
Nov 16, 2016 at 20:43 | comment | added | babywit | is there a file to define your custom colors so if you change the color it will change everywhere? could i add it to the color.less file or elsewhere? it is not picking it up in my custom less file although it is picking up everything else in there. | |
Nov 15, 2016 at 4:48 | comment | added | Dipesh Rangani | Yes, you can use Hex Color Code as well. | |
Nov 14, 2016 at 19:49 | comment | added | babywit | I want to do a custom color. Can I enter @button_color: #07baba | |
Nov 14, 2016 at 5:23 | history | answered | Dipesh Rangani | CC BY-SA 3.0 |