diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e198d4..7407366 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +### Added +- 'lightblue' theme + +### Changed +- Fixed theming of browser chrome in mobile browsers +- Changed link colour of 'dark' theme from blue to orange + ## [1.1.0] - 2017-07-22 @@ -27,6 +34,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Cache buster to force loading of the latest styling - Theming support, default is 'green' - Themes need an extra `theme` field in the User table +- Added 'freshgreen' and 'dark' themes ### Changed - Make running in a virtualenv optional diff --git a/digimarks.py b/digimarks.py index 5687a36..85d185b 100644 --- a/digimarks.py +++ b/digimarks.py @@ -30,6 +30,7 @@ themes = { 'ERRORMESSAGE_TEXT': 'white-text', 'CARD_BACKGROUND': 'green darken-3', 'CARD_TEXT': 'white-text', + 'CARD_LINK': '#FFF', # white-text 'FAB': 'red', 'STAR': 'yellow-text', @@ -49,12 +50,33 @@ themes = { 'ERRORMESSAGE_TEXT': 'white-text', 'CARD_BACKGROUND': 'green darken-1', 'CARD_TEXT': 'white-text', + 'CARD_LINK': '#FFF', # white-text 'FAB': 'red', 'STAR': 'yellow-text', 'PROBLEM': 'red-text', 'COMMENT': '', }, + 'lightblue': { + 'BROWSERCHROME': '#0288d1', # light-blue darken-2 + 'BODY': 'white', + 'TEXT': 'black-text', + 'TEXTHEX': '#000', + 'NAV': 'light-blue darken-2', + 'PAGEHEADER': 'grey-text lighten-5', + 'MESSAGE_BACKGROUND': 'orange lighten-2', + 'MESSAGE_TEXT': 'white-text', + 'ERRORMESSAGE_BACKGROUND': 'red darken-1', + 'ERRORMESSAGE_TEXT': 'white-text', + 'CARD_BACKGROUND': 'light-blue lighten-2', + 'CARD_TEXT': 'black-text', + 'CARD_LINK': '#263238', # blue-grey-text darken-4 + 'FAB': 'light-blue darken-4', + + 'STAR': 'yellow-text', + 'PROBLEM': 'red-text', + 'COMMENT': '', + }, 'dark': { 'BROWSERCHROME': '#212121', # grey darken-4 'BODY': 'grey darken-4', @@ -68,6 +90,7 @@ themes = { 'ERRORMESSAGE_TEXT': 'white-text', 'CARD_BACKGROUND': 'grey darken-3', 'CARD_TEXT': 'grey-text lighten-1', + 'CARD_LINK': '#fb8c00', # orange-text darken-1 'FAB': 'red', 'STAR': 'yellow-text', diff --git a/templates/base.html b/templates/base.html index d3871d8..9ac81ff 100644 --- a/templates/base.html +++ b/templates/base.html @@ -19,6 +19,10 @@