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 * {
|
||||
--sigMain: @base;
|
||||
--sigSurface: @mantle;
|
||||
--sigSurfaceRGB: red(@mantle) green(@mantle) blue(@mantle);
|
||||
--sigSurfaceRGB: red(@mantle), green(@mantle), blue(@mantle);
|
||||
--sigAboveSurface: @crust;
|
||||
--sigSurfaceDown: @base;
|
||||
--sigSubscreen: @crust;
|
||||
@@ -85,9 +85,10 @@
|
||||
--sigBackgroundMessageHover: @surface1;
|
||||
--sigBackgroundMessageSaved: @surface0;
|
||||
--sigBackgroundMessageSavedHover: @surface2;
|
||||
--sigOverlay: fade(@overlay0, 40%);
|
||||
--sigOverlayHover: fade(@overlay0, 35%);
|
||||
--sigOverlay: fade(@surface1, 40%);
|
||||
--sigOverlayHover: fade(@surface1, 35%);
|
||||
--sigBrandSecondary: @accent;
|
||||
--sigObject: rgba(255, 255, 255, 0.05);
|
||||
|
||||
--sigTextPrimary: @text;
|
||||
--sigButtonOnPrimary: @crust;
|
||||
@@ -159,6 +160,11 @@
|
||||
[data-projection-id] button {
|
||||
--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