radicle-dev / radicle.xyz-old

The website

Home Page:https://radicle.xyz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Titles aren't showing up on firefox

juliendonck opened this issue · comments

Works on brave and safari :(

Screenshot 2021-07-14 at 11 50 17

I see the title on all browsers. Looks like you just have the text selected in this screenshot.

image

I can confirm Mr Brandon's observation. I can see titles on my Firefox instance. And that green "stuff" is from Firefox's selection overlay. (Their new theme has made it green from blue).

@brandonhaslegs

Sir, can I request a reopening of this issue?
@juliendonck May I please know which firefox edition you were using and did you get an error in the console stating that the font was rejected by Sanitizer?

I wanted to visit the website for a design reference and was greeted with this (repeatedly):
image

Browser Used: Firefox Developer Edition

And now, I understand why @juliendonck had selected the titles (The green overlay):
image

@brandonhaslegs
Sir, on another review, it is not an issue with the font since that (F) is trying to show up and if I scroll below, starting letters from other titles are partially showing up too.

This seems to be an issue with the Blending Mode. Like, the mix-blend-mode property.

Reopened, feel free to see if you can find a fix. I haven't looked at it in Developer Firefox.

@brandonhaslegs

So, you have specified a Background rather than an actual colour and then, clipping the background to just text, to achieve the desired Gradient Effect. But, turns out that the gradient you have specified is not the one you may have wanted.

From your Figma File:

  • The gradient you wanted:
    image

  • And the Gradient you have specified:
    image

The reason this gradient is converted to the other one is that you are using mix-blend-mode with exclusion. [Which is basically what Figma showed].

If you try to disable the mix-blend-mode, here is the text you get:
image

Now, this colour is appropriate and is what you should get since that is the actual gradient that you have specified.

Now, I tried to copy your Figma file to generate the correct gradient:
Here is the link

Here is the result (From Figma File) (Gradient is close to the actual, desired gradient):
image

image

And here is the gradient applied in an actual firefox developer edition window:
image

(PS: The text can be brought forward, the right way using positioning)

Also, thank you @brandonhaslegs
I am learning new stuff due to this issue. :)

But we want to use the mix blend mode on the titles, so the color specified has to be the opposite of what color you want. This is so you get that effect of the letters overlapping the images.
image

Yes, I got that. But, due to some issues, exclusion is not working on Firefox. We can still bring the text forward.

I shall explore further and let you know if I find a workaround.

@brandonhaslegs

The issue has been fixed in the latest Firefox Developer Version.
image