You are not logged in.

#1 2024-02-23 21:28:28

ututo
Member
Registered: 2015-09-29
Posts: 326

BL web favicon for dark themes

Hello fellow nixers,

-- First of all, I apologize if this is not the right place to post this. Mods are free to move/delete it. --

I use a dark theme (Crunchbang) for the BL website and I notice that the favicon displayed is dark too. (See image)
dark1.png

I was wondering if it's possible to make it dynamically adapt to bright or dark themes. Or else, apply a new favicon that looks good regardless of the web browser theme. (see mockup with original, plain white, outline and rounded favicons)
dark2.png

I must admit that the bl flame is a tricky one for a favicon.

Anyways, I know this is just an aesthetic issue, not a problem at all.
So, I would like to read what do you guys think about it. Do you use light or dark themes?


BunsenLabs on deviantArt
Don't touch my git!

Offline

#2 2024-02-24 01:41:04

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 878

Re: BL web favicon for dark themes

ututo wrote:

Anyways, I know this is just an aesthetic issue, not a problem at all.
So, I would like to read what do you guys think about it. Do you use light or dark themes?

We had a similar post:
https://forums.bunsenlabs.org/viewtopic.php?id=8684

I don't mind the Hydrogen style although I like the dark theme.

You noticed well that the logo doesn't look logical with the Crunchbang style.
I agree.
You solved it easily (screenshot 2).

I haven't tried it, but I would change this part of the Crunchbang style (lines 279-282):

.logo {
  width: 300px;
  margin: 20px 0 10px 0;
}

with:

.logo {
  width: 300px;
  margin: 20px 0 10px 0;
  filter: invert(1);
}

Of course, the moderators of the site will make the decision.


If people would know how little brain is ruling the world, they would die of fear.

Offline

#3 2024-02-24 02:34:17

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,657
Website

Re: BL web favicon for dark themes

@ututo thanks for bringing this up (and this is the best place for it).

So there are two items to discuss:
1) the logo that appears at the top of forum pages
2) the favicon that a browser shows on a tab, or favourite in a menu

Both are almost invisible with dark themes, and both have been bothering me for some time.

For 2) I was playing with simply adding a grey circle behind the dark flame in the icon. That would be enough to make it visible on both dark and light themes. I ran into issues with my total incompetence using inkscape, so set it aside until I had time to study up. Meanwhile, if another user felt like making a replacement favicon, that would of course be very welcome! (@ututo?) I can very easily add it to the website code. (It wants an .svg image, which is converted to .png when the site is built.)
EDIT: @ututo I now see your "rounded" icon which is almost what I was trying to make. Maybe a light grey circle would be softer looking, and visible on white or black backgrounds?

For 1) It looks to me (without actually trying) that @marens' css suggestion ought to work if applied to a new dark css theme based on Crunchbang colours. (The last time I was coding css there was no such property as filter  roll )
EDIT: @marens I just tried your css filter on a BL forum page via firefox's code inspector, and it works perfectly. cool That should be added to the Crunchbang (and any other dark theme) css, whatever else happens.

Unfortunately we can't just make Crunchbang the default as it is because of layout issues on small screens: https://forums.bunsenlabs.org/viewtopic … 55#p129655

Last edited by johnraff (2024-02-24 02:42:36)


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#4 2024-02-24 03:16:51

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 878

Re: BL web favicon for dark themes

johnraff wrote:

@marens I just tried your css filter on a BL forum page via firefox's code inspector, and it works perfectly. That should be added to the Crunchbang (and any other dark theme) css, whatever else happens.

I saw this at the last minute.
I have already prepared a new post where I gave you advice to try anyway.

Last edited by marens (2024-02-24 03:26:29)


If people would know how little brain is ruling the world, they would die of fear.

Offline

#5 2024-02-24 05:00:40

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,657
Website

Re: BL web favicon for dark themes

So that's issue 1) fixed anyway, thanks @marens!
Adding it to the forum code means directly editing the forum software on the server, so I'll need a couple of days to make sure it's done cleanly.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#6 2024-02-24 12:25:55

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 878

Re: BL web favicon for dark themes

^ I've been using a customized favicon in userChrome.css for a long time.

You can see it in my old screenshots:
https://forums.bunsenlabs.org/viewtopic … 57#p129557

