Post Reply 
There is a Theme system setting variable...but...
09-12-2017, 06:44 PM
Post: #9
RE: There is a Theme system setting variable...but...
Here you go.

Note that the dark theme may have some changes before long with the RGB888 change. That needs a bit of tweaking to make it better since there can visually be more distinction with the increased color palette.

Code:

//light theme
COLOR(DefDrawingAndTextColor,0,0,0);          // default drawing and text color (black)
COLOR(DefSecDrawingAndTextColor,239,239,239); // default secondary drawing and text color (faint grey)
COLOR(DefBackgroundColor,255,255,255);        // default background (white)
COLOR(DefSecBackgroundColor,232,241,246);     // default secondary background (faint blue)
COLOR(DefSelectionColor,173,204,255);         // default selection color (blue)
COLOR(DefSecSelectionColor,194,222,254);      // default secondary selection color (faint blue)
COLOR(DefShadowColor,137,137,137);            // default shadow color (Grey 55)
COLOR(DefSecShadowColor,225,225,225);         // default secondary shadow color (Grey15)
COLOR(DefSel2Color,20,92,210);                // default selection 2 color (darker blue)
COLOR(DefSecSel2Color,70,130,227);            // default secondary selection 2 color (mid blue)
COLOR(DefDrawText2Color,181,1,38);           // default draw and text 2 color (red)
COLOR(DefSecDrawText2Color,217,66,84);        // default secondary shadow color (mid red)

//dark theme
COLOR(DefDarkDrawingAndTextColor,242,242,242); // default drawing and text color (White)
COLOR(DefDarkSecDrawingAndTextColor,33,33,33); // default secondary drawing and text color (dark grey)
COLOR(DefDarkBackgroundColor,25,25,25);        // default background (dark grey)
COLOR(DefDarkSecBackgroundColor,9,32,51);      // default secondary background (dark blue)
COLOR(DefDarkSelectionColor,29,57,75);         // default selection color (blue)
COLOR(DefDarkSecSelectionColor,23,53,70);      // default secondary selection color (faint blue)
COLOR(DefDarkShadowColor,156,156,156);         // default shadow color (Grey 55)
COLOR(DefDarkSecShadowColor,86,86,86);         // default secondary shadow color (Grey15)
COLOR(DefDarkSel2Color,88,138,180);            // default selection 2 color (darker blue)
COLOR(DefDarkSecSel2Color,40,84,120);          // default secondary selection 2 color (mid blue)
COLOR(DefDarkDrawText2Color,255,65,65);         // default draw and text 2 color (red)
COLOR(DefDarkSecDrawText2Color,170,44,44);     // default secondary shadow color (mid red)


TColor const selectionColors[(SELECTION_COLOR_COUNT*SELECTION_COLOR_COUNT_OBJ)*2]= //6 selection color options, a primary/secondary/sec-background/ and then vibrant sel 1 and 2, text2 1 and 2, and then the "dark" theme version
  {
    //primary selections
    RGB8ToTColor(254,171,160), //red
    RGB8ToTColor(254,216,151), //orange
    RGB8ToTColor(251,237,139), //yellow
    RGB8ToTColor(206,246,166), //green
    ColorDefSelectionColor,  //blue
    RGB8ToTColor(237,201,253), //purple

    //secondary selections
    RGB8ToTColor(255,184,175), //red
    RGB8ToTColor(253,220,164), //orange
    RGB8ToTColor(253,242,168), //yellow
    RGB8ToTColor(212,247,176), //green
    ColorDefSecSelectionColor, //blue
    RGB8ToTColor(240,216,251),  //purple

    //secondary backgrounds
    RGB8ToTColor(247,241,240), //red
    RGB8ToTColor(247,243,240), //orange
    RGB8ToTColor(247,247,235), //yellow
    RGB8ToTColor(240,247,240), //green
    ColorDefSecBackgroundColor, //blue
    RGB8ToTColor(247,240,247),  //purple

    //vibrant selection1
    RGB8ToTColor(215,47,25), //red
    RGB8ToTColor(255,142,0), //orange
    RGB8ToTColor(235,206,0), //yellow
    RGB8ToTColor(109,218,0), //green
    ColorDefSelectionColor,  //blue
    RGB8ToTColor(195,15,218), //purple

    //vibrant selection2
    RGB8ToTColor(235,102,84), //red
    RGB8ToTColor(253,174,74), //orange
    RGB8ToTColor(244,222,67), //yellow
    RGB8ToTColor(143,230,57), //green
    ColorDefSelectionColor,  //blue
    RGB8ToTColor(211,78,228), //purple

    //text 2 - 1
    RGB8ToTColor(0,70,213),    //red
    RGB8ToTColor(0,70,213), //orange
    RGB8ToTColor(0,70,213), //yellow
    ColorDefDrawText2Color, //green
    ColorDefDrawText2Color,  //blue
    ColorDefDrawText2Color, //purple


    //text 2 - 2
    RGB8ToTColor(211,55,55), //red
    RGB8ToTColor(211,55,55), //orange
    RGB8ToTColor(211,55,55), //yellow
    ColorDefSecDrawText2Color, //green
    ColorDefSecDrawText2Color,  //blue
    ColorDefSecDrawText2Color, //purple


    /************************************************************************/
    /*          Dark Selection shades                                       */
    /************************************************************************/

    //primary selections
    RGB8ToTColor(65,8,8), //red
    RGB8ToTColor(65,44,8), //orange
    RGB8ToTColor(69,69,33), //yellow
    RGB8ToTColor(10,59,8), //green
    ColorDefDarkSelectionColor,  //blue
    RGB8ToTColor(50,19,77), //purple

    //secondary selections
    RGB8ToTColor(53,7,7), //red
    RGB8ToTColor(53,35,5), //orange
    RGB8ToTColor(59,59,26), //yellow
    RGB8ToTColor(7,49,6), //green
    ColorDefDarkSecSelectionColor, //blue
    RGB8ToTColor(42,13,67),  //purple

    //secondary backgrounds
    RGB8ToTColor(32,9,9), //red
    RGB8ToTColor(42,28,2), //orange
    RGB8ToTColor(49,49,21), //yellow
    RGB8ToTColor(5,41,4), //green
    ColorDefDarkSecBackgroundColor, //blue
    RGB8ToTColor(30,8,49),  //purple

    //vibrant selection1
    RGB8ToTColor(200,56,56), //red
    RGB8ToTColor(202,135,21), //orange
    RGB8ToTColor(222,220,91), //yellow
    RGB8ToTColor(72,245,65), //green
    ColorDefDarkSel2Color,  //blue
    RGB8ToTColor(166,78,243), //purple

    //vibrant selection2
    RGB8ToTColor(139,37,37), //red
    RGB8ToTColor(143,100,26), //orange
    RGB8ToTColor(157,156,65), //yellow
    RGB8ToTColor(52,158,48), //green
    ColorDefDarkSecSel2Color, //blue
    RGB8ToTColor(105,48,154),  //purple

    //text 2 - 1
    RGB8ToTColor(62,85,255), //red
    RGB8ToTColor(62,85,255), //orange
    RGB8ToTColor(62,85,255), //yellow
    ColorDefDarkDrawText2Color, //green
    ColorDefDarkDrawText2Color,  //blue
    ColorDefDarkDrawText2Color, //purple


    //text 2 - 2
    RGB8ToTColor(53,69,186), //red
    RGB8ToTColor(53,69,186), //orange
    RGB8ToTColor(53,69,186), //yellow
    ColorDefDarkSecDrawText2Color, //green
    ColorDefDarkSecDrawText2Color,  //blue
    ColorDefDarkSecDrawText2Color, //purple
  };

TW

Although I work for HP, the views and opinions I post here are my own.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: There is a Theme system setting variable...but... - Tim Wessman - 09-12-2017 06:44 PM



User(s) browsing this thread: 1 Guest(s)