fregante / GhostText

👻 Use your text editor to write in your browser. Everything you type in the editor will be instantly updated in the browser (and vice versa).
https://GhostText.fregante.com
MIT License
3.31k stars 117 forks source link

Allow customization of highlighted styles #156

Closed octref closed 5 years ago

octref commented 5 years ago

I'm wondering if you can add an option to allow users to configure the style of the highlighted text areas. I'd prefer a bright border rather than shadows bleeding in. Thanks!

fregante commented 5 years ago

I can't add an option for this, but you can use Stylus to override it, e.g.

[style*="rgb(0,173,238) 0 0 20px 5px inset"] {
  box-shadow: none !important; /* reset shadow */
  /* your style */
}