trema-tech / moodle-theme_trema

Theme trema, a Moodle LMS plugin.
https://moodle.org/plugins/theme_trema
GNU General Public License v3.0
39 stars 20 forks source link

Bug: Category pills rendering black #199

Open SollalF opened 2 days ago

SollalF commented 2 days ago

Prerequisites

What happened?

With the basic settings, under site administration>courses>add a category the pill to show the parent category displays a dark text on a dark background.

What do you think should have happened?

I expected the button to be readable. My settings are all reset to default so I don't think it is a fault of configuration. The element has a bg-secondary applied on it but changing the secondary color does not seem to affect it.

Steps to reproduce

  1. Login as admin (specify user role)
  2. Go to administration>courses>add a category
  3. Scroll down to "Add new category"
  4. See error or issue.

Screenshots

image

Moodle version

4.4.3

Installed Moodle UI Language packs.

If other language(s), please specify

No response

Workaround

No response

Additional information

No response

System information

Client Device type: (e.g. Desktop, iPhone or iPad, Android phone or tablet, Other - specify) Client Operating System: (e.g. Windows, Linux, Mac OS, Android, iOS, Other - specify) Client Web Browser: (e.g. Chrome, Edge, Firefox, Safari, Safe Exam Browser, Moodle Mobile App) Server Operating System: (e.g. Windows, Linux, Mac OS, Other - specify) Server Webserver: (e.g. Apache, Nginx, IIS, Other - specify) Server PHP: (e.g. 7.4, 8.0, 8.1, 8.2, 8.3, Other - specify)

Code of Conduct

michael-milette commented 2 days ago

Hi @SollalF ,

Thank you for taking the time to report this issue. I believe the problem you described was addressed as a result of issue #198 and included in the Trema 4.4.0.7 release a couple of weeks ago.

Please try upgrading to the most recent release of Trema. If this does not address your issue, please confirm the version of Trema that you are using and provide us with the following Trema settings:

Best regards,

Michael Milette

michael-milette commented 2 days ago

Ignore my last message. I just figured out how to reproduce the issue. Will get back to you as soon as I have fixed the issue.

michael-milette commented 2 days ago

HI @SollalF ,

Could you please try the version of Trema here on GitHub? Specifically, the "dev" branch. Let me know whether this works for you or not. If it does, this fix will be included in the next release of Trema on Moodle.org.

Best regards,

Michael