fix(snapchat-web): fixes unthemed elements (#1632)
fix unthemed elements: reply text background, overlay color, chat bar background color, and replay button on stories
This commit is contained in:
1 file changed
+9
-3
@@ -70,7 +70,7 @@
|
|||||||
body > main#root * {
|
body > main#root * {
|
||||||
--sigMain: @base;
|
--sigMain: @base;
|
||||||
--sigSurface: @mantle;
|
--sigSurface: @mantle;
|
||||||
--sigSurfaceRGB: red(@mantle) green(@mantle) blue(@mantle);
|
--sigSurfaceRGB: red(@mantle), green(@mantle), blue(@mantle);
|
||||||
--sigAboveSurface: @crust;
|
--sigAboveSurface: @crust;
|
||||||
--sigSurfaceDown: @base;
|
--sigSurfaceDown: @base;
|
||||||
--sigSubscreen: @crust;
|
--sigSubscreen: @crust;
|
||||||
@@ -85,9 +85,10 @@
|
|||||||
--sigBackgroundMessageHover: @surface1;
|
--sigBackgroundMessageHover: @surface1;
|
||||||
--sigBackgroundMessageSaved: @surface0;
|
--sigBackgroundMessageSaved: @surface0;
|
||||||
--sigBackgroundMessageSavedHover: @surface2;
|
--sigBackgroundMessageSavedHover: @surface2;
|
||||||
--sigOverlay: fade(@overlay0, 40%);
|
--sigOverlay: fade(@surface1, 40%);
|
||||||
--sigOverlayHover: fade(@overlay0, 35%);
|
--sigOverlayHover: fade(@surface1, 35%);
|
||||||
--sigBrandSecondary: @accent;
|
--sigBrandSecondary: @accent;
|
||||||
|
--sigObject: rgba(255, 255, 255, 0.05);
|
||||||
|
|
||||||
--sigTextPrimary: @text;
|
--sigTextPrimary: @text;
|
||||||
--sigButtonOnPrimary: @crust;
|
--sigButtonOnPrimary: @crust;
|
||||||
@@ -159,6 +160,11 @@
|
|||||||
[data-projection-id] button {
|
[data-projection-id] button {
|
||||||
--sigColorAlwaysWhite: @surface0;
|
--sigColorAlwaysWhite: @surface0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// replay button on stories
|
||||||
|
img[role="presentation"][src^="blob:"] + div > svg > path[fill="#fff"] {
|
||||||
|
fill: @text;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user