Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change the background color in Google script editor

I wonder is it possible now to change theme in script editor from white to dark background. If not how to make Google make it.

like image 375
user2939722 Avatar asked Oct 31 '13 01:10

user2939722


4 Answers

If you are using Google Chrome, you can add the AppsScript Color extension. It has two dark color schemes to choose from.

like image 94
Stevie Howard Avatar answered Oct 19 '22 20:10

Stevie Howard


Go to the code editor -> click inspect -> find the element that contains the code -> find css background -> add property background-color:#ccc; or whatever color you want -> done -> works every browser

like image 28
AHeraldOfTheNewAge Avatar answered Oct 19 '22 19:10

AHeraldOfTheNewAge


The new Apps Script IDE in 2021 has a built-in 'high contrast mode' which makes the editor background black.

To enable: Press F1 > search for High Contrast Theme

Source: https://www.benlcollins.com/apps-script/google-apps-script-ide/#highContrastTheme (some other great tips in there too)

like image 1
Windmill Avatar answered Oct 19 '22 19:10

Windmill


Another option is to set chrome to use auto dark mode. chrome://flags (or edge://flags) 'Auto Dark Mode for Web Contents' - There are a couple options. I prefer 'Enabled with increased text contrast'

It's a good middle ground between AppScript Color Extension's Dracula (not enough contrast) and Monokai (too much contrast) options. It affects ALL WEB PAGES though.

like image 1
j0lly_Rog3r Avatar answered Oct 19 '22 18:10

j0lly_Rog3r