Accessory

Archived
Forum
(read-only)

ThEEditor

ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Visible

     

Accessibility - screen options

Support Request

DCalabrese
DCalabrese

Hi This is a great add-on!!  Is it possible for you to offer the option of a white instead of black background?
Thanks Chris

Gilg
# 1
Developer
Gilg

This add-on does need a simple settings form, and I’m looking at integrating something like that in the future.  In the meantime, you’ll be happy to know that there are quite a few themes that come with the editor.  To change what color scheme you use, you’ll need to edit the “$theme” value in acc.theeditor.php:

    /*
    * The $theme variable lets you choose the editor color
    * theme.  ‘pastel_on_dark’ is our default, but the available
    * themes are:
    *
    * clouds, clouds_midnight, cobalt, dawn, eclipse, idle_fingers,
    * kr_theme, merbivore, merbivore_soft, mono_industrial, monokai,
    * pastel_on_dark, twilight, vibrant_ink, textmate
    *
    */
    var $theme             = ‘pastel_on_dark’;


Try ‘clouds’, ‘text_mate’, or ‘eclipse’.

-Matt

Atle
# 2
Atle

Hmm, if the themes are controlled by the js-files in the assets-folder: there’s a few missing… ‘text_mate’ is one. But ‘eclipse’ looks great!

Gilg
# 3
Developer
Gilg

Oops - ‘textmate’ is what you want - it is built-in. (you won’t need a custom theme file for that one to work)

Be sure and let me know if you find any other naming errors I need to fix.

Many thanks,
-Matt