Skip to content

Commit

Permalink
feat: updated dashboard background color to grey-125 #1950
Browse files Browse the repository at this point in the history
  • Loading branch information
Chandru-HM authored and jmbuss committed Sep 25, 2023
1 parent 88218af commit 0f81bb2
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions packages/dashboard/src/components/internalDashboard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { useDispatch, useSelector } from 'react-redux';
import { WebglContext, TrendCursorSync, TimeSync } from '@iot-app-kit/react-components';
import Box from '@cloudscape-design/components/box';
import SpaceBetween from '@cloudscape-design/components/space-between';
import { colorBackgroundCellShaded } from '@cloudscape-design/design-tokens';

import { selectedRect } from '~/util/select';
/**
Expand Down Expand Up @@ -213,7 +214,11 @@ const InternalDashboard: React.FC<InternalDashboardProperties> = ({ onSave, edit
<ResizablePanes
leftPane={<ResourceExplorer />}
centerPane={
<div className='display-area' ref={(el) => setViewFrameElement(el || undefined)}>
<div
className='display-area'
ref={(el) => setViewFrameElement(el || undefined)}
style={{ backgroundColor: colorBackgroundCellShaded }}
>
<GestureableGrid {...gridProps}>
<ContextMenu {...contextMenuProps} />
<Widgets {...widgetsProps} />
Expand Down Expand Up @@ -249,7 +254,11 @@ const InternalDashboard: React.FC<InternalDashboardProperties> = ({ onSave, edit
</SpaceBetween>
</Box>
</div>
<div className='display-area' ref={(el) => setViewFrameElement(el || undefined)}>
<div
className='display-area'
ref={(el) => setViewFrameElement(el || undefined)}
style={{ backgroundColor: colorBackgroundCellShaded }}
>
<ReadOnlyGrid {...grid}>
<Widgets {...widgetsProps} />
</ReadOnlyGrid>
Expand Down

0 comments on commit 0f81bb2

Please sign in to comment.