Skip to content

Commit

Permalink
update tag style for accessibility
Browse files Browse the repository at this point in the history
  • Loading branch information
alexasselin008 committed Dec 11, 2024
1 parent 81687e6 commit d09b8d6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions apps/docs/app/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,11 @@ a.hd-home-sample__item:hover::after {
.hd-home-sample__title-tag {
align-self: center;
border-radius: var(--hd-border-radius-sm);
background-color: var(--hd-color-accent-surface-strong);
color: var(--hd-white);
color: var(--hd-color-accent-text);
background-color: var(--hd-color-accent-surface);
font-size: 0.75rem;
font-weight: 400;
padding: var(--hd-space-05);
padding: 0.125rem var(--hd-space-05);
}

.hd-home-sample__tagline {
Expand Down
6 changes: 3 additions & 3 deletions apps/docs/app/ui/layout/mobileMenu/mobileMenu.css
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@
.hd-mobile-menu-nav-tag {
align-self: center;
border-radius: var(--hd-border-radius-sm);
background-color: var(--hd-color-accent-surface-strong);
color: var(--hd-white);
color: var(--hd-color-accent-text);
background-color: var(--hd-color-accent-surface);
font-size: 0.75rem;
padding: var(--hd-space-05);
padding: 0.125rem var(--hd-space-05);
}

.hd-mobile-menu--opening {
Expand Down
8 changes: 4 additions & 4 deletions apps/docs/app/ui/layout/nav/nav.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@
/* Tag */
.hd-nav__link-tag {
border-radius: var(--hd-border-radius-sm);
background-color: var(--hd-color-accent-surface-strong);
color: var(--hd-white);
font-size: 0.75rem;
padding: var(--hd-space-05);
color: var(--hd-color-accent-text);
background-color: var(--hd-color-accent-surface);
font-size: 0.825rem;
padding: 0.125rem var(--hd-space-05);
margin-inline-start: var(--hd-space-05);
}

0 comments on commit d09b8d6

Please sign in to comment.