Admin Dark & Light Mode - Cosmetic Fixes

Cosmetic look of components or your whole site
User avatar
burt
Core Team
Posts: 4916
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 296 times
Been thanked: 493 times

Admin Dark & Light Mode - Cosmetic Fixes

Post by burt »

There are a number of areas in the Admin Side, where use of Dark Mode fails.

If you use Dark Mode, and come across any glaring problems, please post in this thread. Screenshot would help enormously.

How to enable Dark Mode in Admin

admin/includes/languages/english.php

Find:

Code: Select all

const HTML_PARAMS = 'dir="ltr" lang="en"';
Change to:

Code: Select all

const HTML_PARAMS = 'dir="ltr" lang="en" data-bs-theme="dark"';


Fixes to Dark Mode will be an ongoing process of finding problems and solving them.

TY to all who get involved.



Join The Code Co-op to get access to your library in the Code Co-op Forum
User avatar
burt
Core Team
Posts: 4916
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 296 times
Been thanked: 493 times

Re: Admin Dark & Light Mode - Cosmetic Fixes

Post by burt »

dark-table-right-column.png
Right Hand Column header remains wrong colour


FIXED. See Below.
You do not have the required permissions to view the files attached to this post.
I am not here to build for you.
I am here to build with you. Let's help each other.

User avatar
burt
Core Team
Posts: 4916
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 296 times
Been thanked: 493 times

Re: Admin Dark & Light Mode - Cosmetic Fixes

Post by burt »

dark-button.png

Dark button on a dark background merges - no good for accessibility
Light button might also need looking at - clash of colours


FIXED. See below.
You do not have the required permissions to view the files attached to this post.
I am not here to build for you.
I am here to build with you. Let's help each other.

User avatar
burt
Core Team
Posts: 4916
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 296 times
Been thanked: 493 times

Re: Admin Dark & Light Mode - Cosmetic Fixes

Post by burt »

dark-secondary-nav.png

The secondary Nav remains light.


Fixed. See below.
You do not have the required permissions to view the files attached to this post.
I am not here to build for you.
I am here to build with you. Let's help each other.

User avatar
burt
Core Team
Posts: 4916
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 296 times
Been thanked: 493 times

Re: Admin Dark & Light Mode - Cosmetic Fixes

Post by burt »

dark-footer.png

The footer area remains light.

Note that I also have plans to change this from a Card to a proper footer.
And add in a "back to top" function.


FIXED. See Below.
You do not have the required permissions to view the files attached to this post.
I am not here to build for you.
I am here to build with you. Let's help each other.

User avatar
burt
Core Team
Posts: 4916
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 296 times
Been thanked: 493 times

Re: Admin Dark & Light Mode - Cosmetic Fixes

Post by burt »

The order page is really bad;

dark-order.png

FIXED. See below.
You do not have the required permissions to view the files attached to this post.

User avatar
burt
Core Team
Posts: 4916
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 296 times
Been thanked: 493 times

Re: Admin Dark & Light Mode - Cosmetic Fixes

Post by burt »

dark-icons.png

Some icons are dark, making them hard to see in dark mode.


FIXED. See Below.
You do not have the required permissions to view the files attached to this post.

User avatar
burt
Core Team
Posts: 4916
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 296 times
Been thanked: 493 times

Re: Admin Dark & Light Mode - Cosmetic Fixes

Post by burt »

burt wrote: ↑Thu Nov 05, 2026 10:42 am The footer area remains light.

Note that I also have plans to change this from a Card to a proper footer.
And add in a "back to top" function.
https://github.com/CE-PhoenixCart/Phoen ... 0130f4f551
I am not here to build for you.
I am here to build with you. Let's help each other.

User avatar
burt
Core Team
Posts: 4916
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 296 times
Been thanked: 493 times

Re: Admin Dark & Light Mode - Cosmetic Fixes

Post by burt »

burt wrote: ↑Thu Nov 05, 2026 10:35 am Right Hand Column header remains wrong colour
https://github.com/CE-PhoenixCart/Phoen ... df5e330bb2
I am not here to build for you.
I am here to build with you. Let's help each other.

User avatar
burt
Core Team
Posts: 4916
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 296 times
Been thanked: 493 times

Re: Admin Dark & Light Mode - Cosmetic Fixes

Post by burt »

burt wrote: ↑Wed Nov 04, 2026 1:20 pm How to enable Dark Mode in Admin

admin/includes/languages/english.php
https://github.com/CE-PhoenixCart/Phoen ... dc77e5bed1

dark = dark mode
light = light mode
system = will choose dark or light based on your computer settings
I am not here to build for you.
I am here to build with you. Let's help each other.



Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply