W = root_window.tk.call







W('.pane','configure',"-background","grey10")


W(".menu","configure","-background","grey10","-fg","white");
W(".menu.file","configure","-background","grey10","-fg","white");
W(".menu.file.recent","configure","-background","grey10","-fg","white");
W(".menu.machine","configure","-background","grey10","-fg","white");
W(".menu.machine.home","configure","-background","grey10","-fg","white");
W(".menu.machine.unhome","configure","-background","grey10","-fg","white");
W(".menu.view","configure","-background","grey10","-fg","white");
W(".menu.help","configure","-background","grey10","-fg","white");
W(".menu.machine.touchoff","configure","-background","grey10","-fg","white");
W(".menu.machine.clearoffset","configure","-background","grey10","-fg","white");

#### toolbar buttons go here
W('.toolbar','configure',"-background","grey10")


W(".toolbar.machine_estop","configure","-background","grey10","-fg","white");
W(".toolbar.machine_power","configure","-background","grey10","-fg","white");
W(".toolbar.file_open","configure","-background","grey10","-fg","white");
W(".toolbar.reload","configure","-background","grey10","-fg","white");
W(".toolbar.program_run","configure","-background","grey10","-fg","white");
W(".toolbar.program_step","configure","-background","grey10","-fg","white");
W(".toolbar.program_pause","configure","-background","grey10","-fg","white");
W(".toolbar.program_stop","configure","-background","grey10","-fg","white");
W(".toolbar.program_blockdelete","configure","-background","grey10","-fg","white");
W(".toolbar.program_optpause","configure","-background","grey10","-fg","white");
W(".toolbar.view_zoomin","configure","-background","grey10","-fg","white");
W(".toolbar.view_zoomout","configure","-background","grey10","-fg","white");
W(".toolbar.view_z","configure","-background","grey10","-fg","white");
W(".toolbar.view_z2","configure","-background","grey10","-fg","white");
W(".toolbar.view_x","configure","-background","grey10","-fg","white");
W(".toolbar.view_y","configure","-background","grey10","-fg","white");
W(".toolbar.view_p","configure","-background","grey10","-fg","white");
W(".toolbar.rotate","configure","-background","grey10","-fg","white");
W(".toolbar.clear_plot","configure","-background","grey10","-fg","white");

# pane top tabs notebook
W('.pane.top','configure',"-background","grey10")
W('.pane.top.tabs','configure',"-background","grey10","-fg","white")
W('.pane.top.right','configure',"-background","grey10","-fg","white")

 

W('.pane.top.tabs','itemconfigure','manual',"-background","grey10","-foreground","white")
W('.pane.top.tabs','itemconfigure','mdi',"-background","grey10","-foreground","white")
W('.pane.top.right','itemconfigure','numbers',"-background","grey10","-foreground","white")
W('.pane.top.right','itemconfigure','preview',"-background","grey10","-foreground","white")


#### radio buttons 
W(".pane.top.tabs.fmanual.axes.axisx","configure","-background","grey10",'-fg','white','-selectcolor','grey10');
W(".pane.top.tabs.fmanual.axes.axisy","configure","-background","grey10",'-fg','white','-selectcolor','grey10');
W(".pane.top.tabs.fmanual.axes.axisz","configure","-background","grey10",'-fg','white','-selectcolor','grey10');
W(".pane.top.tabs.fmanual.axes.axisa","configure","-background","grey10",'-fg','white','-selectcolor','grey10');
W(".pane.top.tabs.fmanual.axes.axisb","configure","-background","grey10",'-fg','white','-selectcolor','grey10');
W(".pane.top.tabs.fmanual.axes.axisc","configure","-background","grey10",'-fg','white','-selectcolor','grey10');
W(".pane.top.tabs.fmanual.axes.axisu","configure","-background","grey10",'-fg','white','-selectcolor','grey10');
W(".pane.top.tabs.fmanual.axes.axisv","configure","-background","grey10",'-fg','white','-selectcolor','grey10');
W(".pane.top.tabs.fmanual.axes.axisw","configure","-background","grey10",'-fg','white','-selectcolor','grey10');


