From 6b31cb9dbf88a7ff807e657cf0631b3b2dd9b78e Mon Sep 17 00:00:00 2001 From: Allan Otodi Opeto <103313919+AllanOXDi@users.noreply.github.com> Date: Sun, 25 Feb 2024 21:12:10 +0300 Subject: [PATCH] Rebrand: replaced hexa and rgb colors with theme palettes and tokens --- .../src/views/DeviceSettingsPage/index.vue | 17 +++++++++-------- .../assets/src/views/SearchSideBar.vue | 15 +++++++-------- .../views/LearningActivityDuration/index.vue | 5 +++-- .../src/views/LibraryPage/UnPinnedDevices.vue | 11 ++++++++--- 4 files changed, 27 insertions(+), 21 deletions(-) diff --git a/kolibri/plugins/device/assets/src/views/DeviceSettingsPage/index.vue b/kolibri/plugins/device/assets/src/views/DeviceSettingsPage/index.vue index c0d87812274..98ca8746214 100644 --- a/kolibri/plugins/device/assets/src/views/DeviceSettingsPage/index.vue +++ b/kolibri/plugins/device/assets/src/views/DeviceSettingsPage/index.vue @@ -113,7 +113,7 @@

-

+

{{ $tr('DownloadOnMeteredConnectionDescription') }}

{{ $tr('primaryStorage') }} -

+

{{ $tr('primaryStorageDescription') }}

@@ -163,7 +163,7 @@

{{ $tr('secondaryStorage') }}

-

+

{{ $tr('secondaryStorageDescription') }}

@@ -255,7 +255,7 @@

{{ $tr('enabledPages') }}

-

+

{{ deviceString('newEnabledPluginsState') }}

@@ -479,6 +479,11 @@ computed: { ...mapGetters(['isAppContext', 'isPageLoading', 'snackbarIsVisible']), ...mapGetters('deviceInfo', ['isRemoteContent']), + InfoDescriptionColor() { + return { + color: this.$themePalette.grey.v_700, + }; + }, pageTitle() { return this.deviceString('deviceManagementTitle'); }, @@ -1197,10 +1202,6 @@ align-items: center; } - .info-description { - color: #616161; - } - input[type='range'] { width: 12vw; height: 2px; diff --git a/kolibri/plugins/epub_viewer/assets/src/views/SearchSideBar.vue b/kolibri/plugins/epub_viewer/assets/src/views/SearchSideBar.vue index 5b605d6ff4c..79696299d42 100644 --- a/kolibri/plugins/epub_viewer/assets/src/views/SearchSideBar.vue +++ b/kolibri/plugins/epub_viewer/assets/src/views/SearchSideBar.vue @@ -77,7 +77,7 @@ @click="$emit('navigateToSearchResult', item)" > {{ item.before }} - {{ item.match }} + {{ item.match }} {{ item.after }} @@ -169,6 +169,12 @@ color: this.$themeTokens.annotation, }; }, + markColor() { + return { + color: this.$themePalette.black, + backgroundColor: this.$themePalette.yellow.v_a200, + }; + }, }, methods: { /** @@ -390,13 +396,6 @@ padding-bottom: 8px; } - .mark { - color: #000000; - - /* Styles same as markjs default styles */ - background: #ffff00; - } - .search-results-list-item-button { @include epub-basic-link; } diff --git a/kolibri/plugins/learn/assets/src/views/LearningActivityDuration/index.vue b/kolibri/plugins/learn/assets/src/views/LearningActivityDuration/index.vue index da274ba662d..cf772003d41 100644 --- a/kolibri/plugins/learn/assets/src/views/LearningActivityDuration/index.vue +++ b/kolibri/plugins/learn/assets/src/views/LearningActivityDuration/index.vue @@ -3,7 +3,8 @@