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

Improve color contrast #15474

Merged
merged 38 commits into from
Jan 30, 2025
Merged
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
a33e531
Write scripts to calculate color contrast
danharrin Jan 24, 2025
ad18e05
Add text colors to shade maps
danharrin Jan 25, 2025
57bd144
Swap "custom" variable color to "color"
danharrin Jan 25, 2025
602a5bc
Improve readability of custom color var
danharrin Jan 25, 2025
c959723
Refactor button colors
danharrin Jan 26, 2025
e7cd01e
Fix outlined button
danharrin Jan 26, 2025
2441951
Customize shades for custom button colors
danharrin Jan 27, 2025
410bd30
Remove complexity
danharrin Jan 27, 2025
c9123df
Fix tests
danharrin Jan 27, 2025
23514dc
Increase text contrast on colored backgrounds
danharrin Jan 28, 2025
39f3e47
Simplify
danharrin Jan 28, 2025
9cbacbf
Update badge.css
danharrin Jan 28, 2025
de6271d
Update Button.php
danharrin Jan 28, 2025
08354fb
Update Color.php
danharrin Jan 28, 2025
63affca
Update badge.css
danharrin Jan 29, 2025
08a54e3
Merge branch '4.x' into improve-color-contrast
danharrin Jan 29, 2025
337b9a8
Refactor badge colors
danharrin Jan 29, 2025
387ac66
Refactor icon button colors
danharrin Jan 29, 2025
36cd5de
Update IconButton.php
danharrin Jan 29, 2025
d0ecafd
Update icon-button.blade.php
danharrin Jan 29, 2025
648902b
Refactor to remove extra text color variables
danharrin Jan 29, 2025
7427b60
Output custom color classes
danharrin Jan 29, 2025
5d892c7
adjust button and link weights
danharrin Jan 29, 2025
b491a15
Link color
danharrin Jan 30, 2025
ecdd821
Refactor dropdown item and add tests
danharrin Jan 30, 2025
dc432f7
Update ColorTest.php
danharrin Jan 30, 2025
ec79d6c
Dropdown header
danharrin Jan 30, 2025
8ea0efa
Toggle
danharrin Jan 30, 2025
35cda4b
Icon components
danharrin Jan 30, 2025
c64d0af
Update index.blade.php
danharrin Jan 30, 2025
6e54f06
Chart widget
danharrin Jan 30, 2025
8109e10
Widgets
danharrin Jan 30, 2025
7f857d2
Count summarizer
danharrin Jan 30, 2025
95d4528
Make icons have accessible colors
danharrin Jan 30, 2025
3c89d89
Update support.css
danharrin Jan 30, 2025
a62cd10
Icon column
danharrin Jan 30, 2025
74cb825
Update IconColumn.php
danharrin Jan 30, 2025
b6ee723
Text column
danharrin Jan 30, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update badge.css
danharrin committed Jan 28, 2025

Verified

This commit was signed with the committer’s verified signature.
danharrin Dan Harrin
commit 9cbacbfaa838c2a8b8080183d85fe827c993936b
2 changes: 1 addition & 1 deletion packages/support/resources/css/components/badge.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.fi-badge {
@apply inline-flex min-w-[theme(spacing.6)] items-center justify-center gap-x-1 rounded-md bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 ring-1 ring-gray-600/10 ring-inset dark:bg-gray-400/10 dark:text-gray-400 dark:ring-gray-400/20;
@apply inline-flex min-w-[theme(spacing.6)] items-center truncate justify-center gap-x-1 rounded-md bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 ring-1 ring-gray-600/10 ring-inset dark:bg-gray-400/10 dark:text-gray-400 dark:ring-gray-400/20;

&:not(.fi-disabled):not([disabled]) {
&.fi-color {