# Discourse Larger Font Theme

**URL:** <https://meta.discourse.org/t/discourse-larger-font-theme/62083>\
**Category:** Feature\
**Created:** [4 Maggio 2017, 12:38am UTC](https://meta.discourse.org/t/discourse-larger-font-theme/62083 "2017-05-04T00:38:13Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)\
**Post date:** [4 Maggio 2017, 12:38am UTC](https://meta.discourse.org/t/discourse-larger-font-theme/62083/1 "2017-05-04T00:38:13Z")

</div>

Continuing the discussion from [We need a "large fonts" and "small fonts" theme to ship with Discourse](https://meta.discourse.org/t/we-need-a-large-fonts-and-small-fonts-theme-to-ship-with-discourse/60879):

Discourse CSS, is perhaps not as simple as it might be.  
SCSS gets compiled into CSS which IMHO is a good thing that helps to reduce redundant declarations.  
_This Theme deals specifically and solely with CSS intended to increase font size._  
One complicating factor is that existing font-size declarations have different length units. Some are pixels, others percentage and others em.  
_I have a personal dislike of using pixels for font size and therefore am using em units_  
A problem with calculated values is that they are based on parent elements. i.e. the Cascading of CSS. Thus a change in one place can affect the display of other content, at times, less than ideally.  
Another concern with CSS is _specificty_, selectors may be eg. elements, classes, ids, etc. Higher specificity selectors “win out” over lower specificity selectors.  
_I have a personal dislike of using `!important` and have avoided using it to override higher specificity selectors_

The Theme CSS so far uses only the arbitrary declaration  
`font-size: 1.2em;`  
My thought being that a 20% increase over the normal font-size would meet vision related accessibility guidelines.

I will be exploring the “nooks and crannies” of Discourse in hopes of finding anything I may have missed, but I welcome comments and any “heads up” from others regarding the Theme which can be found at

> <https://github.com/Mittineague/discourse-larger-font-theme/blob/master/desktop/desktop.scss>

---

_[View the full topic](https://meta.discourse.org/t/discourse-larger-font-theme/62083)._
