浏览代码

fix local and app wide styles

sergei 3 年之前
父节点
当前提交
c00870d0af

+ 5 - 5
kafka-ui-react-app/src/components/Nav/ClusterMenuItem/ClusterMenuItem.styled.ts

@@ -13,17 +13,17 @@ const StyledMenuItem = styled('li')<Props>`
     cursor: pointer;
     cursor: pointer;
     text-decoration: none;
     text-decoration: none;
     margin: 0px 0px;
     margin: 0px 0px;
-    font-family: Inter, sans-serif;
+    font-family: 'Inter', sans-serif;
     font-style: normal;
     font-style: normal;
     font-weight: normal;
     font-weight: normal;
     font-size: 14px;
     font-size: 14px;
     line-height: 20px;
     line-height: 20px;
-    background: '#fff';
-    color: '#73848C';
+    background: #fff;
+    color: #73848c;
 
 
     &.is-active {
     &.is-active {
-      background: '#E3E6E8';
-      color: '#171A1C';
+      background: #e3e6e8;
+      color: #171a1c;
     }
     }
   }
   }
 `;
 `;

+ 1 - 1
kafka-ui-react-app/src/theme/bulma_overrides.scss

@@ -58,7 +58,7 @@
 }
 }
 
 
 .is-family-code {
 .is-family-code {
-  font-family: 'Roboto Mono' !important;
+  font-family: 'Roboto Mono', sans-serif !important;
   font-size: 0.9rem;
   font-size: 0.9rem;
   line-height: 1.5em;
   line-height: 1.5em;
 }
 }

+ 1 - 1
kafka-ui-react-app/src/theme/index.scss

@@ -33,5 +33,5 @@ html {
 }
 }
 
 
 code {
 code {
-  font-family: 'Roboto Mono';
+  font-family: 'Roboto Mono', sans-serif;
 }
 }