-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b3a7dfb
commit 56d4044
Showing
23 changed files
with
87 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,28 @@ | ||
class ColorScheme { | ||
outLogic: string; | ||
inLogic: string; | ||
semiLogic: string; | ||
import { LogicalState } from "../logic/ItemLocation"; | ||
|
||
export type ColorScheme = { [logicalState in LogicalState]: string; } & { | ||
background: string; | ||
text: string; | ||
required: string; | ||
unrequired: string; | ||
checked: string; | ||
}; | ||
|
||
export const lightColorScheme: ColorScheme = { | ||
outLogic: '#FF0000', | ||
inLogic: '#00AFFF', | ||
semiLogic: '#FFA500', | ||
background: '#FFFFFF', | ||
text: '#000000', | ||
required: '#004FFF', | ||
unrequired: '#808080', | ||
checked: '#303030', | ||
}; | ||
|
||
constructor() { | ||
this.outLogic = '#FF0000'; | ||
this.inLogic = '#00AFFF'; | ||
this.semiLogic = '#FFA500'; | ||
this.background = '#FFFFFF'; | ||
this.text = '#000000'; | ||
this.required = '#004FFF'; | ||
this.unrequired = '#808080'; | ||
this.checked = '#303030'; | ||
} | ||
} | ||
export const darkColorScheme: ColorScheme = { | ||
...lightColorScheme, | ||
background: '#000000', | ||
text: '#FFFFFF', | ||
checked: '#B6B6B6', | ||
}; | ||
|
||
export default ColorScheme; | ||
export default ColorScheme; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.