fix(pinterest): variables and pin actions (#1660)
* fix(pinterest): color-text-light equal @mantle to be more like original theme. * fix(pinterest): tertiary-hover be more like original theme * fix(pinterest): dealing with all cases for white rectangles * fix(pinterest): better pin Profile label colors/contrast * fix(pinterest): non-rounded background for pin links * fix(pinterest): one-bar-pill text contrast * fix(pinterest): closeup-image-main bg
This commit is contained in:
1 parent
be1565f273
commit
7ca389f190
1 file changed
+21
-13
@@ -69,7 +69,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
--color-text-light: @text;
|
--color-text-light: @mantle;
|
||||||
--color-text-dark: @text;
|
--color-text-dark: @text;
|
||||||
--color-text-default: @text;
|
--color-text-default: @text;
|
||||||
--color-text-inverse: @mantle;
|
--color-text-inverse: @mantle;
|
||||||
@@ -113,7 +113,7 @@
|
|||||||
--color-background-button-secondary-hover: @surface1;
|
--color-background-button-secondary-hover: @surface1;
|
||||||
--color-background-button-secondary-active: @surface2;
|
--color-background-button-secondary-active: @surface2;
|
||||||
--color-background-button-selected-default: @subtext1;
|
--color-background-button-selected-default: @subtext1;
|
||||||
--color-background-button-tertiary-hover: @surface0;
|
--color-background-button-tertiary-hover: fade(@surface2, 10%);
|
||||||
--color-background-button-shopping-default: @blue;
|
--color-background-button-shopping-default: @blue;
|
||||||
--color-background-button-shopping-hover: darken(@blue, 12%);
|
--color-background-button-shopping-hover: darken(@blue, 12%);
|
||||||
--color-background-tag-primary-default: @surface1;
|
--color-background-tag-primary-default: @surface1;
|
||||||
@@ -321,6 +321,10 @@
|
|||||||
background-color: @base;
|
background-color: @base;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
button[data-test-id="one-bar-pill"] {
|
||||||
|
--color-text-dark: var(--color-text-inverse);
|
||||||
|
}
|
||||||
|
|
||||||
div[data-test-id="product-price-filter-one-bar-pill"] button[data-test-id="one-bar-pill"] svg {
|
div[data-test-id="product-price-filter-one-bar-pill"] button[data-test-id="one-bar-pill"] svg {
|
||||||
color: @base !important;
|
color: @base !important;
|
||||||
}
|
}
|
||||||
@@ -438,16 +442,28 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
div[data-test-id="homefeed-feed"] div[style*="background-color:#ffffff"] {
|
div[data-test-id="homefeed-feed"] {
|
||||||
background-color: @base !important;
|
div[style*="background-color:#ffffff"],
|
||||||
|
div[style*="background-color: rgb(255, 255, 255)"] {
|
||||||
|
background-color: @base !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Pins */
|
/* Pins */
|
||||||
|
|
||||||
// image container
|
// image container
|
||||||
[data-test-id^="closeup-image"] div div {
|
[data-test-id="closeup-image-main"] div div {
|
||||||
background-color: @mantle !important;
|
background-color: @mantle !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
button[data-test-id="PinBetterSaveDropdown"] {
|
||||||
|
div[title="Profile"], svg {
|
||||||
|
color: if(@flavor = latte, var(--color-text-inverse), @text) !important;
|
||||||
|
}
|
||||||
|
.G0a div[title="Profile"], .G0a svg {
|
||||||
|
color: var(--color-text-inverse) !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// pin icons
|
// pin icons
|
||||||
button[data-test-id="feedback-button"],
|
button[data-test-id="feedback-button"],
|
||||||
@@ -476,14 +492,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
div[data-test-id="pinrep-source-link"] {
|
|
||||||
background-color: @base !important;
|
|
||||||
|
|
||||||
a div {
|
|
||||||
color: @text !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
div[data-test-id="savedInfo"] a {
|
div[data-test-id="savedInfo"] a {
|
||||||
background-color: transparent !important;
|
background-color: transparent !important;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user