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

feat(components): add theme provider component #8

Merged
merged 35 commits into from
May 19, 2024

Conversation

desmondinho
Copy link
Contributor

Description

Add theme provider component to the library of components.

Closes #7

What's been done?

Added theme provider component with the following abilities:

  • Light and dark themes customization
  • Set the default theme

Added theme related stuff:

  • Colors palette (e.g., blue, pink, green)
  • Semantic colors (e.g., background, foreground, primary, danger)
  • Layout theme configuration (e.g., typography, hover opacity)
  • Light and dark theme colors
  • Light and dark theme configs

Checklist

  • My code follows the project's coding style and guidelines.
  • I have included inline docs for my changes, where applicable.
  • I have added, updated or removed tests according to my changes.
  • All tests are passing.
  • There's an open issue for the PR that I am making.

@desmondinho desmondinho linked an issue May 19, 2024 that may be closed by this pull request
1 task
@desmondinho desmondinho self-assigned this May 19, 2024
@desmondinho desmondinho added ✨ Type: Enhancement New feature or request 📦 Scope: Components Improvements or additions to components labels May 19, 2024
Copy link

codecov bot commented May 19, 2024

Codecov Report

Attention: Patch coverage is 99.58932% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 83.36%. Comparing base (af579d7) to head (7adb661).
Report is 1 commits behind head on main.

Files Patch % Lines
...I/Components/Providers/LumexThemeProvider.razor.cs 95.65% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main       #8       +/-   ##
===========================================
+ Coverage   49.05%   83.36%   +34.31%     
===========================================
  Files          14       25       +11     
  Lines         210      649      +439     
  Branches       43       61       +18     
===========================================
+ Hits          103      541      +438     
  Misses        105      105               
- Partials        2        3        +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@desmondinho desmondinho merged commit 36c3827 into main May 19, 2024
2 of 3 checks passed
@desmondinho desmondinho deleted the feat/theme-provider branch May 19, 2024 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 Scope: Components Improvements or additions to components ✨ Type: Enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature]: Add theme provider
1 participant