Skip to content

Conversation

@Kushan20070126
Copy link

  • Force text colors for all Streamlit components using !important
  • Separate CSS blocks for light and dark themes with explicit color definitions
  • Fix input field, card, and container styling for both themes
  • Ensure Plotly chart text and sidebar elements are visible
  • Add debug function for text visibility testing

Which issue does this PR close?

  • Closes #.

Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

- Force text colors for all Streamlit components using !important
- Separate CSS blocks for light and dark themes with explicit color definitions
- Fix input field, card, and container styling for both themes
- Ensure Plotly chart text and sidebar elements are visible
- Add debug function for text visibility testing
@github-actions
Copy link

Thanks for creating a PR for your Issue! ☺️

We'll review it as soon as possible.
In the meantime, please double-check the file changes and ensure that all commits are accurate.

If there are any unresolved review comments, feel free to resolve them. 🙌🏼

Replaced hardcoded color values in UI components with CSS variables for theme consistency. Added a helper function to apply theme-specific CSS, supporting Light, Dark, and Auto modes. Improved synchronization between sidebar dark mode toggle and settings, ensuring UI updates immediately when theme changes. Updated metric and card styles to use CSS variables for better maintainability and appearance across themes.
…alues, add slider CSS; reapply theme on settings save; safe-import transformers and BytesIO to avoid NameErrors
Introduces checks and error handling when initializing WordAnalyzer and loading transformers models and pipelines. Updates ensemble prediction and risk indicator logic to use session_state instances with exception handling, improving robustness against missing dependencies and runtime errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant