Skip to content

Use theme-based styles in ConfigureAndUploadDatasetStep#517

Merged
cristian-tamblay merged 1 commit into
developfrom
fix/palette-preview-dataset
Mar 31, 2026
Merged

Use theme-based styles in ConfigureAndUploadDatasetStep#517
cristian-tamblay merged 1 commit into
developfrom
fix/palette-preview-dataset

Conversation

@Irozuku
Copy link
Copy Markdown
Collaborator

@Irozuku Irozuku commented Mar 31, 2026

Summary

Refactors the ConfigureAndUploadDatasetStep component to use theme-based styles instead of hardcoded values, improving visual consistency and maintainability across the application.

Before

image

After

image

Type of Change

Check all that apply like this [x]:

  • Backend change
  • Frontend change
  • CI / Workflow change
  • Build / Packaging change
  • Bug fix
  • Documentation

Changes (by file)

  • ConfigureAndUploadDatasetStep.tsx:
    • Replaced hardcoded background color and padding with values from the MUI theme (theme.palette.background.box and adjusted spacing).
    • Added useTheme hook to access and apply theme variables.

Testing (optional)

  • Verify that the component renders correctly in both light and dark modes.

Replace hardcoded background color and padding with theme variables
@Irozuku Irozuku added the front Frontend work label Mar 31, 2026
@cristian-tamblay cristian-tamblay merged commit 398fdc5 into develop Mar 31, 2026
19 checks passed
@cristian-tamblay cristian-tamblay deleted the fix/palette-preview-dataset branch March 31, 2026 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

front Frontend work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants