From b392112b54cf644dd531d85ad7c6edc861bacec7 Mon Sep 17 00:00:00 2001 From: Patrick Kontschak Date: Wed, 22 Jan 2020 17:39:16 +0100 Subject: [PATCH] Add advanced theme settings (#157) * Add advanced theme settings - header position - border-radius - list background - amount of games next to list title - settings section headlines * Linting * Linting: indent * keep options consistent switching from "hide this" and "display this" is bad UX. * Hide number of games in lists by default * reverse header position with css * border-radius * remove transparent background setting this will be handled by themes * only affect top/bottom settings on mobile --- src/App.vue | 44 +++++++++++++++++-- .../GameBoard/GameBoardPlaceholder.vue | 6 +-- src/components/GameCards/GameCardCompact.vue | 2 +- src/components/GameCards/GameCardDefault.vue | 2 +- src/components/GameCards/GameCardGrid.vue | 6 +-- src/components/GameCards/GameCardMasonry.vue | 2 +- src/components/GameCards/GameCardSearch.vue | 2 +- src/components/GameCards/GameCardText.vue | 2 +- .../GameDetail/GameDetailPlaceholder.vue | 2 +- src/components/GameDetail/GameProgress.vue | 2 +- src/components/GameDetail/GameScreenshots.vue | 4 +- src/components/IgdbCredit.vue | 2 +- src/components/Lists/List.vue | 15 +++++-- src/components/Modal.vue | 2 +- src/components/Placeholder.vue | 4 +- src/components/Platforms/PlatformsGrid.vue | 4 +- src/components/Platforms/PlatformsList.vue | 4 +- src/components/Settings/GameBoardSettings.vue | 44 ++++++++++++++++++- src/components/Toast.vue | 2 +- src/components/WallpaperUpload.vue | 2 +- src/pages/Game.vue | 2 +- src/pages/GameBoard.vue | 6 +++ src/pages/Settings.vue | 12 ++++- src/positions.js | 10 +++++ src/styles/_buttons.scss | 2 +- src/styles/_inputs.scss | 18 +++++--- src/styles/_markdown.scss | 2 +- src/styles/_vars.scss | 1 - 28 files changed, 161 insertions(+), 45 deletions(-) create mode 100644 src/positions.js diff --git a/src/App.vue b/src/App.vue index 97ad72c0..5099bd4c 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,7 +1,7 @@