Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
compose: Use same focus ring color for compose buttons in each theme.
N-Shar-mac10ff0bea86c
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.cssindex f5c288e6bcb..e155605e69c 100644--- a/web/styles/app_variables.css+++ b/web/styles/app_variables.css@@ -417,6 +417,7 @@--color-message-content-container-border: hsl(0deg 0% 0% / 10%);--color-message-content-container-border-focus: hsl(0deg 0% 57%);--color-compose-control-button-background-hover: hsl(0deg 0% 0% / 5%);+ --color-compose-focus-ring: var(--color-outline-focus);/* Text colors */--color-text-default: hsl(0deg 0% 20%);@@ -789,6 +790,7 @@--color-message-content-container-border: hsl(0deg 0% 0% / 80%);--color-message-content-container-border-focus: hsl(0deg 0% 100% / 27%);--color-compose-control-button-background-hover: hsl(0deg 0% 100% / 5%);+ --color-compose-focus-ring: hsl(0deg 0% 67%);/* Text colors */--color-text-default: hsl(0deg 0% 100% / 75%);diff --git a/web/styles/compose.css b/web/styles/compose.cssindex 9e48f599e1b..c5d96f3c70d 100644--- a/web/styles/compose.css+++ b/web/styles/compose.css@@ -490,7 +490,7 @@}&:focus-visible {- outline-color: var(--color-outline-focus);+ outline-color: var(--color-compose-focus-ring);}}@@ -1096,7 +1096,7 @@ textarea.new_message_textarea {}&:focus-visible {- outline-color: var(--color-outline-focus);+ outline-color: var(--color-compose-focus-ring);}}@@ -1330,7 +1330,7 @@ textarea.new_message_textarea {}&:focus-visible {- outline-color: var(--color-outline-focus);+ outline-color: var(--color-compose-focus-ring);}&:hover {@@ -1376,7 +1376,7 @@ textarea.new_message_textarea {will handle the dimension change, so there won'tbe any movement of the vdots in this state. */outline: 0;- border: 2px solid var(--color-outline-focus);+ border: 2px solid var(--color-compose-focus-ring);}@media ((width >= $sm_min) and (width < $mc_min)) {