Skip to content
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

refactor(ubilabs-logo): change size and color #655

Merged
merged 3 commits into from
Sep 24, 2020

Conversation

KatvonRivia
Copy link
Member

@KatvonRivia KatvonRivia commented Sep 23, 2020

closes #646

@@ -80,15 +80,16 @@
font-size: 10px

svg
height: emCalc(30px)
fill: $textDefault
height: remCalc(25px)
Copy link
Contributor

Choose a reason for hiding this comment

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

why rem? if the parent has font-size: 10px you can also use emCalc(25px, 10)

Copy link
Member Author

Choose a reason for hiding this comment

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

Why do you prefer that? I used rem because the size of the logo is not related to the font-size. It's not like a padding around text that should change with the font size. Maybe i should add a class to the version number, because the font-size: 10px is used only there. What do you think? 🤔

Copy link
Contributor

Choose a reason for hiding this comment

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

usually you want all the child elements to scale with the parent if you increase the parent font-size. why the version number? the parent of the logo is the .credits element?

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah, thats the problem 😄 i removed the font size from .credits it's not needed, sorry.

@KatvonRivia KatvonRivia merged commit 152009e into develop Sep 24, 2020
@KatvonRivia KatvonRivia deleted the refactor/ubilabs-logo branch September 24, 2020 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ubilabs attribution: update
2 participants