Skip to content

Commit

Permalink
fix #1401
Browse files Browse the repository at this point in the history
  • Loading branch information
inc2734 committed Jan 17, 2024
1 parent 7e63c66 commit 42834c8
Show file tree
Hide file tree
Showing 20 changed files with 21 additions and 27 deletions.
1 change: 0 additions & 1 deletion src/css/app/core/mixin/_entry-content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
> h2 {
border-left: var(--entry-content-h2-border-left);
background-color: var(--entry-content-h2-background-color);
color: var(--wp--preset--color--sm-text);
padding: var(--entry-content-h2-padding);
}

Expand Down
2 changes: 1 addition & 1 deletion src/css/app/core/mixin/_table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

th {
border: 1px solid rgba(255, 255, 255, .3);
color: var(--wp--preset--color--sm-text-alt);
color: var(--wp--preset--color--white);
}
}

Expand Down
1 change: 1 addition & 0 deletions src/css/app/foundation/_body/_app.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
body {
overflow-wrap: break-word;
background-color: var(--_global--background-color);
color: var(--wp--preset--color--sm-text);
font-family: var(--_global--font-family);
font-variant-ligatures: none;
}
1 change: 0 additions & 1 deletion src/css/app/layout/_overlay-widget-area/_app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
position: relative;
margin: auto;
background-color: var(--wp--preset--color--sm-text-alt);
color: var(--wp--preset--color--sm-text);
padding: var(--_padding1);
width: min(90vw, #{ _px2rem(map-get($_sizes, lg)) });

Expand Down
4 changes: 2 additions & 2 deletions src/css/app/object/component/_drawer/_app.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.#{ $_prefix }c-drawer {
z-index: 100000;
background-color: var(--wp--preset--color--sm-accent);
color: var(--wp--preset--color--sm-text-alt);
color: var(--wp--preset--color--white);
@include _set-font-size-level(-1);

a {
Expand All @@ -10,7 +10,7 @@

.#{ $_prefix }c-ic-angle-right {
&::before {
border-color: var(--wp--preset--color--sm-text-alt);
border-color: var(--wp--preset--color--white);
}
}

Expand Down
4 changes: 1 addition & 3 deletions src/css/app/object/component/_entry-summary/_app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
&__term {
display: inline-block;
background-color: var(--wp--preset--color--sm-accent);
color: var(--wp--preset--color--sm-text-alt);
color: var(--wp--preset--color--white);
font-weight: bold;
@include _set-font-size-level(-2);
padding: calc(var(--_padding-2) * .5) var(--_padding-2);
Expand All @@ -39,7 +39,6 @@
}

&__content {
color: var(--wp--preset--color--sm-text);
@include _set-font-size-level(-1);
}

Expand Down Expand Up @@ -88,7 +87,6 @@

&__content {
display: none;
color: var(--wp--preset--color--sm-text);
@include _set-font-size-level(-1);

@include _media-min(md) {
Expand Down
2 changes: 1 addition & 1 deletion src/css/app/object/component/_page-top/_app-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
}

a {
color: var(--wp--preset--color--sm-text-alt);
color: var(--wp--preset--color--white);
}
}
4 changes: 2 additions & 2 deletions src/css/app/object/component/_pagination/_app-theme.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.#{ $_prefix }c-pagination {
&__item {
background-color: var(--wp--preset--color--sm-accent);
color: var(--wp--preset--color--sm-text-alt);
color: var(--wp--preset--color--white);
}

&__item-link,
Expand All @@ -12,7 +12,7 @@
&__item-link {
@include _hover() {
background-color: var(--wp--preset--color--sm-light-gray);
color: var(--wp--preset--color--sm-text-alt);
color: var(--wp--preset--color--white);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
}

a.tag-cloud-link {
color: var(--wp--preset--color--sm-text);
color: inherit;
text-decoration: none;
}

Expand Down
1 change: 0 additions & 1 deletion src/css/app/object/component/_wp-profile-box/_app.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.wp-profile-box {
background-color: var(--wp--preset--color--sm-lightest-gray);
color: var(--wp--preset--color--sm-text);

&__title {
border-bottom: 1px solid transparent;
Expand Down
2 changes: 1 addition & 1 deletion src/css/app/object/component/_wpco/_app-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
a {
&::before {
background-color: var(--wp--preset--color--sm-accent);
color: var(--wp--preset--color--sm-text-alt);
color: var(--wp--preset--color--white);
font-size: 10px;
line-height: 1;
}
Expand Down
2 changes: 1 addition & 1 deletion src/css/app/object/project/_follow-box/_app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
&__inner {
position: relative;
padding: var(--_padding2) var(--_padding1);
color: #fff;
color: var(--wp--preset--color--white);
}

&__title {
Expand Down
2 changes: 1 addition & 1 deletion src/css/app/object/project/_footer-sticky-nav/_app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

&.sm-nav-menu-item-highlight {
background-color: var(--wp--preset--color--sm-accent);
color: var(--wp--preset--color--sm-text-alt);
color: var(--wp--preset--color--white);
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions src/css/app/object/project/_global-nav/_app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@

&.sm-nav-menu-item-highlight {
background-color: var(--wp--preset--color--sm-accent);
color: var(--wp--preset--color--sm-text-alt) !important;
color: var(--wp--preset--color--white) !important;

&::after {
display: none;
Expand Down Expand Up @@ -96,7 +96,7 @@

&__subitem {
@include _set-font-size-level(-1);
color: var(--wp--preset--color--sm-text-alt);
color: var(--wp--preset--color--white);

&.sm-nav-menu-item-highlight {
background-color: var(--wp--preset--color--sm-accent);
Expand Down Expand Up @@ -147,13 +147,13 @@

.#{ $_prefix }c-navbar__subitem {
.#{ $_prefix }c-navbar__toggle {
color: var(--wp--preset--color--sm-text-alt);
color: var(--wp--preset--color--white);

> .#{ $_prefix }c-ic-angle-right {
transform: rotate(0);

&::before {
border-color: var(--wp--preset--color--sm-text-alt);
border-color: var(--wp--preset--color--white);
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/css/app/object/project/_infobar/_app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

&__content {
flex: 0 1 auto;
color: var(--wp--preset--color--sm-text-alt);
color: var(--wp--preset--color--white);

a {
color: inherit;
Expand Down
2 changes: 1 addition & 1 deletion src/css/block-library/_wp-block-table/_app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

th {
border-color: rgba(255, 255, 255, .3);
color: var(--wp--preset--color--sm-text-alt);
color: var(--wp--preset--color--white);
}
}
}
Expand Down
1 change: 0 additions & 1 deletion src/css/custom-widgets/_wpaw-carousel/_app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
}

&__item {
color: var(--wp--preset--color--sm-text);
text-decoration: none;

@include _hover() {
Expand Down
3 changes: 1 addition & 2 deletions src/css/custom-widgets/_wpaw-pickup-slider/_app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,7 @@
}

span {
color: var(--wp--preset--color--sm-text-alt);
color: var(--wp--preset--color--sm-text-alt);
color: var(--wp--preset--color--white);
font-size: 20px;
}

Expand Down
2 changes: 1 addition & 1 deletion src/css/custom-widgets/_wpaw-term/_app.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.wpaw-term {
background-color: var(--wp--preset--color--sm-accent);
color: var(--wp--preset--color--sm-text-alt);
color: var(--wp--preset--color--white);
font-weight: bold;
@include _set-font-size-level(-2);
padding: calc(var(--_padding-2) * .5) var(--_padding-2);
Expand Down
2 changes: 1 addition & 1 deletion src/css/dependency/snow-monkey-forms/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
.snow-monkey-form--button-has-accent-color .smf-button-control__control {
background-color: var(--wp--preset--color--sm-accent);
background-image: none;
color: var(--wp--preset--color--sm-text-alt);
color: var(--wp--preset--color--white);
border: none;
@include _transition(filter);

Expand Down

0 comments on commit 42834c8

Please sign in to comment.