Giter Club home page Giter Club logo

Comments (7)

MiguelCastillo avatar MiguelCastillo commented on August 29, 2024

Ah, this is funny you are bringing this up. I was working with one fellah and he had added the ability to set the line height. We ran into problems where brackets will set line heights in pixels causing font sizes to get out of sync when they are set in Themes. Currently, line height is at 1.3em default. Let me think about this for a minute. I am leaning towards adding the setting back in, but keeping it detached from Brackets line height pixel settings.

from brackets-themes.

MiguelCastillo avatar MiguelCastillo commented on August 29, 2024

Hey @hkongm, one our fine contributors has just added a field to set the line height. #49
Let me know if this would work for ya.

from brackets-themes.

hkongm avatar hkongm commented on August 29, 2024

It's done. thanks.

from brackets-themes.

jesuscmd avatar jesuscmd commented on August 29, 2024

English: Hi!!! It's true, its so easy, its like configure a text in web, i writed these settings in brackets.min.css, the zoom is quite ugly and hard to read, in order to resolve it, I set two styles properties: font-weight: 100!important; and line-height:1.6, this makes clear and easy to read!!!!

Español: Hola, el zoom de Brackets es muy malo, para resolverlo edité el archivo brackets.min.css, y edité .CodeMirror en la carpeta www/styles con los siguientes estilos, la clave es el peso de la fuente font-weight: 100!important;:

.CodeMirror {
line-height:1.6;
 font-family:"SourceCodePro-Medium","MS ゴシック","MS Gothic",monospace;//like sublime text
 font-weight: 100!important; //this make the text clear and easy to read!
}

These are the results:

screen-shot-2015-10-30-at-12 09 38-pm

This is easier to read than the brackets zoom default:
feo

from brackets-themes.

MiguelCastillo avatar MiguelCastillo commented on August 29, 2024

@jesuscmd Yup, I saw that in the Brackets post. I will post back in that thread. BTW, it would be easier if you had referenced this issue in the other thread instead of copying the content of the message. That helps because you can navigate between both conversations by clicking on a link :)

from brackets-themes.

montagnez avatar montagnez commented on August 29, 2024

Resolve the problem :

1 - go to : AppData\Roaming\Brackets\extensions\user\FolderExtention

2 - Go to newtondark.css for example for me.

3 - add this line :

.CodeMirror {
line-height: 1.6;
}

4 - Be happy !

from brackets-themes.

MiguelCastillo avatar MiguelCastillo commented on August 29, 2024

https://github.com/MiguelCastillo/Brackets-LineStyle

from brackets-themes.

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.