Skip to content

Commit

Permalink
fix tile actions colors
Browse files Browse the repository at this point in the history
  • Loading branch information
tomivm committed Aug 20, 2024
1 parent 87a2d15 commit 9c10e85
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/app/[locale]/dashboard/[id]/@savedData/TabsSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ export default function TabsSelector({
onChange={handleChange}
aria-label="Data selector"
variant="fullWidth"
indicatorColor="secondary"
textColor="secondary"
indicatorColor="primary"
textColor="primary"
sx={styles.tabs}
>
<Tab label={translations('history')} />
Expand Down
2 changes: 1 addition & 1 deletion src/components/Symbol/GenerateIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Tooltip from '@mui/material/Tooltip';
export default function GenerateIcon() {
return (
<Tooltip title={'Create a Pictogram'}>
<AutoAwesomeIcon />
<AutoAwesomeIcon color="secondary" />
</Tooltip>
);
}
5 changes: 3 additions & 2 deletions src/components/Symbol/Symbol.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ export default function Symbol({
{isChangingPicto ? (
<div className={style.SymbolLoadingContainer}>
<CircularProgress
color="secondary"
sx={{
justifySelf: 'center',
alignSelf: 'space-around',
Expand Down Expand Up @@ -140,7 +141,7 @@ const ImagePagination = ({
<CircleIcon
sx={{ fontSize: 10 }}
fontSize="inherit"
color="primary"
color="secondary"
key={i}
/>,
);
Expand All @@ -149,7 +150,7 @@ const ImagePagination = ({
<RadioButtonUncheckedIcon
sx={{ fontSize: 10 }}
// fontSize="inherit"
color="primary"
color="secondary"
key={i}
/>,
);
Expand Down
1 change: 1 addition & 0 deletions src/components/TileEditorModal/TileEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ const TileEditor: React.FC<PropType> = ({
src={src}
isChangingPicto={isChangingPicto}
disabled={!src && !areUnviewedPictoGenerations}
tileColor={tile.backgroundColor}
/>
))}
</div>
Expand Down

0 comments on commit 9c10e85

Please sign in to comment.