Changed the application fonts #756
Labels
No labels
_CRITICAL_
API
app
backEnd
Blocked-waiting-for-further-changes
bug
bug-only-on-server-for-mobile-not-webpage
Bug-Report-After-Merge
cleanup
close
design
duplicate
enhancement
feature request
frontEnd
further-changes-needed
future-problem-not-fixint-this-period
help wanted
invalid
last-week-issue-to-fix
library
low-priority
needs input
needs review
not-implemented.
project documentation
question
research
reviewed
Script
security
SQL
style
Team 1
Team 2
team leaders
test-creation
testing
topLevel
unassigned
Under-review
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Andras/BoundlessFlowCampus2K!756
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "615-change-fonts"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I changed the "default font" of the page to Arial, as stated in the webpage design from the wiki. I also removed unnecessary css that added the font to different components. As it already is in body, you only need to set the font of a component if you want to override the default.
It also says in the webpage design that "headlines" should use a serif font. As headlines is a bit abstract, I have added this font to card titles and the heading of the settings page as a test. Please tell me what you think about it!
In my honest opinion, I think using the serif font looks bad and that it is a case of HIS website standards being outdated, since not even his.se uses the stated fonts (other than in the logo).
If we decide to move forward with serif fonts, the font of the page header should probably be changed as well.
Changed the sans font and added a serif font to card titles and settings pageto Changed the application fontsFor the curious one, here is a comparison between the old font, IBM Plex Sans, and the new font, Arial

The font currently used on the his.se website is a google font called open sans
Have done a quick scan over the code, and looks good to me...
I will now pull it down to do a proper review.
As a clarification: this is not ready to be merged, but just a test of the different fonts from the webpage design from the wiki. If we like the serif font, it should be added to more "headlines"
Review on issue #615 / PR #756
Whats done
Tested on CachyOS (Arch Linux) with Brave browser, and Firefox.
Inspected the following files
frontend/src/app/theme.css:
frontend/src/components/Button/Button.css,
frontend/src/components/HamburgerMenu/HamburgerMenu.module.css,
and frontend/src/components/Stylings/Components.css:
frontend/src/components/Card/Card.module.css, and frontend/src/pages/Settings.module.css
What needs to be done
A small fix to follow the Coding Convention for CSS. The font variable, when declared in theme.css, should have all font names surrounded by quotation marks.
From that:
To this
Besides that, I agree with @b23albst that some other font may have worked better. But all that is meant to be achieved within the scope of the issue is done.
Conclusion
Once the small problem is fixed, it can be merged.
After discussion with the team leader, we decided to remove the serif style font, as it looked bad. Now Arial will be used as the default font for the whole application
Review on #615
Whats done
Removed the serif font and applied previous feedback
Tested on windows using Chrome
Inspected following files
frontend/src/components/HamburgerMenu/HamburgerMenu.module.css,
and frontend/src/components/Stylings/Components.css:
What needs to be done
Unsure if the change from ' to " around the fonts can be applied, so will mark it as finished.
Conclusion