Support of display-P3 color space #1083
iamgiannisx
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
I don't think you can achieve this with Bootstrap variables, You can override th palette by CSS, but I don't think it's worth it. [data-palette='yellow'] {
--hbs-primary: #984c0c;
--hbs-primary-rgb: 152, 76, 12 !important;
--hbs-primary-secondary: #7a3d0a;
--hbs-primary-secondary-rgb: 122, 61, 10;
--hbs-on-primary: #fff;
--hbs-on-primary-rgb: 255, 255, 255;
--hbs-primary-text: #6a3508 !important;
--hbs-on-primary-secondary: #ccc;
--hbs-on-primary-secondary-rgb: 204, 204, 204;
--hbs-on-primary-disabled: #999;
--hbs-on-primary-disabled-rgb: 153, 153, 153;
--hbs-accent-bg: #984c0c !important;
--hbs-accent-color: #fff !important;
--hbs-accent-border: #984c0c !important;
} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Is there a way to use display-P3 color space
I am trying to change palette color from
$palette-yellow: #f6d200;
to$palette-yellow: color(display-p3 0.964706 0.823529 0/1);
at /variables.scss and I am getting an errorfunctions.scss:37:11": argument
$colorof
red($color)must be a color
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions