Skip to content

Commit 3da3813

Browse files
committed
[minimap] use CSS variables
1 parent 9fb97fa commit 3da3813

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

packages/minimap/src/Minimap.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ export const MiniMap: FC<MiniMapProps> = ({ width, height, debounceTime }) => {
118118
>
119119
<div
120120
style={{
121-
border: '1px solid #000',
122-
backgroundColor: '#CCC',
121+
border: '1px solid var(--sigma-controls-color)',
122+
backgroundColor: 'var(--sigma-controls-color)',
123123
opacity: 0.5,
124124
position: 'absolute',
125125
...view,

packages/minimap/src/assets/index.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)