From a5f55a6a1ed555bc43001aa6005a89adde7dcd2d Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Tue, 19 Mar 2024 19:18:05 +0700 Subject: [PATCH] update styles --- .config/ags/scss/_colors.scss | 4 ++-- .config/ags/scss/_lib_mixins.scss | 7 ------- .config/ags/scss/_overview.scss | 6 +++--- 3 files changed, 5 insertions(+), 12 deletions(-) diff --git a/.config/ags/scss/_colors.scss b/.config/ags/scss/_colors.scss index 16fd24354..4cefdc049 100644 --- a/.config/ags/scss/_colors.scss +++ b/.config/ags/scss/_colors.scss @@ -45,8 +45,8 @@ $white: white; $layer0: $background; $onLayer0: $onBackground; $layer0Hover: mix($layer0, $onLayer0, 85%); -$layer0Active: $primary; -$onLayer0Active: $onPrimary; +$layer0Active: $surfaceContainerHigh; +$onLayer0Active: $onSurface; $onLayer0Inactive: mix($onLayer0, $layer0, 70%); $layer1: $surfaceContainerLow; $onLayer1: $onSurface; diff --git a/.config/ags/scss/_lib_mixins.scss b/.config/ags/scss/_lib_mixins.scss index ae13c6815..a0d1de2de 100644 --- a/.config/ags/scss/_lib_mixins.scss +++ b/.config/ags/scss/_lib_mixins.scss @@ -75,13 +75,6 @@ $rounding_large: 1.705rem; $elevation_margin: 0.476rem; -@mixin elevation-safe { - background: $surface; - color: $onSurface; - box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.69); - margin: $elevation_margin; -} - @mixin elevation2 { box-shadow: 0px 2px 3px transparentize($shadow, 0.55); margin: $elevation_margin; diff --git a/.config/ags/scss/_overview.scss b/.config/ags/scss/_overview.scss index a0a3b48ad..78b130b84 100644 --- a/.config/ags/scss/_overview.scss +++ b/.config/ags/scss/_overview.scss @@ -53,8 +53,8 @@ @include elevation2; min-width: 28.773rem; padding: 0.682rem; - background-color: $surfaceContainerLow; - color: $onSurface; + background-color: $layer0; + color: $onLayer0; } .overview-search-results-icon { @@ -105,7 +105,7 @@ @include normal-rounding; // @include elevation-border; margin: 0.341rem; - background-color: $surfaceContainerLow; + background-color: $layer1; } .overview-tasks-workspace-number {