css: Fix theme switch changing color of elements at different intervals.

Due to these transitions the theme switch from dark <-> light was
not pleasant as the background color and color changed at different
intervals.
This commit is contained in:
Aman Agrawal 2024-05-10 07:31:23 +00:00 committed by Tim Abbott
parent d4d57193df
commit 80d19fe15d
3 changed files with 0 additions and 6 deletions

View File

@ -115,7 +115,6 @@ input::placeholder {
box-shadow: none;
cursor: pointer;
transition: all 0.2s ease;
/* -- button style variations -- */
&.no-style {

View File

@ -35,7 +35,6 @@
);
border: 1px solid
var(--color-compose-collapsed-reply-button-area-border);
transition: all 0.2s ease;
&:hover,
&:focus {
@ -77,8 +76,6 @@
margin: 1px;
flex-shrink: 0;
transition: background-color 0.2s ease;
color: var(--color-compose-embedded-button-text-color);
&:hover {
@ -111,7 +108,6 @@
/* Main geometry for this element is in zulip.css */
#compose-content {
background-color: hsl(232deg 30% 92%);
transition: background-color 200ms linear;
padding: 4px 4px 8px;
border: 1px solid hsl(0deg 0% 0% / 10%);
border-radius: 9px 9px 0 0;

View File

@ -28,7 +28,6 @@ body {
font-family: "Source Sans 3 VF", sans-serif;
color: var(--color-text-default);
background-color: var(--color-background);
transition: background-color 200ms linear;
/* Implementation for fluid layout width setting. */
.header-main,