Jump to content

Color palette - design question


Recommended Posts

I'm new to this so please bear with me...

I'm basically very satisfied with the standard PS theme, but I'd like to change the grayish palette into a yellowish/woodish one.

In the beginning of /themes dir/global.css I have

/*
   PrestaShop CSS
   18 used colors: 
   10 grays: #374853 #595a5e #5d717e #76839b #888 #bdc2c9 #d0d1d5 #d0d3d8 #e5e6e7 #f1f2f4
   4 fushias: #f6dce8 #dd2a81 #971d58 #5d0630
   2 yellows: #f8e1a0 #f9e400
   1 green: #488c40
   1 red: #da0f00
*/


So, OK, these are the colors used. I searched for #374853 and found 20 or so occurances - a total of several hundred for all of the different shades of all colors?
To change the palette, I guess I need to find each of the hex codes and change them all?

Now, wouldn't it be better to have "defines" at the top, like

gray1=#374853;
gray2=#595a5e;
etc


And then use the names below in the code, instead of the hex codes?

/Mats

Link to comment
Share on other sites

  • 3 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...