I forget, but I probably used @utut's original logo as a base.
I just changed the color of the flame a bit.

It is a PNG image 180x180.
You can easily resize the image to 16x16.

* Right click on the image > Save Image As...

bunsenlabs.png

Last edited by marens (2024-02-24 13:24:50)


If people would know how little brain is ruling the world, they would die of fear.

Offline

#7 2024-02-24 16:26:07

ututo
Member
Registered: 2015-09-29
Posts: 326

Re: BL web favicon for dark themes

Okay. I was playing with Inkscape and I think I have found the solution to the favicon problem.

Following your suggestions (thank you @johnraff / @marens)  I think it looks pretty good on both light and dark themes of a few web browsers I tested.

this is the result:
bunsen-favicon-test.png

The idea is to use a neutral colour for the flame. So, I have applied a gray ( RGB #9598a2 ) colour and increased the thickness of the bunsenlabs logo.

it's a 32x32 .svg file. You can find it in my github [link]


BunsenLabs on deviantArt
Don't touch my git!

Offline

#8 2024-02-24 18:29:19

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 3,871

Re: BL web favicon for dark themes

I use this add-on in Firefox.  Doesn't change the favicon in the bookmarks, just on the tab.

https://addons.mozilla.org/en-GB/firefo … ustomizer/


"All we are is dust in the wind, dude"
                                       - Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
                                       - Wayne Campbell

Offline

#9 2024-02-24 18:36:54

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 878

Re: BL web favicon for dark themes

@ututo

Yes.
It looks very nice.

ututo wrote:

Okay. I was playing with Inkscape ...

Same here.
I made bl-favicon_circle1.svg and bl-favicon-circle2.svg.

Of course I used your logo for the flame.
https://workupload.com/file/kFzxQPDvxaK

I like to add a little color to tabs and menus.


If people would know how little brain is ruling the world, they would die of fear.

Offline

#10 2024-02-25 06:03:01

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,657
Website

Re: BL web favicon for dark themes

Thanks to @ututo and @marens!

At first, like marens, I was looking at adding a circle background to make the flame visible, but ututo's grey flame looks nice in both light and dark themes, so let's use that. The neutral grey should not clash with any user's colour scheme.

EDIT: only one thing, @ututo I wonder if you could make a 48x48 version of that flame? That's the size of the current image. I know it's not that important for svg images, but just to keep changes to a minimum.

EDIT2: Sorry, but I've just hit an issue. The grey icon is fine with either light or dark backgrounds, but of course it becomes less visible on a grey background, as I have in the Firefox active tab. I imagine grey backgrounds will exist here and there on other peoples' machines.

I think we'll need to add a background to the flame in order to guarantee it will be visible anywhere. I guess a circle would be the least annoying shape?

Colours? Existing black on grey background? Grey on black or white background?

Here's how ututo's grey flame looks on my active tab:
9h943Vw.png

And marens' bl-favicon-circle2:
Umv1zXo.png

Last edited by johnraff (2024-02-27 02:52:53)


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#11 2024-02-25 06:58:02

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 3,871

Re: BL web favicon for dark themes

What I did back in AL days was to use a blue AL logo.  It stood out quite nicely on both light and dark themes. 

The yellow one or a variation of the colour @marens uses would be nice I suppose?


"All we are is dust in the wind, dude"
                                       - Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
                                       - Wayne Campbell

Offline

#12 2024-02-25 08:36:45

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,143
Website

Re: BL web favicon for dark themes

I'll recolor this, choose the hex code...

https://github.com/BunsenLabs/bunsen-im … /flame.svg

I'd love if we used this updated branding as a replacement the forum header, choose the hex code...

https://github.com/BunsenLabs/bunsen-im … e-grey.png

Works with a light background as well...

https://raw.githubusercontent.com/Bunse … e-grey.png

This would work "as is" for the favicon?

https://linuxrocks.online/system/accoun … 063981.png


I don't care what you do at home. Would you care to explain?

Offline

#13 2024-02-25 13:45:00

Robi
Member
Registered: 2024-01-30
Posts: 43

Re: BL web favicon for dark themes

Waterfox / FF  with extension Color Changer  may help locally for the time being.
BL Display Style: Crunchbang in Nyxt (left) as well.

CmlHQXCl.png

Last edited by Robi (2024-02-25 13:49:08)


...Welcome to the family...

Offline

#14 2024-02-25 15:34:45

ututo
Member
Registered: 2015-09-29
Posts: 326

Re: BL web favicon for dark themes

I can do a 48x48, no problem.
I really like the @marens' concept with the circle background.
We should reach an agreement on what colours to use. Some people like  b&w, some grey, some teal blue, etc.
I, for example, don't like the yellow one, but I've to admit that colour would outstand on every tab, plus it will be consistent with the BL Home webpage design.

Maybe bunsenlabs should have a distinct colour branding like openSUSE or ubuntu do. Somthing like that would be cool...idk.

Anyways, I will play with some circle and square mockups and show them to you


BunsenLabs on deviantArt
Don't touch my git!

Offline

#15 2024-02-25 16:34:34

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 878

Re: BL web favicon for dark themes

I agree with @ututo.

It is impossible to please everyone.
Tastes are different and that cannot be changed.

Today I created two new BL favicons (SVG 48x48) with a transparent (10%) yellow background.
One is a circle and the other with rounded corners.
I think they look good:

bl-favicons.png

You can download them here:
https://workupload.com/file/VRzxs5FzkXL

I will stop here because there is no reason to continue.

ututo wrote:

Some people like  b&w, some grey, some teal blue, etc.

Last edited by marens (2024-02-25 16:54:11)


If people would know how little brain is ruling the world, they would die of fear.

Offline

#16 2024-02-26 05:37:00

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,657
Website

Re: BL web favicon for dark themes

ututo wrote:

I really like the @marens' concept with the circle background.

That's the only way to guarantee the favicon will be visible anywhere.

We should reach an agreement on what colours to use. Some people like  b&w, some grey, some teal blue, etc.
I, for example, don't like the yellow one, but I've to admit that colour would outstand on every tab, plus it will be consistent with the BL Home webpage design.

I'm not fond of that yellow either (nor on the home page for that matter) so there's two of us, but other people seem to like it.

marens wrote:

It is impossible to please everyone.
Tastes are different and that cannot be changed.

This. We just have to try to minimize the annoyance...

Today I created two new BL favicons (SVG 48x48) with a transparent (10%) yellow background.
One is a circle and the other with rounded corners.

Thanks! Personally, I think I prefer a complete circle, but maybe that means the flame has to be smaller? Rounded corners is an interesting idea too.

Matching the favicon with the website colours makes sense, and I certainly don't feel like doing a complete graphics makeover of the home page right now, so that's an argument for that sickly yellow... roll

@Robi we're really looking for a server-side fix here, but that Color Changer looks useful anyway.
---

hhh wrote:

I'd love if we used this updated branding as a replacement the forum header, choose the hex code...
https://github.com/BunsenLabs/bunsen-im … e-grey.png

Ah I see that's not only a different colour but also the flame is coming from the candlestick 'l'.
If that's visible on - and doesn't clash with - all the available forum styles, then substituting that one image file would be just as easy a fix for the forum header visibility as the css colour-reverse line for dark themes.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#17 2024-02-26 05:38:38

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 3,871

Re: BL web favicon for dark themes

I don't like the yellow either, but a flame sometimes is yellow so it sort of ties in.

Maybe we need a major colour used in the default wallpaper as the flame colour?


"All we are is dust in the wind, dude"
                                       - Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
                                       - Wayne Campbell

Offline

#18 2024-02-26 07:17:50

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,657
Website

Re: BL web favicon for dark themes

^That's a thought too - change the favicon colour each release to match the main desktop colour? It wouldn't be that hard.
(Restyling the whole website front page to match eg Boron-dark would be an order of magnitude more work though.)


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#19 2024-02-26 07:36:10

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 3,871

Re: BL web favicon for dark themes

A cool idea to match the website colours to the colourscheme of the OS.


"All we are is dust in the wind, dude"
                                       - Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
                                       - Wayne Campbell

Offline

#20 2024-02-26 08:29:59

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,657
Website

Re: BL web favicon for dark themes

^Very appealing, but I think it might be more work than it's worth. The website looks fairly nice as it is (despite that yellow...)

Last edited by johnraff (2024-02-26 08:37:20)


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

Board footer

Powered by FluxBB