Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Commit

Permalink
Replace use of var(--accent) and var(--selected-background) for backg…
Browse files Browse the repository at this point in the history
…round/edge color
  • Loading branch information
Marc-André Rivet committed Apr 16, 2020
1 parent ce95cfc commit 254fb2c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/core/environment/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const DASH_DEBUG = 'dash_debug';
const DASH_LOG = 'dash_log';

const DEFAULT_EDGE: Edge = '1px solid #d3d3d3';
const ACTIVE_EDGE: Edge = '1px solid var(--accent)';
const ACTIVE_EDGE: Edge = '1px solid hotpink';

interface ISearchParams {
get: (key: string) => string | null;
Expand Down
1 change: 0 additions & 1 deletion src/dash-table/components/Table/Table.less
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,6 @@
--background-color-ellipses: rgb(253, 253, 253);
--faded-text: rgb(250, 250, 250);
--faded-text-header: rgb(180, 180, 180);
--selected-background: rgba(255, 65, 54, 0.2);
--faded-dropdown: rgb(240, 240, 240);
--muted: rgb(200, 200, 200);
}
Expand Down
2 changes: 1 addition & 1 deletion src/dash-table/derived/cell/wrapperStyles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { traverseMap2, shallowClone } from 'core/math/matrixZipMap';

import isActiveCell from 'dash-table/derived/cell/isActive';

const SELECTED_CELL_STYLE = { backgroundColor: 'var(--selected-background)' };
const SELECTED_CELL_STYLE = { backgroundColor: 'rgba(255, 65, 54, 0.2)' };

const partialGetter = (
columns: Columns,
Expand Down

0 comments on commit 254fb2c

Please sign in to comment.