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

WIP: maryUI 2.x #623

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

WIP: maryUI 2.x #623

wants to merge 11 commits into from

Conversation

robsontenorio
Copy link
Owner

@robsontenorio robsontenorio commented Sep 17, 2024

Overview

The maryUI 2.x will be released after daisyUI 5.x and Tailwind 4.x releases.

Not all daisyUI 5.x components are ready, see the progress:
https://github.com/saadeghi/daisyui/tree/v5/components

This will be updated as daisyUI components are updated.

We don't expect deeper breaking changes, except for default style for "primary" things.

Default style

Currently all the things are styled as "primary". That was a mistake and it will be changed at 2.x. According to UX/UI experts, by default, we should not use the primary style for all the things.

But if you want to keep all the things as primary , just set it as primary.

<x-input ... class="input-primary" />
<x-toggle ... class="toggle-primary" />
<x-checkbox ... class="checkbox-primary" />

Changelog

  • Make all things non-primary (breaking)
  • Uses default daisyUI classes instead of text-red-* , text-gray-*
  • WIP ...

# Conflicts:
#	src/View/Components/Checkbox.php
#	src/View/Components/Input.php
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