I'm trying to find out which is the file that sets the main blue color in Luma theme.
There is a blue defind @color-blue1: #1979c3; in lib/web/css/source/lib/variables/_colors.less
Where Luma gets it from ?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
I believe it comes from:
You should be able to override it in your theme with
Read more here
Luma inherits variables from
lib/web/css/source/lib/varibales/_buttons.less @button-primary__background: @color-blue1; @button-primary__border: 1px solid @color-blue1; lib/web/css/source/lib/varibales/_typography.less @link__color: @color-blue1; @link__hover__color: @color-blue2; @focus__color: @color-sky-blue1;
and other colors from lib and blank theme.
One have to overwrite all the variables in current store's theme, file
_theme.less as Zach pointed out.