eduNEXT / tutor-contrib-edunext-distro

A tool to facilitate the customization of an Openedx instance, adding commands and settings to have an easy-to-use and a ready-to-deploy in local or in development openedx distribution.
2 stars 1 forks source link

[FEAT] Bragi color palettes #21

Closed MoisesGSalas closed 1 year ago

MoisesGSalas commented 1 year ago

Is your feature request related to a problem? Please describe. The current version of the plugin ships with the Bragi theme by default. In addition to the main Bragi theme, there are several children themes that are used to choose different accent colors for the main Bragi. This extra colors are not being compiled at the moment.

Describe the solution you'd like All the colors should be compiled by default.

Describe alternatives you've considered None and I'm out of ideas.

mariajgrimaldi commented 1 year ago

When studying this issue, consider that the image built with the complete color palette weighs approx. 6GB that's a lot considering the base image weighs approx. 1GB.

felipemontoya commented 1 year ago

There are 72 colors compiled for bragi (https://github.com/eduNEXT/ednx-saas-themes/blob/master/edx-platform/bragi/bragi-generator.py). I don't see how this could seriously generate that much extra weight.

We need to either:

MaferMazu commented 1 year ago

We wanted to bring only bragi by default. If you want all colors, you can do it by adding the colors in the Tutor config.yml. Ex:

DISTRO_THEMES_NAME:
  - bragi
  - bragi-00695c
  - bragi-29b6f6
  - bragi-66bb6a
  - bragi-ad1457
 ...

Private eduNEXT example