Skip to content
This repository has been archived by the owner on Feb 26, 2021. It is now read-only.

use user editor font information #85

Open
ghost opened this issue Mar 5, 2019 · 4 comments
Open

use user editor font information #85

ghost opened this issue Mar 5, 2019 · 4 comments
Labels
enhancement Reimplement in Reasonml To be reimplemented and fixed in Reasonml

Comments

@ghost
Copy link

ghost commented Mar 5, 2019

I’m one of those crazy weirdos who happen to prefer to write programs in a proportional typeface. It would be really cool if the package could respect the font I chose for my editor.

I was able to do this myself by having the following in my styles.less file, but I feel like it would be preferable if this was done by the package itself.

.agda-body-container
{
	font-family: var(--editor-font-family) !important;
	font-size: var(--editor-font-size) !important;
	line-height: var(--editor-line-height) !important;
}
@banacorn banacorn added enhancement Reimplement in Reasonml To be reimplemented and fixed in Reasonml labels Mar 6, 2019
@banacorn
Copy link
Owner

banacorn commented Mar 6, 2019

Wow I don't know we can do this!

@banacorn
Copy link
Owner

@Zambonifofex I'm rewriting the stylesheet and basing the constants on these variables. But as for --editor-line-height I can't find any way to change and test it. Do you know how to change them?

@ghost
Copy link
Author

ghost commented Apr 17, 2019

It’s in the editor configurations. The setting is called “line height”. (Very offputtingly, settings in Atom are ordered alphabetically, so related settings are not grouped together.)

@banacorn
Copy link
Owner

Ahh, I see! Thanks for the prompt reply 😊

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Reimplement in Reasonml To be reimplemented and fixed in Reasonml
Projects
None yet
Development

No branches or pull requests

1 participant