Hello,
today, using Claude.ai, I have created a dark version for Stringendo style.
Unfortunately I have some problems to add the dark theme to the admin panel.
Take a look and tell me what do you think.
New style for Leggero theme: Stringendo Dark
New style for Leggero theme: Stringendo Dark
- Attachments
-
- stringendodark.zip
- New Stringendo Dark Style for Leggero theme
- (90.86 KiB) Downloaded 28 times
- fraenkiman
- FlatPress Coder
- Posts: 497
- Joined: Thu Feb 03, 2022 7:25 pm
- Location: Berlin, Germany
- Contact:
Re: New style for Leggero theme: Stringendo Dark
Hi Eagleman,
I've made the necessary changes in the relevant sections. You should now be able to see and select the style in the admin area.
The style has low contrast in some places, making it difficult to read. This could negatively impact search engine rankings.
Best regards,
Frank
I've made the necessary changes in the relevant sections. You should now be able to see and select the style in the admin area.
The style has low contrast in some places, making it difficult to read. This could negatively impact search engine rankings.
Best regards,
Frank
My
- fraenkiman
- FlatPress Coder
- Posts: 497
- Joined: Thu Feb 03, 2022 7:25 pm
- Location: Berlin, Germany
- Contact:
Re: New style for Leggero theme: Stringendo Dark
Hi eagleman,
I actually have a suggestion for you—or rather, for the AI:
Depending on the browser or system color scheme, the color palette should be light or dark.
This could be achieved using a media query:
This way, the visitor would get the best of both worlds (day, night), depending on the device’s settings.
Just a suggestion: I enabled this on my blog. Now, visitors using a light theme see the original Stringendo style, while those using a dark theme see "Dark Mode".
Please don’t forget to let me know whether the patch I mentioned helped or not. WineMan has already replied that the patch fixed the issue.
Best regards,
Frank
I actually have a suggestion for you—or rather, for the AI:
Depending on the browser or system color scheme, the color palette should be light or dark.
This could be achieved using a media query:
Code: Select all
:root {
/* Let form controls follow the active browser/system palette */
color-scheme: light dark;
...
}
@media (prefers-color-scheme: dark) {
...
}Just a suggestion: I enabled this on my blog. Now, visitors using a light theme see the original Stringendo style, while those using a dark theme see "Dark Mode".
Please don’t forget to let me know whether the patch I mentioned helped or not. WineMan has already replied that the patch fixed the issue.
Best regards,
Frank
My
Re: New style for Leggero theme: Stringendo Dark
Ok, it's a nice idea, but where have i to add the query?fraenkiman wrote: Sun Mar 22, 2026 9:21 pmThis way, the visitor would get the best of both worlds (day, night), depending on the device’s settings.Code: Select all
:root { /* Let form controls follow the active browser/system palette */ color-scheme: light dark; ... } @media (prefers-color-scheme: dark) { ... }
Just a suggestion:
prefers-color-scheme_dark.png
- fraenkiman
- FlatPress Coder
- Posts: 497
- Joined: Thu Feb 03, 2022 7:25 pm
- Location: Berlin, Germany
- Contact:
Re: New style for Leggero theme: Stringendo Dark
Hello eagleman,
The easiest way is to place the media query at the end of the CSS file. Within the media query, you include the rules that override those above it.
So, for example, if the CSS file starts with #cpmain { white }, then #cpmain { black } goes inside the media query.
When the visitor’s device signals @media (prefers-color-scheme: dark), #cpmain { black } is selected.
An example with body[class^="admin-"] .entry Feel free to use and customize the style I’ve adapted. The style accounts for light/dark modes for both the frontend and the admin area. I’ve made it available via the wiki.
To test it, select “Light” or “Dark” in your browser settings. Alternatively, you can adjust the setting in your operating system.
Best regards,
Frank
The easiest way is to place the media query at the end of the CSS file. Within the media query, you include the rules that override those above it.
So, for example, if the CSS file starts with #cpmain { white }, then #cpmain { black } goes inside the media query.
When the visitor’s device signals @media (prefers-color-scheme: dark), #cpmain { black } is selected.
An example with body[class^="admin-"] .entry Feel free to use and customize the style I’ve adapted. The style accounts for light/dark modes for both the frontend and the admin area. I’ve made it available via the wiki.
To test it, select “Light” or “Dark” in your browser settings. Alternatively, you can adjust the setting in your operating system.
Best regards,
Frank
My
Who is online
Users browsing this forum: No registered users and 0 guests