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

Colors changes #580

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Colors changes #580

wants to merge 1 commit into from

Conversation

JimmyHoenderdaal
Copy link
Member

@JimmyHoenderdaal JimmyHoenderdaal commented Sep 23, 2024

Changes & adds some colors that we use regularly
This is blocking rapidez/account#50

@@ -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') }}>
Copy link
Member

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?

Copy link
Member Author

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

Comment on lines +25 to +29
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
},
Copy link
Member

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

Copy link
Member Author

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

Copy link
Member

@royduin royduin left a 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

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.

2 participants