Skip to content

Commit

Permalink
fix(yalb-1552): update media grid pattern-fallback color var
Browse files Browse the repository at this point in the history
  • Loading branch information
joetower committed Sep 6, 2023
1 parent 587306f commit 58437a5
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 7 deletions.

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

21 changes: 19 additions & 2 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.

Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
--gin-color-button-text: var(--dark-theme-gray-hover);
--gin-color-button-text-hover: var(--dark-theme-gray-hover);
--gin-border-color-layer2: #A8A8A8 !important;
--gin-pattern-fallback: var(--wool);
--gin-pattern-fallback: var(--light-gray);
--dropbutton-extrasmall-toggle-size: 1.5rem;
}
}
Expand Down
21 changes: 19 additions & 2 deletions web/themes/custom/ys_admin_theme/scss/gin-custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,10 @@
background-color: var(--wool);
}

.gin--dark-mode[dir="ltr"] .media-library-item img {
background-image: unset !important;
}

/* Embed component */
.gin--dark-mode .ui-dialog .ui-widget-content.ui-dialog-content h2 {
color: var(--wool);
Expand Down Expand Up @@ -348,11 +352,13 @@
border: 0;
padding: 0;
width: 100%;
float: none;
}

.gin--dark-mode .fieldset-legend.fieldset__label {
.gin--dark-mode .fieldset-legend.fieldset__label,
.gin--dark-mode .fieldset__legend.fieldset__legend--visible .fieldset__label {
display: block;
color: var(--darkest-gray);
color: var(--darkest-gray) !important;
background-color: var(--wool);
border-top-left-radius: 0.5rem;
border-top-right-radius: 0.5rem;
Expand All @@ -363,6 +369,11 @@
margin-right: -0.15rem;
}

.gin--dark-mode .fieldset__label.fieldset__label--group {
padding-left: 1.5rem;
padding-right: 1.5rem;
}

.gin--dark-mode #edit-footer-logos .fieldset-wrapper {
padding: 1rem;
}
Expand All @@ -381,4 +392,10 @@
outline: 0.15rem solid var(--wool);
}

/* Radios */
.gin--dark-mode .form-type--radio .form-radio {
border: 1px solid var(--wool);
background-color: var(--darkest-gray);
}

/* stylelint-enable */

0 comments on commit 58437a5

Please sign in to comment.