Skip to main content
deleted 10 characters in body
Source Link
user9817924
user9817924

I am trying to change background color of entire header in antdesign. I am not sure but file with defaults should be this https://github.com/ant-design/ant-design/blob/master/components/style/themes/default.less

I found out that color of header is used here so i changed it to red

antd defaults

Global.less

@import "./vars.less";

@layout-header-background: red;

But its override with another class enter image description here

Now my question is what is best practise to changepractice to achieve change of header color. I mean this thing here

I am trying to change background color of entire header in antdesign. I am not sure but file with defaults should be this https://github.com/ant-design/ant-design/blob/master/components/style/themes/default.less

I found out that color of header is used here so i changed it to red

antd defaults

Global.less

@import "./vars.less";

@layout-header-background: red;

But its override with another class enter image description here

Now my question is what is best practise to change to achieve change of header color. I mean this thing here

I am trying to change background color of entire header in antdesign. I am not sure but file with defaults should be this https://github.com/ant-design/ant-design/blob/master/components/style/themes/default.less

I found out that color of header is used here so i changed it to red

antd defaults

Global.less

@import "./vars.less";

@layout-header-background: red;

But its override with another class enter image description here

Now my question is what is best practice to achieve change of header color. I mean this thing here

Source Link
user9817924
user9817924

Changing colors of antdesign header

I am trying to change background color of entire header in antdesign. I am not sure but file with defaults should be this https://github.com/ant-design/ant-design/blob/master/components/style/themes/default.less

I found out that color of header is used here so i changed it to red

antd defaults

Global.less

@import "./vars.less";

@layout-header-background: red;

But its override with another class enter image description here

Now my question is what is best practise to change to achieve change of header color. I mean this thing here