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

Quick-and-dirty corner roundness toggle #124

Merged
merged 9 commits into from
Nov 1, 2023

Conversation

wont-work
Copy link
Contributor

To keep things manageable I merged a lot of one off values into just a handful of common sizes, so some parts of the UI will look different than upstream even with the "Misskey" rounding mode.

A lot of find and replace were involved, so I definitely need another set of eyes to look over this and say what parts should be (un)rounded, marking as draft for now.

This reverts commit e0fd136.
to keep things manageable i merged a lot of one off values into just a
handful of common sizes, so some parts of the ui will look different than
upstream even with the "Misskey" rounding mode
@wont-work
Copy link
Contributor Author

i haven't found any obvious breakages (beyond the avatar thing fixed in d4d2f6f) after running this for the last day or so, and the issues i had with locales not updating fixed itself after i rebased the pr on latest develop, un-drafting this pr

@wont-work wont-work marked this pull request as ready for review November 1, 2023 20:24
@Mar0xy
Copy link
Contributor

Mar0xy commented Nov 1, 2023

(beyond the avatar thing fixed in d4d2f6f)

Does this mean it also works fine with non-square avatars

@wont-work
Copy link
Contributor Author

wont-work commented Nov 1, 2023

yep. that radius controls the avatar roundness, which gets set to 20% (edit: my local editor was on the develop branch, updated to correct value) with the .square class around line 189 (which gets applied by the square avatars setting)

@Mar0xy
Copy link
Contributor

Mar0xy commented Nov 1, 2023

I see that some 5px radiuses get set to 4px with the radius xs variable is this intended

@Insert5StarName
Copy link
Contributor

as far as i understand this is intended

@wont-work
Copy link
Contributor Author

I see that some 5px radiuses get set to 4px with the radius xs variable is this intended

yep.

To keep things manageable I merged a lot of one off values into just a handful of common sizes, so some parts of the UI will look different than upstream even with the "Misskey" rounding mode.

Copy link
Contributor

@Insert5StarName Insert5StarName left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me honestly

@Insert5StarName Insert5StarName merged commit 77c49ea into transfem-org:develop Nov 1, 2023
8 checks passed
@wont-work
Copy link
Contributor Author

Then there is also the question about boot.js and error.css where the buttons get an very high radius set wouldn't this cause issues for when the error pages show up with the buttons

those are likely the upstream values carried over from the commit reverts. i'll prolly hardcode sharkey's radius values there in a bit.

i think the stying on those pages are separate enough from the "main" misskey app that it shouldn't cause any issues either way and is just down to preference

@wont-work
Copy link
Contributor Author

nvm i took too long to write that reply

@Mar0xy
Copy link
Contributor

Mar0xy commented Nov 1, 2023

nvm i took too long to write that reply

rip

@Mar0xy Mar0xy mentioned this pull request Nov 7, 2023
@wont-work wont-work deleted the corner-radius branch November 7, 2023 22:47
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.

3 participants