W(".pane.top.tabs","configure","-background","grey10","-fg","white");
W(".pane.top.tabs.fmanual","configure","-background","grey10");
W(".pane.top.tabs.fmanual.axis","configure","-background","grey10","-fg","white");

W(".pane.top.tabs.fmanual.axes","configure","-background","grey10");
W(".pane.top.tabs.fmdi","configure","-background","grey10");

W(".pane.top.tabs.fmanual.joints","configure","-background","grey10");

## joints radio button go here
W(".pane.top.tabs.fmanual.joints.joint1","configure","-background","grey10",'-fg','white','-selectcolor','grey10');
W(".pane.top.tabs.fmanual.joints.joint2","configure","-background","grey10",'-fg','white','-selectcolor','grey10');
W(".pane.top.tabs.fmanual.joints.joint3","configure","-background","grey10",'-fg','white','-selectcolor','grey10');
W(".pane.top.tabs.fmanual.joints.joint4","configure","-background","grey10",'-fg','white','-selectcolor','grey10');
W(".pane.top.tabs.fmanual.joints.joint5","configure","-background","grey10",'-fg','white','-selectcolor','grey10');
W(".pane.top.tabs.fmanual.joints.joint6","configure","-background","grey10",'-fg','white','-selectcolor','grey10');
W(".pane.top.tabs.fmanual.joints.joint7","configure","-background","grey10",'-fg','white','-selectcolor','grey10');
W(".pane.top.tabs.fmanual.joints.joint7","configure","-background","grey10",'-fg','white','-selectcolor','grey10');
W(".pane.top.tabs.fmanual.joints.joint9","configure","-background","grey10",'-fg','white','-selectcolor','grey10');


W(".pane.top.tabs.fmanual.jogf","configure","-background","grey10");
W(".pane.top.tabs.fmanual.jogf.jog","configure","-background","grey10");
W(".pane.top.tabs.fmanual.jogf.jog.jogminus","configure","-background","grey10","-fg","white");
W(".pane.top.tabs.fmanual.jogf.jog.jogplus","configure","-background","grey10","-fg","white");
W(".pane.top.tabs.fmanual.jogf.jog.jogincr","configure","-background","grey10","-fg","white");

W(".pane.top.tabs.fmanual.jogf.zerohome","configure","-background","grey10");
W(".pane.top.tabs.fmanual.jogf.zerohome.home","configure","-background","grey10","-fg","white");
W(".pane.top.tabs.fmanual.jogf.zerohome.zero","configure","-background","grey10","-fg","white");
W(".pane.top.tabs.fmanual.jogf.zerohome.tooltouch","configure","-background","grey10","-fg","white");


#override limits goes here
W(".pane.top.tabs.fmanual.jogf.override","configure","-background","grey10","-fg","white",'-selectcolor','grey10');

W(".pane.top.tabs.fmanual.space1","configure","-background","grey10");
W(".pane.top.tabs.fmanual.space2","configure","-background","grey10");


W(".pane.top.tabs.fmanual.spindlel","configure","-background","grey10","-fg","white");
W(".pane.top.tabs.fmanual.spindlef","configure","-background","grey10");
W(".pane.top.tabs.fmanual.spindlef.row1","configure","-background","grey10");
W(".pane.top.tabs.fmanual.spindlef.row2","configure","-background","grey10");

### spindle radio buton ccw goes here
### spindle radio buton cw goes here
W(".pane.top.tabs.fmanual.spindlef.ccw","configure","-background","grey10","-fg","white",'-selectcolor','grey10');
W(".pane.top.tabs.fmanual.spindlef.cw","configure","-background","grey10","-fg","white",'-selectcolor','grey10');

W(".pane.top.tabs.fmanual.spindlef.spindleminus","configure","-background","grey10","-fg","white");
W(".pane.top.tabs.fmanual.spindlef.spindleplus","configure","-background","grey10","-fg","white");
W(".pane.top.tabs.fmanual.spindlef.brake","configure","-background","grey10","-fg","white");

