Przeglądaj źródła

set global style for handsontable

Yuki Takei 2 lat temu
rodzic
commit
3444eb3d8f

+ 19 - 0
apps/app/src/styles/_override-handsontable.scss

@@ -0,0 +1,19 @@
+@use '@growi/core/scss/bootstrap/init' as bs;
+
+// Table
+@include bs.color-mode(dark) {
+  .handsontable:not(.htMenu) .handsontable.ht_master {
+    td {
+      color: var(--bs-gray-800);
+    }
+  }
+}
+
+// Context Menu
+@include bs.color-mode(dark) {
+  .handsontable.htMenu .handsontable.ht_master {
+    td:not(.htDisabled) {
+      color: var(--bs-gray-800);
+    }
+  }
+}

+ 3 - 0
apps/app/src/styles/vendor.scss

@@ -8,3 +8,6 @@
 // SimpleBar
 // SimpleBar
 @import 'simplebar/dist/simplebar.min.css';
 @import 'simplebar/dist/simplebar.min.css';
 @import './override-simplebar';
 @import './override-simplebar';
+
+// Handsontable
+@import './override-handsontable';