mirror of
https://github.com/stan-smith/FossFLOW.git
synced 2025-12-26 16:09:10 -05:00
feat: updates cursor styling
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import React from 'react';
|
||||
import chroma from 'chroma-js';
|
||||
import { useTheme } from '@mui/material';
|
||||
import { IsoTileArea } from 'src/components/IsoTileArea/IsoTileArea';
|
||||
import { useUiStateStore } from 'src/stores/uiStateStore';
|
||||
@@ -16,7 +17,7 @@ export const Cursor = () => {
|
||||
<IsoTileArea
|
||||
from={tile}
|
||||
to={tile}
|
||||
fill={theme.palette.primary.main}
|
||||
fill={chroma(theme.palette.primary.main).alpha(0.5).css()}
|
||||
zoom={zoom}
|
||||
cornerRadius={10 * zoom}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user