Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Use rgba() to set dialog background #5901

Closed
wants to merge 1 commit into from

Conversation

SimonBrandner
Copy link
Contributor

@SimonBrandner SimonBrandner commented Apr 22, 2021

Fixes #17036.

Previously we set the opacity in the theme files using a separate variable. But that seemed to cause problems because after the app was built using yarn build the variable always was 1%

This seems to avoid issues where the opacity var wouldn't be picked up by yarn build

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
@t3chguy t3chguy requested a review from a team April 22, 2021 09:52
@jryans
Copy link
Collaborator

jryans commented Apr 22, 2021

It's good to have this as a possible fix, but I'd sort of like to understand why yarn build somehow transforms that percentage to 1%...

@jryans
Copy link
Collaborator

jryans commented Apr 22, 2021

I'll spend a bit of time today and time to work out what's happening here.

@jryans jryans requested review from jryans and removed request for a team April 22, 2021 12:42
@jryans
Copy link
Collaborator

jryans commented Apr 22, 2021

Opened #5905 with my discoveries so far, seems to work if we stick to floats for opacity. @SimonBrandner, is there a version you prefer...?

@SimonBrandner
Copy link
Contributor Author

Nope, it doesn't matter and Micheal has already approved your PR anyway :D Thanks for looking into it

Closing in favour of #5905

@SimonBrandner SimonBrandner deleted the dialog-rgba branch April 22, 2021 13:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New lightbox navigation buttons shown over room buttons
2 participants