Просмотр исходного кода

Merge pull request #26468 from overleaf/dp-error-colors

Small style updates to new error logs

GitOrigin-RevId: fdfe7489bc87733b065d08c77353dce9ab940fc2
David 1 год назад
Родитель
Сommit
4e03e0fbe1

+ 2 - 0
services/web/frontend/stylesheets/bootstrap-5/abstracts/themes-common-variables.scss

@@ -25,6 +25,7 @@
   --link-ui-themed: var(--link-ui-dark);
   --link-ui-hover-themed: var(--link-ui-hover-dark);
   --link-ui-visited-themed: var(--link-ui-visited-dark);
+  --premium-gradient-themed: var(--premium-gradient-dark);
 }
 
 @include theme('light') {
@@ -54,4 +55,5 @@
   --link-ui-themed: var(--link-ui);
   --link-ui-hover-themed: var(--link-ui-hover);
   --link-ui-visited-themed: var(--link-ui-visited);
+  --premium-gradient-themed: var(--premium-gradient);
 }

+ 6 - 0
services/web/frontend/stylesheets/bootstrap-5/foundations/colors.scss

@@ -237,4 +237,10 @@ $link-ui-visited-dark: $blue-40;
     #254c84 29%,
     var(--blue-40) 97%
   );
+  --premium-gradient-dark: linear-gradient(
+    246deg,
+    #6f8bcd 0%,
+    #8ea3d7 29%,
+    #ccdcff 97%
+  );
 }

+ 2 - 0
services/web/frontend/stylesheets/bootstrap-5/pages/editor/logs.scss

@@ -44,6 +44,8 @@
     }
 
     .log-entry-content {
+      --bs-code-color: var(--content-secondary-themed);
+
       color: var(--content-primary-themed);
       background-color: var(--bg-primary-themed);
       padding: 0;