Code Monkey home page Code Monkey logo

Comments (4)

defunkt avatar defunkt commented on September 28, 2024

The font size can only be changed using Atom's config since calculations are based on it - it's unfortunately not as simple as changing the size in CSS. This might make a good Zen config option in the future but for now you need to adjust the font by hand whenever you enter/exit zen mode.

You can however change the font face:

.zen .editor {
  font-family: "Avenir Next";
}

from zen.

rebrimhall avatar rebrimhall commented on September 28, 2024

Thanks for the font setting. Works perfectly. 

Sorry for another question, but it seems like text is not wrapping at the 80 line setting for soft wrap but is continuing and hidden. Not sure how to adjust for this. 


Sent from mobile

On Mon, Mar 10, 2014 at 9:17 PM, Chris Wanstrath [email protected]
wrote:

The font size can only be changed using Atom's config since calculations are based on it - it's unfortunately not as simple as changing the size in CSS. This might make a good Zen config option in the future but for now you need to adjust the font by hand whenever you enter/exit zen mode.
You can however change the font face:

.zen .editor {
  font-family: "Avenir Next";
}
---
Reply to this email directly or view it on GitHub:
https://github.com/defunkt/zen/issues/9#issuecomment-37257093

from zen.

linickx avatar linickx commented on September 28, 2024

👍 for a settings option.

Note for other googlers; this is now:

[data-zen="true"] {
    atom-text-editor:not(.mini) {
        font-size: 24px;
    }
}

Well, it is for me 😉

Atom: 0.201.0 | Zen: 0.14.0

from zen.

braver avatar braver commented on September 28, 2024

Yes that would work. Settings options for packages can't change values in the stylesheets, they can only apply inline styles (or mess about with changing your actual config values). So using your personal stylesheet for this is actually preferable over all other options.

from zen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.