DigiDago / moodle-format_softcourse

A course format for Moodle. This course format displays sections with only an image and an optional text on the course homepage. Users don’t see the detail of the section, for instance, resources or activities.
https://pimenko.com
1 stars 4 forks source link

Bug report Pimenko #117

Closed kwibus closed 11 months ago

kwibus commented 1 year ago

How to set brandcolor?

I notice that elements like softcourse-section-img have:

    background-color: orange;
    background-color: brandcolor;

My browser (chrome) complains that brandcolor is not a valid color, so it defaults to orange. Wat is the way to change that orange color?

What I tried

CrymSonir commented 11 months ago

Indeed, the brandcolor is not taken into account outside of the our theme that we use for our deployments.

We had tried to integrate the value 'just in case' into the CSS, but it seems to not work for boost ...

In the case of Boost, it appears that the brandcolor value is defined much later in the code and, as a result, is not recognized by the course format's CSS.

As you have understood, the only way for you to achieve the desired result would be to define the value you want in the custom CSS.

We are exploring the possibility of adding a feature that would allow you to set the desired color directly in the course settings, but for now, I don't have any dates to provide on this matter :)

Sorry for the delay in response...