Atom-script: How to change "font type" and "font size" in the output window after run script?

Created on 7 Sep 2017  路  2Comments  路  Source: atom-community/atom-script

The output font is different from the codes above. Is there some method can do this? Thanks.

Most helpful comment

I had the same problem too. For the time being, I just decided to override the CSS.

1) Go to Settings
2) Click on "Open Config Folder"
3) Open "styles.less"
4) Add:

div.panel-body.padded pre {
  font-family: Inconsolata, sans-serif; // set to whatever font you want
  font-size: 16px; // set to whatever font size you want
}

Hope this helps.

All 2 comments

I had the same problem too. For the time being, I just decided to override the CSS.

1) Go to Settings
2) Click on "Open Config Folder"
3) Open "styles.less"
4) Add:

div.panel-body.padded pre {
  font-family: Inconsolata, sans-serif; // set to whatever font you want
  font-size: 16px; // set to whatever font size you want
}

Hope this helps.

Same. I opened the "styles.less" and edited the css for .style-view{}

.script-view {
.panel-body pre {
font-size: 15px;
font-family: @font-family;
background: @tool-panel-background-color;
color: @text-color;
}

Was this page helpful?
0 / 5 - 0 ratings

Related issues

levani picture levani  路  4Comments

ChenZhongPu picture ChenZhongPu  路  3Comments

haollhao picture haollhao  路  6Comments

seethroughtrees picture seethroughtrees  路  4Comments

stwykd picture stwykd  路  6Comments