8000 Improve accessibility with better color contrast by tagliala · Pull Request #8535 · activeadmin/activeadmin · GitHub
[go: up one dir, main page]

Skip to content

Improve accessibility with better color contrast #8535

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions app/views/active_admin/_site_footer.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="text-sm text-center mt-16 mx-8 pt-9 pb-12 text-gray-500 border-t dark:border-gray-800">
<div class="text-sm text-center mt-16 mx-8 pt-9 pb-12 text-gray-500 dark:text-gray-400 border-t dark:border-gray-800">
<%= I18n.t(
"active_admin.powered_by",
active_admin: link_to("Active Admin", "https://activeadmin.info", class: "text-gray-500 dark:text-gray-500 hover:text-gray-900 dark:hover:text-gray-400 no-underline"),
active_admin: link_to("Active Admin", "https://activeadmin.info", class: "text-gray-500 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-300 no-underline"),
version: ActiveAdmin::VERSION
).html_safe %>
</div>
2 changes: 1 addition & 1 deletion app/views/active_admin/shared/_resource_comments.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<span class="font-semibold">
<%= comment.author ? auto_link(comment.author) : I18n.t("active_admin.comments.author_missing") %>
</span>
<span class="text-xs text-gray-400">
<span class="text-xs text-gray-500 dark:text-gray-400">
<%= pretty_format comment.created_at %>
</span>
</div>
Expand Down
4 changes: 2 additions & 2 deletions plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ export default plugin(
'@apply bg-gray-50 border border-gray-300 text-gray-900 rounded-md focus:ring-blue-500 focus:border-blue-500 w-full dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500': {}
},
'a': {
'@apply text-blue-600 underline underline-offset-[.2rem]': {}
'@apply text-blue-600 dark:text-blue-500 underline underline-offset-[.2rem]': {}
},
});
addComponents({
Expand Down Expand Up @@ -509,7 +509,7 @@ export default plugin(
'@apply sr-only': {}
},
'.formtastic :where(.inline-hints)': {
'@apply text-gray-500 mt-2': {}
'@apply text-gray-500 dark:text-gray-400 mt-2': {}
},
'.formtastic :where(.errors)': {
'@apply p-4 mb-6 rounded-md space-y-2 bg-red-50 text-red-800 dark:bg-red-800 dark:text-red-300': {}
Expand Down
Loading
0