Skip to content

Commit be0563f

Browse files
committed
Changed variable scss for grid
1 parent 8bb6160 commit be0563f

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

src/assets/variables.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
//* Core
22
$bg-button: #f2f2f2;
33
$bg-input: #ffffff;
4+
$bg-grid: #ffffff;
45
$bg-hover: #d3eafff5;
56
$bg-selected: rgba(0, 0, 0, 0.03);
67
$bg-grid-odd: rgba(0, 0, 0, 0.04);
@@ -58,6 +59,7 @@ $bg-multiautocomplete-item: #e8e8e8;
5859
//* Core
5960
--bg-button: #000000;
6061
--bg-input: #000000;
62+
--bg-grid: #000000;
6163
--bg-hover: #303030f5;
6264
--bg-grid-odd: rgba(117, 117, 117, 0.342);
6365

@@ -127,4 +129,3 @@ body ::-webkit-scrollbar-thumb:window-inactive {
127129
body ::-webkit-scrollbar-thumb:hover {
128130
background: rgba(128, 135, 139, 80%);
129131
}
130-

src/components/hive-grid/hive-grid-header.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ watch(currentQuery, () => {
9191
@import '@/assets/variables.scss';
9292
9393
.hive-grid__header {
94-
background-color: var(--bg-input, $bg-input);
94+
background-color: var(--bg-grid, $bg-grid);
9595
border: 1px solid rgba(0, 0, 0, 0.08);
9696
position: sticky;
9797
top: 0;

src/components/hive-grid/hive-grid.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ const currentPageItems = computed(() => {
481481
}
482482
483483
& tr.even {
484-
background-color: var(--bg-input, $bg-input);
484+
background-color: var(--bg-grid, $bg-grid);
485485
}
486486
487487
& tr.odd {

src/examples/App.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ const a = 1;
1212
<hive-pane id="light">
1313
<all-widgets />
1414
</hive-pane>
15-
<!-- <hive-pane id="dark">
15+
<hive-pane id="dark">
1616
<div hive-theme="dark" style="background: black; color: white">
1717
<all-widgets dark />
1818
</div>
19-
</hive-pane> -->
19+
</hive-pane>
2020
</hive-splitter>
2121
<!-- <div>
2222
<filter-new />

0 commit comments

Comments
 (0)