Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
dark_theme: Clean up .placeholder definitions.
Karl Stolleyc72e9bed362c
diff --git a/web/styles/app_components.css b/web/styles/app_components.cssindex 2ad049d2334..d5143679896 100644--- a/web/styles/app_components.css+++ b/web/styles/app_components.css@@ -110,7 +110,7 @@ evidence Edge may have bugs in its handling of placeholder opacityCSS: https://github.com/necolas/normalize.css/issues/741*/.placeholder {- color: hsl(0deg 0% 45%);+ color: var(--color-text-placeholder);opacity: 1;}diff --git a/web/styles/app_variables.css b/web/styles/app_variables.cssindex 09fb94689b6..3c7d1f81039 100644--- a/web/styles/app_variables.css+++ b/web/styles/app_variables.css@@ -1292,6 +1292,7 @@);--color-text-search: light-dark(hsl(0deg 0% 35%), hsl(0deg 0% 100% / 75%));--color-text-search-hover: light-dark(hsl(0deg 0% 0%), hsl(0deg 0% 100%));+ --color-text-placeholder: light-dark(hsl(0deg 0% 45%), hsl(0deg 0% 55%));--color-text-search-placeholder: light-dark(hsl(0deg 0% 50%),hsl(0deg 0% 100% / 50%)diff --git a/web/styles/dark_theme.css b/web/styles/dark_theme.cssindex 03ce257160f..df41201885c 100644--- a/web/styles/dark_theme.css+++ b/web/styles/dark_theme.css@@ -3,16 +3,6 @@%dark-theme {color-scheme: dark;- .placeholder {- color: hsl(0deg 0% 55%);- opacity: 1;- }-- & textarea::placeholder,- input::placeholder {- @extend .placeholder;- }-kbd {text-shadow: none;}