Skip to content

Commit

Permalink
Merge pull request #82 from HydLa/apply-dark-theme
Browse files Browse the repository at this point in the history
refine colours
  • Loading branch information
khata1007 authored Sep 14, 2021
2 parents e2310ef + c72d892 commit 9a1bbfb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
1 change: 1 addition & 0 deletions src/graph/datGUI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export function initDatGUIState(plotSettings: PlotSettings) {
datGUI
.addColor(plotSettings, 'backgroundColor')
.name('background')
.setValue('#101010')
.onChange((value) => {
setBackgroundColor(value);
PlotSettingsControl.saveToWebStorage(); /*renderThreeJs();i*/
Expand Down
14 changes: 8 additions & 6 deletions static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ html, body{
height: 100%;
width: 100%;
overflow-x: hidden;
background-color: #222;
color: #bbb;
}


Expand All @@ -13,7 +15,6 @@ html, body{
display: block;
position: static;
font-family: Arial, Helvetica, sans-serif;
color: #000000;
text-align: center;
margin: 30px;
}
Expand All @@ -40,12 +41,12 @@ html, body{
right: 0;
margin: auto;
height: 500px;
width: 80%;
width: 95%;
}
#menu_bar {
position: relative;
height: 50px;
background-color: #000;
background-color: #111;
padding: 6px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
Expand All @@ -65,7 +66,7 @@ html, body{
#simulation_settings {
position: relative;
display: inline-flex;
background-color: black;
background-color: #111;
color: white;
max-height: 100px;
width: 100%;
Expand All @@ -89,11 +90,12 @@ html, body{
font-size: initial!important;
margin: initial!important;
margin-left: 5px!important;
padding: initial!important;
padding: 3px!important;
box-shadow: initial!important;
box-sizing: initial!important;
transition: initial!important;
color: white !important;
text-align: right;
}
#other_options {
width: 120px!important;
Expand Down Expand Up @@ -165,7 +167,7 @@ input[type="checkbox"] {
-webkit-transform: translateY(-50%) translateX(-50%);
transform: translateY(-50%) translateX(-50%);

background-color: black;
background-color: #222;
border-radius: 30px;
padding: 20px;
/*padding: 10px;*/
Expand Down

0 comments on commit 9a1bbfb

Please sign in to comment.