Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Syntax Highlighting when editing Themes and Components
#28
sal Wrote:Would love a dark theme option, I had a quick go at jamming in Monokai and failed. Either a toggle like the demo, a setting under plugins or even a quick run through on changing it manually would be great.

Just replace the content of default.css with the styles of your preference.
If you use one of the CodeMirror themes, make sure to replace .cm-s-xxx with .cm-s-default and add the following additional lines for PHP/GetSimple functions (with your colors):
Code:
.cm-s-default span.cm-function {color: #219;}
.cm-s-default span.cm-function-2 {color: #219; font-weight:bold;}
.cm-s-default span.cm-function-3 {color: #219; font-weight:bold;}
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply


Messages In This Thread
Syntax Highlighting when editing Themes and Components - by mvlcek - 2012-05-29, 00:22:16



Users browsing this thread: 1 Guest(s)