Explorar o código

Merge pull request #31693 from overleaf/mj-light-mode-notifications-buttons

[web] Fix buttons in light mode notifications

GitOrigin-RevId: 7934414356b5185999cf7685f8e4c61441279b04
Mathias Jakobsen hai 5 meses
pai
achega
dd1652bcf6

+ 10 - 0
services/web/frontend/stylesheets/components/notifications.scss

@@ -49,11 +49,21 @@
 :root {
   @include light-notification;
 
+  // Until we roll out dark mode notifications, make sure we show buttons in
+  // light mode even when the rest of the page is in dark mode
+  .ide-redesign-main .notification .btn {
+    @include light-buttons;
+  }
+
   @include theme('default') {
     .project-ds-nav-page {
       .notification {
         @include dark-notification;
         @include dark-bg;
+
+        .btn {
+          @include dark-buttons;
+        }
       }
     }
   }