Skip to content

Commit

Permalink
Refactored CSS Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruuvarora committed Dec 29, 2024
1 parent addb063 commit fb2b699
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion src/style/app.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
--bs-primary: #0056b3;
--bs-white: #fff;
--bs-dark: #343a40;
--bs-secondary-text: #6c757d;
--toggle-button-bg: #1e4e8c;
--table-head-bg: var(
--bs-primary,
Expand Down Expand Up @@ -4086,6 +4087,11 @@ button[data-testid='createPostBtn'] {
align-items: center;
justify-content: space-between;
width: 100%;
/* Add focus styles for keyboard navigation */
&:focus-within {
outline: 2px solid var(--bs-primary);
outline-offset: 2px;
}
}

.bg-danger {
Expand All @@ -4104,6 +4110,11 @@ button[data-testid='createPostBtn'] {
width: 40px;
height: 40px;
border-radius: 50%;
/* Add alt text styles */
&[alt] {
font-size: 0.875rem;
color: var(--bs-emphasis-color);
}
}

.profileText {
Expand All @@ -4112,11 +4123,14 @@ button[data-testid='createPostBtn'] {

.primaryText {
font-weight: bold;
/* Ensure sufficient color contrast */
color: var(--bs-emphasis-color, #000);
}

.secondaryText {
font-size: 0.9rem;
color: var(--grey-bg-color);
/* Use semantic color with better contrast */
color: var(--bs-secondary-text);
}

/* Dropdown and options list */
Expand Down

0 comments on commit fb2b699

Please sign in to comment.