Closed a-kempka closed 3 months ago
hi @a-kempka,
thanks for your colorful idea :-) seems to be a good improvement to provide additional Bootstrap "color utility classes". Could imagine to provide functionality like "theme_boost_union | bootstrapcolorxxxx" and assingn it within Boost Union for example to infobanners "theme_boostunion | infobanner1bsclass". But at least to provide these classes (with Boost Union functionalities) by editors like atto or tinymce needs to be discussed with Developers and the team... " .. could be provided as atto style settings or other equivalents. "_ = separate Plugin
brgds Wolfgang
Hallo @a-kempka
Thank you for contributing the user stories. We have discussed this in the planning team today, but unfortunately this feature idea is out of scope.
brgds Wolfgang
I would like to provide additional colors to moodle in a controlled manner. The colors should be available in many (bootstrap-)components without the need of extensive color declarations (for shading, different states). Bootstrap can be customized to allow additional colors - the color variants and colors for the components (like
btn
) are generated automatically. (See https://stackoverflow.com/questions/8596794/customizing-bootstrap-css-template/50410667#50410667) Currently I can only modify existing colors (primary, secondary etc.) in boost union (e.g.theme_boost_union | bootstrapcolorsuccess
), not add new colors.Describe the solution you'd like
theme_boost_union | scsspre
. I would like to give the users access to bootstrap's components (e.g.btn
) in a expanded variety of curated colors (e.g.btn-fancycolor
), where variants of the colors are provided by bootstrap (e.g. for active, disabled, outline buttons, etc., such asbtn btn-outline-fancycolor
).Describe alternatives you've considered
_variables.scss
(https://github.com/twbs/bootstrap/blob/v4-dev/scss/_variables.scss#L75) or set a prescsstheme_boost_union | scsspre
and declare variables there. However this means additional maintenance when upgrading and it is less flexible and more error prone to add colors as system files have to be changed or the prescss has to be injected which can lead to unexpected things.Additional context For the gui the settings could be used in a similar manner to
theme_boost_union | bootstrapcolorsuccess