Posted by : Ajay Kumar Saturday 26 September 2015


To override the default theme colors, a new variables.php file will need to be created.

Copy the /sugarcrm/styleguide/themes/clients/base/default/variables.php to /sugarcrm/custom/themes/clients/base/default/variables.php and edit the following three HEX color values.

By defaul Sugar crm theme looks like



By default sugar crm theme,  'BorderColor' => '#E61718', I am changing that to    'BorderColor' => '#0adf31',

Inevitably Administration > Repair > Quick Repair and Rebuild  .

Our customized theme looks like below.




Like BorderColor,we can change NavigationBar and PrimaryButton.

NavigationBar

By default in sugarcrm theme, 'NavigationBar' => '#282828', I am changing that to 'NavigationBar' => #000099'.

Inevitably Administration > Repair > Quick Repair and Rebuild  .


Our customized theme below.



PrimaryButton

By default in sugar theme 'PrimaryButton' => '#176de5', I am changing that to  'PrimaryButton' => '#000000'.
  
Inevitably Administration > Repair > Quick Repair and Rebuild  .

Our customized theme looks like below.




One Response so far.

  1. Code Example, please?

- Copyright © SugarCRM Blog - Ajay Kumar - Powered by Blogger - Designed by Ajay Kumar -