change primary color to reflect mosad.xyz design guidelines

* minor style fix: nav_header_main set background to black and text color to white
This commit is contained in:
2020-06-07 23:30:41 +02:00
parent bdfeb46faf
commit 3e2ef0521e
7 changed files with 27 additions and 34 deletions

View File

@ -37,7 +37,7 @@ class PreferencesController {
var coursesCacheTime: Long = 0
var mensaCacheTime: Long = 0
var timetableCacheTime: Long = 0
var cColorPrimary: Int = Color.BLACK
var cColorPrimary: Int = Color.parseColor("#009688")
var cColorAccent: Int = Color.parseColor("#3F51B5")
var cCourse = Course("https://www.hs-offenburg.de/index.php?id=6627&class=class&iddV=DA64F6FE-9DDB-429E-A677-05D0D40CB636&week=0", "AI3")
var cShowBuffet = true
@ -168,10 +168,10 @@ class PreferencesController {
// load saved colors
cColorPrimary = sharedPref.getInt(context.getString(
R.string.save_key_colorPrimary
), Color.BLACK)
), cColorPrimary)
cColorAccent = sharedPref.getInt(context.getString(
R.string.save_key_colorAccent
), Color.parseColor("#3F51B5"))
), cColorAccent)
// load showBuffet
cShowBuffet = sharedPref.getBoolean(context.getString(