W(".pane.top.tabs.fmanual.coolant","configure","-background","grey10","-fg","white");
W(".pane.top.tabs.fmanual.mist","configure","-background","grey10","-fg","white",'-selectcolor','grey10');
W(".pane.top.tabs.fmanual.flood","configure","-background","grey10","-fg","white",'-selectcolor','grey10');


W(".pane.top.tabs.fmdi.historyl","configure","-background","grey10","-fg","white");
W(".pane.top.tabs.fmdi.history","configure","-background","grey10","-fg","white");
W(".pane.top.tabs.fmdi.history.sby","configure","-background","grey10");

W(".pane.top.tabs.fmdi.commandl","configure","-background","grey10","-fg","white");
W(".pane.top.tabs.fmdi.go","configure","-background","grey10","-fg","white");

W(".pane.top.tabs.fmdi.vs1","configure","-background","grey10");
W(".pane.top.tabs.fmdi.vs2","configure","-background","grey10");



###  GCODE L AND GCODE S GO HEREdepending on version 2.8 or 2.9

### number tab goes here
W('.pane.top.right.fnumbers.text','configure','-foreground','white','-background','grey10')


W(".info","configure","-background","grey10");
W(".info.task_state","configure","-background","grey10",'-fg','white');
W(".info.tool","configure","-background","grey10",'-fg','white');
W(".info.position","configure","-background","grey10",'-fg','white');

W(".pane.bottom","configure","-background","grey10");
W(".pane.bottom.t","configure","-background","grey10");
W(".pane.bottom.t.text","configure","-background","grey10",'-fg','white');
W(".pane.bottom.t.sb","configure","-background","grey10");

W(".pane.top.gcodel","configure","-background","grey10",'-fg','white');
W(".pane.top.gcodes","configure","-background","grey10",'-fg','white');

W(".pane.top.ajogspeed","configure","-background","grey10");
W(".pane.top.ajogspeed.l0","configure","-background","grey10",'-fg','white');
W(".pane.top.ajogspeed.l1","configure","-background","grey10",'-fg','white');
W(".pane.top.ajogspeed.l","configure","-background","grey10",'-fg','white');
W(".pane.top.ajogspeed.s","configure","-background","grey10",'-fg','white');

W(".pane.top.jogspeed","configure","-background","grey10");
W(".pane.top.jogspeed.l0","configure","-background","grey10",'-fg','white');
W(".pane.top.jogspeed.l1","configure","-background","grey10",'-fg','white');
W(".pane.top.jogspeed.l","configure","-background","grey10",'-fg','white');
W(".pane.top.jogspeed.s","configure","-background","grey10",'-fg','white');

W(".pane.top.maxvel","configure","-background","grey10");
W(".pane.top.maxvel.l0","configure","-background","grey10",'-fg','white');
W(".pane.top.maxvel.l1","configure","-background","grey10",'-fg','white');
W(".pane.top.maxvel.l","configure","-background","grey10",'-fg','white');
W(".pane.top.maxvel.s","configure","-background","grey10",'-fg','white');


W(".pane.top.spinoverride","configure","-background","grey10");
W(".pane.top.spinoverride.foscale","configure","-background","grey10",'-fg','white');
W(".pane.top.spinoverride.foentry","configure","-background","grey10",'-fg','white');
W(".pane.top.spinoverride.l","configure","-background","grey10",'-fg','white');
W(".pane.top.spinoverride.m","configure","-background","grey10",'-fg','white');

W(".pane.top.feedoverride","configure","-background","grey10");
W(".pane.top.feedoverride.foscale","configure","-background","grey10",'-fg','white');
W(".pane.top.feedoverride.foentry","configure","-background","grey10",'-fg','white');
W(".pane.top.feedoverride.l","configure","-background","grey10",'-fg','white');
W(".pane.top.feedoverride.m","configure","-background","grey10",'-fg','white');

W(".pane.top.rapidoverride","configure","-background","grey10");
W(".pane.top.rapidoverride.foscale","configure","-background","grey10",'-fg','white');
W(".pane.top.rapidoverride.foentry","configure","-background","grey10",'-fg','white');
W(".pane.top.rapidoverride.l","configure","-background","grey10",'-fg','white');
W(".pane.top.rapidoverride.m","configure","-background","grey10",'-fg','white');
