Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update colors in 'Site view' #51856

Merged
merged 1 commit into from
Jun 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/edit-site/src/components/layout/style.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.edit-site-layout {
height: 100%;
background: $gray-900;
color: $white;
color: $gray-400;
display: flex;
flex-direction: column;

Expand Down
4 changes: 2 additions & 2 deletions packages/edit-site/src/components/page-library/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}

.components-heading {
color: $white;
color: $gray-200;
}

@include break-medium {
Expand Down Expand Up @@ -78,7 +78,7 @@
.edit-site-library__search {
&#{&} input[type="search"] {
background: $gray-800;
color: $gray-100;
color: $gray-200;

&:focus {
background: $gray-800;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
&:focus,
&:not([aria-disabled="true"]):active,
&[aria-expanded="true"] {
color: $white;
color: $gray-100;
}
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
.sidebar-navigation__more-menu {
.components-button {
color: $gray-600;
color: $gray-200;
&:hover,
&:focus,
&[aria-current] {
color: $white;
color: $gray-100;
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export default function SidebarNavigationScreen( {
) }
<Heading
className="edit-site-sidebar-navigation-screen__title"
color={ 'white' }
color={ '#e0e0e0' /* $gray-200 */ }
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't really ideal, but it's the best we can do for now without using an !important rule in the css.

level={ 1 }
size={ 20 }
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
}

.edit-site-sidebar-navigation-screen__content {
color: $gray-400;
padding: 0 $grid-unit-20;

.components-item-group {
Expand Down
7 changes: 4 additions & 3 deletions packages/edit-site/src/components/site-hub/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
opacity: 1;
}
svg {
fill: $white;
fill: $gray-200;
}
}
&:hover {
Expand Down Expand Up @@ -55,12 +55,13 @@
.edit-site-site-hub__site-title {
margin-left: $grid-unit-05;
flex-grow: 1;
color: $gray-200;
}

.edit-site-site-hub_toggle-command-center {
color: $white;
color: $gray-200;

&:hover {
color: $white;
color: $gray-100;
}
}