Skip to content

Commit cf2f2c1

Browse files
nickvergessennpmbuildbot[bot]
authored andcommitted
Use the primary element color in case it primary color is too bright
Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
1 parent 981278a commit cf2f2c1

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

core/css/apps.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ kbd {
161161
&,
162162
> a {
163163
opacity: 1;
164-
box-shadow: inset 4px 0 var(--color-primary);
164+
box-shadow: inset 4px 0 var(--color-primary-element);
165165
}
166166
}
167167

@@ -217,7 +217,7 @@ kbd {
217217
}
218218

219219
&.active {
220-
box-shadow: inset 4px 0 var(--color-primary);
220+
box-shadow: inset 4px 0 var(--color-primary-element);
221221
}
222222

223223
/* align loader */
@@ -740,7 +740,7 @@ $min-content-width: $breakpoint-mobile - $navigation-width - $list-min-width;
740740
&.opened {
741741
background-color: var(--color-main-background);
742742
opacity: 1;
743-
box-shadow: inset 4px 0 var(--color-primary);
743+
box-shadow: inset 4px 0 var(--color-primary-element);
744744
}
745745
}
746746

core/css/header.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
&:active,
144144
&.active {
145145
opacity: 1;
146-
box-shadow: inset 4px 0 var(--color-primary);
146+
box-shadow: inset 4px 0 var(--color-primary-element);
147147
}
148148
span {
149149
display: inline-block;

core/js/dist/main.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/js/dist/main.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/src/jquery/css/jquery-ui-fixes.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188
padding: 4px 4px 4px 14px;
189189

190190
&.ui-state-focus, &.ui-state-active {
191-
box-shadow: inset 4px 0 var(--color-primary);
191+
box-shadow: inset 4px 0 var(--color-primary-element);
192192
color: var(--color-main-text);
193193
}
194194
}

0 commit comments

Comments
 (0)