Switch font-sizes to rem instead of px

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

Description of the proposal

Use rem instead of px for font-sizes throughout GitLab in order to allow users to change their browsers default size. This improves accessibility.

Reasoning:

Users can change their default font-size in their browser and by writing our font-sizes in pixels we are ignoring this ability. Here are two articles diving into this issue for those of you that are interested.

  • Users DO Change Their Font Size
  • People don’t change the default 16px font size in their browser

  • Mention the proposal in the next frontend weekly call and the #frontend channel to encourage contribution
  • Proceed with the proposal once 50% of the maintainers have weighed in, and 80% of the votes are 👍
  • Once approved, mention it again in the next frontend weekly call and the #frontend channel

/cc @jeldergl @sarahghp

Edited Jun 29, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading