[libadwaita/wip/exalm/view-color: 3/3] stylesheet: Unify @view_fg_color with the other fg colors
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/view-color: 3/3] stylesheet: Unify @view_fg_color with the other fg colors
- Date: Thu, 28 Jul 2022 03:36:56 +0000 (UTC)
commit 7a7180741657f4310e459abc97750f15823ca0d9
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Tue Jul 26 21:32:16 2022 +0400
stylesheet: Unify @view_fg_color with the other fg colors
Have slight transparency in light variant.
doc/named-colors.md | 4 ++--
src/stylesheet/_defaults.scss | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/doc/named-colors.md b/doc/named-colors.md
index b4e93841..855aa761 100644
--- a/doc/named-colors.md
+++ b/doc/named-colors.md
@@ -298,8 +298,8 @@ well as with the [`.view`](style-classes.html#view) style class.
</tr>
<tr>
<td><tt>@view_fg_color</tt></td>
- <td><div class="color-pill dark" style="background-color: #000000"/></td>
- <td><tt>#000000</tt></td>
+ <td><div class="color-pill dark" style="background-color: rgba(0, 0, 0, 0.8)"/></td>
+ <td><tt>rgba(0, 0, 0, 0.8)</tt></td>
<td><div class="color-pill light" style="background-color: #ffffff"/></td>
<td><tt>#ffffff</tt></td>
</tr>
diff --git a/src/stylesheet/_defaults.scss b/src/stylesheet/_defaults.scss
index 7761be5d..53514ea6 100644
--- a/src/stylesheet/_defaults.scss
+++ b/src/stylesheet/_defaults.scss
@@ -37,7 +37,7 @@
// Views - e.g. text view or tree view
@define-color view_bg_color #{if($variant == 'light', #ffffff, #1e1e1e)};
-@define-color view_fg_color #{if($variant == 'light', #000000, #ffffff)};
+@define-color view_fg_color #{if($variant == 'light', transparentize(black, .2), white)};
// Header bar, search bar, tab bar
@define-color headerbar_bg_color #{if($variant == 'light', #ebebeb, #303030)};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]