A platform for community discussion. Free, open, simple.
UX: Use matching gray headers for draft and open GitHub PR previews (#45147)
Alan Guo Xiang Tane66291f2a33e
diff --git a/app/assets/stylesheets/common/base/onebox.scss b/app/assets/stylesheets/common/base/onebox.scssindex 9d1e4c0572f..c07989b863d 100644--- a/app/assets/stylesheets/common/base/onebox.scss+++ b/app/assets/stylesheets/common/base/onebox.scss@@ -567,6 +567,23 @@ aside.onebox.github-onebox {--github-onebox-header-background: light-dark(#818b981f, #292e36);}+ &.githubpullrequest.--github-open {+ --github-onebox-status-color: var(--primary-high);++ .github-onebox__label svg {+ color: light-dark(#1a7f37, #3fb950);+ }+ }++ &.githubpullrequest.--github-open,+ &.--github-draft {+ --github-onebox-header-background: color-mix(+ in srgb,+ var(--primary) 10%,+ var(--secondary)+ );+ }+&.--github-changes_requested,&.--github-pending {--github-onebox-status-color: light-dark(#9a6700, #d29922);