Closed fakhamatia closed 5 years ago
--matter-warning-rgb
and --matter-onwarning-rgb
are CSS Custom Properties (or variables).
I think you could override the value without changing the code by adding this to your own code
:root {
--matter-warning-rgb: 238, 102, 0;
--matter-onwarning-rgb: 204, 204, 204;
}
Yes its work i add to main css and warning color change but the color of error class changed too . matter-error now is yellow.
Hey @fakhamatia thanks for the issue, this was indeed a bug coming from a copy-paste error. It is now fixed in Release 0.2.1, let me know if you still have problems.
@willpower232 Thanks for explaining, this is exactly how global theming is meant to work.
Sorry for the late response, I wasn't around in the last few days.
How can i change default colors? I cant understand this color code
.matter-warning { --matter-theme-rgb: var(--matter-warning-rgb, 238, 102, 0); --matter-ontheme-rgb: var(--matter-onwarning-rgb, 255, 255, 255);
I want change warning because not near yellow color bootstrap