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

Add small font size variable #46925

Merged
merged 2 commits into from
Aug 1, 2024
Merged

Conversation

marcoambrosini
Copy link
Member

No description provided.

@marcoambrosini marcoambrosini added this to the Nextcloud 30 milestone Jul 31, 2024
@marcoambrosini marcoambrosini self-assigned this Jul 31, 2024
@marcoambrosini marcoambrosini marked this pull request as ready for review July 31, 2024 15:31
@Antreesy
Copy link
Contributor

feat: add small font size variable

This is needed to create a bit more hyerarchy between more important
and less important text. For example for the talk conversation
description in the header or in NcListItem's "subname"

Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
@marcoambrosini marcoambrosini force-pushed the feat/add-small-font-size-variable branch from 50909f3 to 9855485 Compare July 31, 2024 18:02
@@ -49,6 +49,7 @@
--color-border-maxcontrast: #7d7d7d;
--font-face: system-ui, -apple-system, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, Ubuntu, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
--default-font-size: 15px;
--font-size-small: 13px;
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe use 12px as that is the currently smallest font size we need to use (and fits the grid baseline)

Copy link
Member Author

Choose a reason for hiding this comment

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

It seemed too small compared to the default one and looked odd when both are used in the same component (e.g.) Line and subline. I think we should bring all the 12px instances up to 13 for now.

@Antreesy Antreesy merged commit c93bd56 into master Aug 1, 2024
169 checks passed
@Antreesy Antreesy deleted the feat/add-small-font-size-variable branch August 1, 2024 07:20
@blizzz blizzz mentioned this pull request Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews enhancement
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants