-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Let themes put their own padding to text #1059
Comments
hmm, padding looks like something that should be controlled by themes, but setting it via css wouldn't work, exported property is better.
never thought it to be stressing. How much do you want to increase it? btw nice-ace theme sounds intriguing. |
Well, it can be stressing if the gutter has a shadow or a border... I don't know of any other properties PS: I've almost finished the first theme... :) |
I think a theme should not affect editor layout, but this is just IMHO. |
I agree, themes shouldn't affect layout (order/disposition of elements) For example: it is not a theme's responsability to decide But it's a theme who must set which font to use, |
there should be a way for themes to compensate for padding space taken up by gutter shadow |
@nightwing Thanks! Yes, I think it should reset to 4px, that's the default value. |
@nightwing good work, thanks! |
The 4px padding that is applied via the
style=""
attribute is disturbing for some themes.Wouldn't it be nice to let the theme specify its own padding via CSS or an exported property?
Having the text only 4px away from the gutter is somewhat stressing, don't you think?
The text was updated successfully, but these errors were encountered: