Skip to content

Commit

Permalink
fix(yalb-1552): update form-item bg color for checkbox contrast
Browse files Browse the repository at this point in the history
  • Loading branch information
joetower committed Sep 5, 2023
1 parent 82b7017 commit 4368aab
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
6 changes: 6 additions & 0 deletions web/themes/custom/ys_admin_theme/css/gin-custom.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion web/themes/custom/ys_admin_theme/css/gin-custom.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions web/themes/custom/ys_admin_theme/scss/gin-custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,12 @@
background: var(--dark-theme-gray);
}

.gin--dark-mode [data-drupal-selector^="views-ui-config-item-form-"] .js-form-type-checkbox,
.gin--dark-mode .js-form-item-required,
.gin--dark-mode .js-form-item-cas-enabled {
background-color: var(--darkest-gray);
}

/* checkbox spacing */
.gin--dark-mode .js-form-type-checkbox.form-type--checkbox {
padding: 0.5rem;
Expand Down

0 comments on commit 4368aab

Please sign in to comment.