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

Theme Style class and Static Analysis fix #1

Merged
merged 2 commits into from
May 16, 2023
Merged

Theme Style class and Static Analysis fix #1

merged 2 commits into from
May 16, 2023

Conversation

WendellAdriel
Copy link
Member

I'm adding in this PR a ThemeStyle class, using the same approach I added on minicli/minicli to wrap how to work with the styles for non-Termwind themes.

I'm also updating the ThemeContract and the DefaultTheme to use this new class and also fixing the static analysis issues reported by PHPStan.

Besides these changes, I added a warning and warningAlt methods for warning-styled messages and the styles for the font-weight changes to both ThemeContract and DefaultTheme classes.

@JustSteveKing JustSteveKing merged commit 247de8f into minicli:main May 16, 2023
@WendellAdriel WendellAdriel deleted the theme-style branch May 16, 2023 12:28
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