Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2019-04-04 11:28:48

philwareham
Core designer
From: Farnham, Surrey, UK
Registered: 2009-06-11
Posts: 3,199
Website

Dark/Light Mode in 4.8-dev Hive admin theme

Latest Textpattern 4.8-dev on GitHub has user selectable Dark/Light Mode for the Hive admin theme, for your testing.

A few CSS glitches still to be fixed and Hive Neutral needs some work to support this properly but feel free to test it out in your environments. If we release a Textpattern 4.7.4 build (under discussion) then this could easily be back-ported to be included in that release.

Offline

#2 2019-04-04 18:18:21

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 3,555
Website

Re: Dark/Light Mode in 4.8-dev Hive admin theme

Cool! Just had a look on Pete’s 4.8 demo site (thanks again Pete!). Spent ages looking for the prefs setting to switch to dark mode before I eventually discovered the light switch ;-)


TXP Builders – finely-crafted code, design and txp

Offline

#3 2019-04-04 18:58:12

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 8,787
Website

Re: Dark/Light Mode in 4.8-dev Hive admin theme

That is lovely. My new best friend for evening work alongside f.lux.

Nice work, Phil.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#4 2019-04-04 19:18:21

philwareham
Core designer
From: Farnham, Surrey, UK
Registered: 2009-06-11
Posts: 3,199
Website

Re: Dark/Light Mode in 4.8-dev Hive admin theme

Yeah, the lightbulb is fairly subtle but I didn’t want to make it too intrusive. Basically the theme will adhere to your preferred OS light/dark setting (on supported platforms) unless you click the lightbulb to override it.

Offline

#5 2019-04-04 20:53:09

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,314
Website

Re: Dark/Light Mode in 4.8-dev Hive admin theme

I’m loving it!


Patrick.

Github | CodePen | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#6 2019-04-04 21:22:34

towndock
Member
From: Oriental, NC USA
Registered: 2007-04-06
Posts: 280
Website

Re: Dark/Light Mode in 4.8-dev Hive admin theme

That’s beautiful. Looking forward to 4.7.4.

Offline

#7 2019-04-05 02:36:03

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 1,718
Website

Re: Dark/Light Mode in 4.8-dev Hive admin theme

It seems to work reasonably well based on the active OS theme (macOS 10.14 + Safari).

But I’ll be a bit the contrarian, as usual. I don’t like much that light bulb icon that appears on every screen / page of the TXP admin. It is yet another thingie that clutters the UI. IMHO, that is something that belongs on the Admin subtab of the Preferences panel, together with the Admin Theme selector. Or do you expect that people are going to toggle between dark and light mode often, depending on which panel they are ? – oh, we’re on the Prefs panel, let’s switch to dark mode… ok, now we’re on the Write panel, let’s toggle to light mode … [repeat ad nauseam] … I don’t think so.

Offline

#8 2019-04-05 05:58:42

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 7,344
Website

Re: Dark/Light Mode in 4.8-dev Hive admin theme

phiw13 wrote #317496:

It seems to work reasonably well based on the active OS theme (macOS 10.14 + Safari).

But I’ll be a bit the contrarian, as usual. I don’t like much that light bulb icon that appears on every screen / page of the TXP admin. It is yet another thingie that clutters the UI. IMHO, that is something that belongs on the Admin subtab of the Preferences panel, together with the Admin Theme selector. Or do you expect that people are going to toggle between dark and light mode often, depending on which panel they are ? – oh, we’re on the Prefs panel, let’s switch to dark mode… ok, now we’re on the Write panel, let’s toggle to light mode … [repeat ad nauseam] … I don’t think so.

I guess that people might switch it on and off. During the day, one might prefer the light mode and from some point on, the dark one.

I like it but I’m not sure about the contrast between the dark greys and the blue of the links for those who may have accessibility issues or even just bad screens.


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | Respbublika! | NeMe @ github

Offline

#9 2019-04-05 06:26:03

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 1,718
Website

Re: Dark/Light Mode in 4.8-dev Hive admin theme

colak wrote #317499:

I guess that people might switch it on and off. During the day, one might prefer the light mode and from some point on, the dark one.

Yes but that was not my point. You don’t need to have that toggle on every screen/page/panel for that.

I like it but I’m not sure about the contrast between the dark greys and the blue of the links for those who may have accessibility issues or even just bad screens.

Yeah, I’ve only looked at it on my iMac with its quite powerful screen (wide gamut, display p3, very bright), not sure how well it will work on the old and tired MBP 13 (~2012) someone lend me.

Offline

#10 2019-04-05 06:58:51

philwareham
Core designer
From: Farnham, Surrey, UK
Registered: 2009-06-11
Posts: 3,199
Website

Re: Dark/Light Mode in 4.8-dev Hive admin theme

I’ll check the contrast of the blue links against WCAG 2.0 later and add more contrast if it’s not giving a AAA score. Cheers for the feedback.

Offline

Board footer

Powered by FluxBB