saguaros
Yes, we want to have a new set. One can use custom.css and put e.g.
:root {
--t4-primary-rgb: 0, 129, 194;
--t4-secondary-rgb: 86, 92, 116;
--t4-success-rgb: 56, 158, 120;
}
but this is not a 'neat' solution. It's an override of default BS5 values, which should be overriden by T4 framework and should be set by SCSS (like defaults are in BS5) without a need to use custom.css to override them. The T4 framework in 'scss/variables.scss' overrides the BS5 default 'theme-colors' and sets T4 prefix:
// Prefix for :root CSS variables
$variable-prefix: t4-;
So we are trying to set our own 'theme-colors-rgb' via SCSS by adding to '/scss/variables.scss' the following around line 104:
// scss-docs-start theme-colors-rgb
$theme-colors-rgb: map-loop($theme-colors, to-rgb, "$value") !default;
// scss-docs-end theme-colors-rgb
and then compile SCSS but RGB versions of '$theme-colors' are not created.
The code above is copied from T4 plugin 'themes/base/vendors/bootstrap5/scss/variables.scss', lines 93-95 and it's missing from T4 template in 'scss/variables.scss'.