moodle-an-hochschulen / moodle-theme_boost_union

Theme Boost Union is an enhanced child theme of Boost which is intended, on the one hand, to make Boost simply more configurable and, on the other hand, to provide helpful additional features for the daily Moodle operation of admins, teachers and students.
GNU General Public License v3.0
55 stars 49 forks source link

add additional bootstrap colors via moodle admin GUI #608

Closed a-kempka closed 3 months ago

a-kempka commented 3 months ago

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

Describe alternatives you've considered

Additional context For the gui the settings could be used in a similar manner to theme_boost_union | bootstrapcolorsuccess

whuml commented 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

whuml commented 3 months ago

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