mirror of
https://github.com/aquatix/digimarks.git
synced 2025-12-06 22:05:09 +01:00
Added lightblue theme and changed link colour
This commit is contained in:
@@ -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
|
||||
|
||||
23
digimarks.py
23
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',
|
||||
|
||||
@@ -19,6 +19,10 @@
|
||||
<link href='https://fonts.googleapis.com/css?family=Roboto+Mono&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
|
||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.1/css/materialize.min.css" type="text/css" rel="stylesheet" media="screen,projection"/>
|
||||
<style>
|
||||
.card-content a
|
||||
{
|
||||
color: {{ theme.CARD_LINK }};
|
||||
}
|
||||
/* label color */
|
||||
.input-field label
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user