diff options
author | Booteille <booteille@protonmail.com> | 2023-02-08 14:50:02 +0100 |
---|---|---|
committer | Wicklow <123956049+wickloww@users.noreply.github.com> | 2023-02-08 14:28:00 +0000 |
commit | b4e556144d610cf96817dfc007933145d526966b (patch) | |
tree | 3a9a89843faf2b9e711e2eff4a9d801b58b3b82e | |
parent | 60ea45b092aeec3564f7bcc9acf7838a9e84ef7d (diff) | |
download | PeerTube-b4e556144d610cf96817dfc007933145d526966b.tar.gz PeerTube-b4e556144d610cf96817dfc007933145d526966b.tar.zst PeerTube-b4e556144d610cf96817dfc007933145d526966b.zip |
Use pvar() instead of SCSS variables
-rw-r--r-- | client/src/app/menu/notification.component.scss | 2 | ||||
-rw-r--r-- | client/src/sass/include/_mixins.scss | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/menu/notification.component.scss b/client/src/app/menu/notification.component.scss index 7f72c98d1..256ed7328 100644 --- a/client/src/app/menu/notification.component.scss +++ b/client/src/app/menu/notification.component.scss | |||
@@ -130,7 +130,7 @@ | |||
130 | align-items: center; | 130 | align-items: center; |
131 | justify-content: center; | 131 | justify-content: center; |
132 | font-weight: $font-semibold; | 132 | font-weight: $font-semibold; |
133 | color: $fg-color; | 133 | color: pvar(--mainForegroundColor); |
134 | padding: 7px 0; | 134 | padding: 7px 0; |
135 | margin-top: auto; | 135 | margin-top: auto; |
136 | text-decoration: none; | 136 | text-decoration: none; |
diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss index 8816437d9..28bda4b9f 100644 --- a/client/src/sass/include/_mixins.scss +++ b/client/src/sass/include/_mixins.scss | |||
@@ -537,8 +537,8 @@ | |||
537 | height: 12px; | 537 | height: 12px; |
538 | opacity: 0; | 538 | opacity: 0; |
539 | transform: rotate(45deg) scale(0); | 539 | transform: rotate(45deg) scale(0); |
540 | border-right: 2px solid $bg-color; | 540 | border-right: 2px solid pvar(--mainBackgroundColor); |
541 | border-bottom: 2px solid $bg-color; | 541 | border-bottom: 2px solid pvar(--mainBackgroundColor); |
542 | } | 542 | } |
543 | } | 543 | } |
544 | 544 | ||