Skip to content

Commit

Permalink
Refactor to remove extra text color variables
Browse files Browse the repository at this point in the history
  • Loading branch information
danharrin committed Jan 29, 2025
1 parent d0ecafd commit 648902b
Show file tree
Hide file tree
Showing 23 changed files with 260 additions and 502 deletions.
2 changes: 1 addition & 1 deletion docs-assets/app/public/css/filament/filament/app.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs-assets/app/public/css/filament/forms/forms.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs-assets/app/public/css/filament/support/support.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/forms/dist/index.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/panels/dist/theme.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/support/dist/index.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/support/resources/css/components/badge.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
}

&.fi-color {
@apply bg-color-50 ring-color-600/10 dark:bg-color-400/10 dark:text-color-300 dark:ring-color-400/30 text-(--color-50-text);
@apply bg-color-50 ring-color-600/10 dark:bg-color-400/10 dark:ring-color-400/30 text-(--text) dark:text-(--dark-text);

& .fi-icon {
@apply text-color-500;
Expand Down
4 changes: 2 additions & 2 deletions packages/support/resources/css/components/button.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@
}

&.fi-color {
@apply ring-color-600 dark:ring-color-500 text-(--color-gray-100-text) dark:text-(--color-gray-700-text);
@apply ring-color-600 dark:ring-color-500 text-(--text) dark:text-(--dark-text);

&:not(.fi-disabled):not([disabled]) {
@apply focus-visible:ring-color-500/40 dark:focus-visible:ring-color-400/40 hover:bg-(--hover-bg)/10 dark:hover:bg-(--dark-hover-bg)/10;
@apply focus-visible:ring-color-500/40 dark:focus-visible:ring-color-400/40 hover:bg-color-500/10 dark:hover:bg-color-600/10;
}

& > .fi-icon {
Expand Down
Loading

0 comments on commit 648902b

Please sign in to comment.