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

Thaw/v0.5 #388

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open

Thaw/v0.5 #388

wants to merge 12 commits into from

Conversation

luoxiaozero
Copy link
Collaborator

@luoxiaozero luoxiaozero commented Mar 5, 2025

This is meant to prepare for a 0.5.0-alpha release.

It will include the following breaking changes:

  • Update leptos to v0.8.0-alpha.
  • RatingColor adds Marigold attribute.

  • Theme is changed to use getset.

Reason: When adding new components requires changing ColorTheme, it is very easy to make breaking changes.

example:

// 0.4
let _ = theme.common.font_weight_bold;
let _ = theme.color.color_brand_background;
theme.common.font_weight_bold = "700".to_string();
theme.color.color_brand_background = "#f5222d".to_string();

// 0.5
let _ = theme.common.font_weight_bold();
let _ = theme.color.color_brand_background();
theme.common.set_font_weight_bold("700".to_string());
theme.color.set_color_brand_background("#f5222d".to_string());

Sorry, something went wrong.

This was referenced Mar 11, 2025
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.

None yet

2 participants