Update new row component icon color

This commit is contained in:
Andrew Kingston 2023-04-24 12:53:17 +01:00
parent 5cbaf2f58a
commit 3a42949b27
3 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@
import AddRowButton from "../controls/AddRowButton.svelte" import AddRowButton from "../controls/AddRowButton.svelte"
import RowHeightButton from "../controls/RowHeightButton.svelte" import RowHeightButton from "../controls/RowHeightButton.svelte"
import ColumnWidthButton from "../controls/ColumnWidthButton.svelte" import ColumnWidthButton from "../controls/ColumnWidthButton.svelte"
import NewRowTop from "./NewRowTop.svelte" import NewRow from "./NewRow.svelte"
import { import {
MaxCellRenderHeight, MaxCellRenderHeight,
MaxCellRenderWidthOverflow, MaxCellRenderWidthOverflow,
@ -130,7 +130,7 @@
<HeaderRow /> <HeaderRow />
<GridBody /> <GridBody />
</div> </div>
<NewRowTop /> <NewRow />
<div class="overlays"> <div class="overlays">
<ResizeOverlay /> <ResizeOverlay />
<ReorderOverlay /> <ReorderOverlay />

View File

@ -141,7 +141,7 @@
style="flex: 0 0 {width}px" style="flex: 0 0 {width}px"
> >
<GutterCell on:expand={addViaModal} rowHovered> <GutterCell on:expand={addViaModal} rowHovered>
<Icon name="Add" /> <Icon name="Add" color="var(--spectrum-global-color-gray-500)" />
</GutterCell> </GutterCell>
{#if $stickyColumn} {#if $stickyColumn}
{@const cellId = `new-${$stickyColumn.name}`} {@const cellId = `new-${$stickyColumn.name}`}

View File

@ -94,7 +94,7 @@
on:click={() => dispatch("add-row-inline")} on:click={() => dispatch("add-row-inline")}
> >
<GutterCell disableExpand rowHovered={$hoveredRowId === BlankRowID}> <GutterCell disableExpand rowHovered={$hoveredRowId === BlankRowID}>
<Icon name="Add" /> <Icon name="Add" color="var(--spectrum-global-color-gray-500)" />
</GutterCell> </GutterCell>
{#if $stickyColumn} {#if $stickyColumn}
<GridCell <GridCell