feat(webreader): added gray backround option

* feat: added gray backround option to book reader

Signed-off-by: gryffyn <me@neveris.one>

* refactor: reorder options to have gray between white and black

Co-authored-by: Gauthier Roebroeck <gauthier.roebroeck@gmail.com>
This commit is contained in:
gryffyn 2021-09-06 01:22:08 +00:00 committed by GitHub
parent 8859241885
commit 1ba6822fd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -105,7 +105,8 @@
"background_color": "Background color",
"background_colors": {
"black": "Black",
"white": "White"
"white": "White",
"gray": "Gray"
},
"display": "Display",
"general": "General",

View file

@ -403,6 +403,7 @@ export default Vue.extend({
})),
backgroundColors: [
{text: this.$t('bookreader.settings.background_colors.white').toString(), value: 'white'},
{text: this.$t('bookreader.settings.background_colors.gray').toString(), value: '#212121'},
{text: this.$t('bookreader.settings.background_colors.black').toString(), value: 'black'},
],
}