Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modularise and tidy up CSS #102

Open
cjrace opened this issue Dec 8, 2024 · 0 comments
Open

Modularise and tidy up CSS #102

cjrace opened this issue Dec 8, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@cjrace
Copy link
Contributor

cjrace commented Dec 8, 2024

We currently have one long custom CSS to style the dashboard. Though we should tidy this up:

Remove all unnecessary CSS

  1. Make use of what is already attached in shinyGovstyle from the GDS design system
  2. Modularise into CSS for specific components
  3. Move any CSS for specific components into the dfeshiny package, attached to the specific components

Remove as many instances of !important as we can

  • !important is generally bad practice, and can usually be avoided by using the appropriate specificity for the CSS assignments
@cjrace cjrace added the enhancement New feature or request label Dec 8, 2024
@cjrace cjrace added this to the Accessibility UI refresh milestone Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant