Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

'font-size' in atom-workspace #14466

Closed
1 task done
binhonglee opened this issue May 17, 2017 · 2 comments
Closed
1 task done

'font-size' in atom-workspace #14466

binhonglee opened this issue May 17, 2017 · 2 comments

Comments

@binhonglee
Copy link

Prerequisites

Description

There are no option to set the font-size for atom-workspace (everything outside of atom-text-editor) unless you use a theme that supports those changes (like Atom Material UI or One Dark UI ). Setting 'font-size' in atom-workspace does not change anything while setting 'font-family' changes it for most themes.

The current workaround taken from the forum is to do the following each time you change a theme and see if it works with that theme.

.theme-atom-material {
    font-size: 20px;
}

Felt like the interaction is pretty confusing at this point.

Steps to Reproduce

  1. Open styles.less
  2. Set 'font-size' for atom-workspace
atom-workspace {
    font-size: 15px;
}
  1. Save styles.less
  2. Change the 'font-size' value
atom-workspace {
    font-size: 20px;
}
  1. Save styles.less

Expected behavior: The workspace font size changes according to the value set.

Actual behavior: Nothing happens

Reproduces how often: Everytime

Versions

Atom : 1.17.0
Electron: 1.3.15
Chrome : 52.0.2743.82
Node : 6.5.0

OS info:

Operating System : Linux Mint 18.11 Cinnamon 64-bit
Cinnamon Version : 3.2.7
Linux Kernel : 4.4.0-57-generic

Additional Information

@simurai
Copy link
Contributor

simurai commented May 18, 2017

Currently there isn't an easy way to change the font size outside of atom-text-editor. Some options:

Until then individual elements need to be overridden in your style.less file. Here two related issues:

#3636
#2530

@simurai simurai closed this as completed May 18, 2017
@lock
Copy link

lock bot commented Apr 1, 2018

This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

@lock lock bot locked and limited conversation to collaborators Apr 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants