Skip to content

Small UI refactor, wouldn't bother updating!

Choose a tag to compare

@mscodemonkey mscodemonkey released this 17 Oct 04:04
· 13 commits to main since this release

Refactor CSS to use shared stylesheet

Major refactor to follow DRY principles and Material Design:

  • Created shared.css with common styles (theme variables, base styles, components)
  • Removed duplicate CSS from dashboard.html, config_ui.html, and test_ui.html
  • Each HTML file now imports shared.css and only includes page-specific styles
  • Maintains Material Design with Roboto font
  • Much easier to maintain - one place to update common styles

Benefits:

  • ~200 lines of duplicate CSS removed
  • Consistent styling across all pages
  • Single source of truth for theme and component styles
  • Faster page loads (CSS cached across pages)