ayaka417 3 лет назад
Родитель
Сommit
8d256eb9fc

+ 16 - 16
packages/preset-themes/src/styles/theme/_override-functions.scss

@@ -1,21 +1,21 @@
-@use './hsl-functions' as hsl;
+// @use './hsl-functions' as hsl;
 
-@function color-yiq($color, $dark: $yiq-text-dark, $light: $yiq-text-light) {
-  @return hsl.contrast($color);
-}
+// @function color-yiq($color, $dark: $yiq-text-dark, $light: $yiq-text-light) {
+//   @return hsl.contrast($color);
+// }
 
-@function lighten($color, $degrees) {
-  @return hsl.lighten($color, $degrees);
-}
+// @function lighten($color, $degrees) {
+//   @return hsl.lighten($color, $degrees);
+// }
 
-@function darken($color, $degrees) {
-  @return hsl.darken($color, $degrees);
-}
+// @function darken($color, $degrees) {
+//   @return hsl.darken($color, $degrees);
+// }
 
-@function mix($color1, $color2, $degrees) {
-  @return $color1;
-}
+// @function mix($color1, $color2, $degrees) {
+//   @return $color1;
+// }
 
-@function rgba($color, $degrees) {
-  @return hsl.alpha($color, $degrees);
-}
+// @function rgba($color, $degrees) {
+//   @return hsl.alpha($color, $degrees);
+// }

+ 19 - 19
packages/preset-themes/src/styles/theme/_reboot-bootstrap-border-colors.scss

@@ -1,25 +1,25 @@
-@use '../bootstrap/init' as *;
+// @use '../bootstrap/init' as *;
 
-//
-// Border
-//
+// //
+// // Border
+// //
 
-.border {
-  border: $border-width solid $border-color !important;
-}
+// .border {
+//   border: $border-width solid $border-color !important;
+// }
 
-.border-top {
-  border-top: $border-width solid $border-color !important;
-}
+// .border-top {
+//   border-top: $border-width solid $border-color !important;
+// }
 
-.border-right {
-  border-right: $border-width solid $border-color !important;
-}
+// .border-right {
+//   border-right: $border-width solid $border-color !important;
+// }
 
-.border-bottom {
-  border-bottom: $border-width solid $border-color !important;
-}
+// .border-bottom {
+//   border-bottom: $border-width solid $border-color !important;
+// }
 
-.border-left {
-  border-left: $border-width solid $border-color !important;
-}
+// .border-left {
+//   border-left: $border-width solid $border-color !important;
+// }

+ 51 - 51
packages/preset-themes/src/styles/theme/_reboot-bootstrap-nav.scss

@@ -1,51 +1,51 @@
-//
-//
-// Apply partially
-//   https://github.com/twbs/bootstrap/blob/v4.5.0/scss/_nav.scss
-//
-//
-
-.nav-link {
-  // Disabled state lightens text
-  &.disabled {
-    color: $nav-link-disabled-color;
-    svg {
-      fill: $nav-link-disabled-color;
-    }
-  }
-}
-
-//
-// Tabs
-//
-
-.nav-tabs {
-  border-bottom: $nav-tabs-border-width solid $nav-tabs-border-color;
-
-  .nav-link {
-    border: $nav-tabs-border-width solid transparent;
-    @include border-top-radius($nav-tabs-border-radius);
-
-    @include hover-focus() {
-      border-color: $nav-tabs-link-hover-border-color;
-    }
-
-    &.disabled {
-      color: $nav-link-disabled-color;
-      background-color: transparent;
-      border-color: transparent;
-    }
-  }
-
-  .nav-link.active,
-  .nav-item.show .nav-link {
-    color: $nav-tabs-link-active-color;
-    background-color: $nav-tabs-link-active-bg;
-    border-color: $nav-tabs-link-active-border-color;
-  }
-
-  .dropdown-menu {
-    // Remove the top rounded corners here since there is a hard edge above the menu
-    @include border-top-radius(0);
-  }
-}
+// //
+// //
+// // Apply partially
+// //   https://github.com/twbs/bootstrap/blob/v4.5.0/scss/_nav.scss
+// //
+// //
+
+// .nav-link {
+//   // Disabled state lightens text
+//   &.disabled {
+//     color: $nav-link-disabled-color;
+//     svg {
+//       fill: $nav-link-disabled-color;
+//     }
+//   }
+// }
+
+// //
+// // Tabs
+// //
+
+// .nav-tabs {
+//   border-bottom: $nav-tabs-border-width solid $nav-tabs-border-color;
+
+//   .nav-link {
+//     border: $nav-tabs-border-width solid transparent;
+//     @include border-top-radius($nav-tabs-border-radius);
+
+//     @include hover-focus() {
+//       border-color: $nav-tabs-link-hover-border-color;
+//     }
+
+//     &.disabled {
+//       color: $nav-link-disabled-color;
+//       background-color: transparent;
+//       border-color: transparent;
+//     }
+//   }
+
+//   .nav-link.active,
+//   .nav-item.show .nav-link {
+//     color: $nav-tabs-link-active-color;
+//     background-color: $nav-tabs-link-active-bg;
+//     border-color: $nav-tabs-link-active-border-color;
+//   }
+
+//   .dropdown-menu {
+//     // Remove the top rounded corners here since there is a hard edge above the menu
+//     @include border-top-radius(0);
+//   }
+// }

+ 25 - 25
packages/preset-themes/src/styles/theme/_reboot-bootstrap-tables.scss

@@ -43,32 +43,32 @@
 //   }
 // }
 
-.table-dark {
-  color: $table-dark-color;
-  background-color: $table-dark-bg;
+// .table-dark {
+//   color: $table-dark-color;
+//   background-color: $table-dark-bg;
 
-  th,
-  td,
-  thead th {
-    border-color: $table-dark-border-color;
-  }
+//   th,
+//   td,
+//   thead th {
+//     border-color: $table-dark-border-color;
+//   }
 
-  &.table-bordered {
-    border: 0;
-  }
+//   &.table-bordered {
+//     border: 0;
+//   }
 
-  &.table-striped {
-    tbody tr:nth-of-type(#{$table-striped-order}) {
-      background-color: $table-dark-accent-bg;
-    }
-  }
+//   &.table-striped {
+//     tbody tr:nth-of-type(#{$table-striped-order}) {
+//       background-color: $table-dark-accent-bg;
+//     }
+//   }
 
-  &.table-hover {
-    tbody tr {
-      @include hover() {
-        color: $table-dark-hover-color;
-        background-color: $table-dark-hover-bg;
-      }
-    }
-  }
-}
+//   &.table-hover {
+//     tbody tr {
+//       @include hover() {
+//         color: $table-dark-hover-color;
+//         background-color: $table-dark-hover-bg;
+//       }
+//     }
+//   }
+// }

+ 3 - 3
packages/preset-themes/src/styles/theme/_reboot-bootstrap-text.scss

@@ -1,3 +1,3 @@
-.text-muted {
-  color: $text-muted !important;
-}
+// .text-muted {
+//   color: $text-muted !important;
+// }