Code-Editor Theme & User Config

Did anyone notice that in the latest release (or at least I just noticed it in the latest release) on a mac, you can press cmd+, and it will open user/config in the script editor and you can change the code editor themes using:

local config = require('config/default')
config.theme = require('theme/rose-pine-moon')
return config

Here’s a list of of available themes as of today:

  • theme/nomad (current default)

  • theme/catppuccin-mocha

  • theme/rose-pine

  • theme/rose-pine-dawn

  • theme/rose-pine-moon

  • theme/shades-of-purple

  • theme/shades-of-purple-super-dark

  • theme/tokyo-night

  • theme/tokyo-night-day

  • theme/tokyo-night-storm

  • theme/zed-one-dark

  • theme/zed-one-light


other options that I saw are:

local config = require('config/default')
config = {
  code = {
    fontSize = 14, -- font size in pixels
    lineHeight = 20, -- line height in pixels
    selectionCornerRadius = 1, -- corner radius of selection highlight
    executionTimeoutMs = 50, -- script execution timeout in milliseconds
  },
  theme = require('theme/rose-pine-moon'),
}
return config

I wander what other settings are out there?