-
Notifications
You must be signed in to change notification settings - Fork 11
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
Colors changes #580
base: master
Are you sure you want to change the base?
Colors changes #580
Conversation
@@ -1,3 +1,3 @@ | |||
<x-rapidez::button.base {{ $attributes->class('bg-primary text-primary-text') }}> | |||
<x-rapidez::button.base {{ $attributes->class('bg-primary text-white') }}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So when the primary color is a light color; the text is unreadable and you've to override this template?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, buttons are always custom in projects. there's not much to override either since its only classes you would add to a base.blade.php or index.blade.php
inactive: { | ||
DEFAULT: 'rgb(var(--inactive) / <alpha-value>)', // Inactive text color | ||
100: 'rgb(var(--inactive-100) / <alpha-value>)', // Background color | ||
110: 'rgb(var(--inactive-110) / <alpha-value>)', // Border color | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Inactive implies it's used for inactive states but it's used for backgrounds, borders, etc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's because the inactive color is always some sort of gray, the color we use for backgrounds and borders is also always some sort of gray. Thats why we call them this way
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The old situation feels more natural
Changes & adds some colors that we use regularly
This is blocking rapidez/account#50