New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Safari CSS gradient bug #14311 #14938
Conversation
|
Thank you for opening this PR! We appreciate you! For all pull requests coming from third-party forks we will need to A Forem Team member will review this contribution and get back to |
|
Apologies, was updating the last PR and didn't realise that if I force-pushed then git would no longer be able to track it in the same PR. @ludwiczakpawel I addressed the points you made here: #14893 (review) I would have liked to use the premade colours with opacity, but the base values I was working with were already flat variants based off base colours with some transparency. They could not be used like that because they were being used for a fade overlay and had to transition from totally opaque to transparent. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
@aitchiss Thanks so much for testing this 🙏 I tried to set the repo up locally, but ran into lots of errors. Since it was a simple change, I thought I could pull it off without making mistakes but here we are. Just needed to change once var ref to process the new color with |
|
Looks like some of the tests are failing with e.g. I had a quick check locally and it seems like in sass when you pass a CSS variable to We can work around it by using |
|
@aitchiss Wow, thank you for being so patient and helpful. Your kindness motivated me to spend a couple of hours working out the install errors and getting forem set up locally. The fix you found works well and everything seems ok now. I wasn't able to get authentication set up locally to create a user and change themes, but changing the variables directly to test on pasted-in content looks good: |
@valtism you should be able to login with Also, kudos for installing forem locally!! 🙌 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking great ✨ I checked each theme in Chrome/Safari/Firefox and it all looks great to me - nice work!
Glad to hear you got Forem up and running locally like Pawel mentioned you should then be able to log in with:
username: admin@forem.local
password: password
If you have any difficulty though, don't hesitate to let us know - hopefully having your environment set up now will be useful for future PRs 😉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix @valtism! 🚀





What type of PR is this? (check all applicable)
Description
Transition to a transparent version of the same background color with
no opacity so that safari transitions through correctly.
Switch all --story-comments-bg themes to hexadecimal, fixes no fade bug
in "Pink" theme.
Related Tickets & Documents
Closes #14311
QA Instructions, Screenshots, Recordings
Please see the linked issue for screenshots of the issue and how it should look with this fix.
Added/updated tests?