All colour values are hex RGB values or CSS color names.
const defaultTheme = {
fieldOfView: 50,
background: 'black', // background colour to model
sky: 0x106f8d,
maxPolarAngle: 180,
saturatedGradient: false, // more saturated colours in gradients for several shading modes (true)
lighting: { // position of lighting for terrain (polar coordinates)
azimuth: 315,
inclination: 45
},
entrance_dot_size: 5,
hud: {
font: 'normal Arial, sans-serif',
text: 'white',
progress: 'green', // progress dial
progressBackground: 'dimgray',
bezel: 'gray', // bezel colour for compass and artificial horizon (AHI)
widgetSize: 40,
scale: {
bar1: 'white',
bar2: 'red',
},
compass: {
top1: 0xb03a14, // colours for cardinal directions
top2: 0x1ab4e5,
bottom1: 0x581d0a, // colours for secondary directions
bottom2: 0x0c536a
},
ahi: { // artifical horizon instrument
sky: 0x106f8d,
earth: 0x802100,
bar: 'yellow',
marks: 'white'
},
cursor: 'yellow',
cursorText: {
text: 'yellow',
background: '#444444',
font: 'bold helvetica,sans-serif'
}
},
box: { // bounding boxes for model or sub section of model
bounding: 'white', // entire model
select: 'blue', // selected sub section of model
highlight: 'red' // highlit sub section of model
},
routes: {
active: 'yellow',
adjacent: 'red',
default: 'gray'
},
stations: { // station markers
default: {
text: 'white',
font: 'normal Arial, sans-serif',
fontsize: 10,
marker: 'red'
},
entrances: {
text: 'white',
background: 'darkred',
font: 'normal helvetica,sans-serif',
marker: 'white',
angle: 45,
},
junctions: {
text: 'yellow',
font: 'normal Arial, sans-serif',
marker: 'yellow'
},
linked: {
text: 'cyan',
font: 'normal Arial, sans-serif',
marker: 'cyan'
}
},
shading: {
single: 'red', // colour of legs displayed with a single colour
surface: 'yellow', // highlight colour for depth/height cursor shading
duplicate: 'white',
cursor: 'yellow',
cursorBase: 'gray',
unselected: 'gray',
contours: {
line: 0xe1bba2, // colour for minor contours ( interval spacing )
line10: 0xf29d62, // colour for major contours ( 10 * interval )
interval: 10, // contour line vertical interval (m)
base: 'white'
},
/*
hypsometric: {
min: 0,
max: 400
},
*/
unconnected: 'gray' // legs not connected in distance shading mode
},
popup: { // popup survey station details
text: 'white',
border: 'white',
background: 0x111111
},
grid: {
base: 'gray'
}
};