Skip to content

Commit 9cec4e3

Browse files
authored
Use correct background color for "show other declarations button" (#818) rdar://126922233 (#821)
Use correct background color for "show other declarations button" (#818) rdar://126922233
1 parent 1bf6c00 commit 9cec4e3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/components/DocumentationTopic.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,8 @@ $space-size: 15px;
740740
top: 50%;
741741
left: 50%;
742742
transform: translate(-50%, -50%);
743-
background-color: var(--color-fill); // cover border line
743+
// cover border line
744+
background-color: var(--color-other-decl-button);
744745
padding: 5px 15px;
745746
color: var(--colors-link, var(--color-link));
746747
z-index: 1;

src/styles/core/colors/_light.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@
134134
--color-nav-dark-uiblur-expanded: #{change-color(dark-color(fill-tertiary), $alpha: 0.9)};
135135
--color-nav-dark-uiblur-stuck: #{change-color(dark-color(fill-tertiary), $alpha: 0.7)};
136136
--color-nav-dark-root-subhead: #{dark-color(tutorials-teal)};
137+
--color-other-decl-button: var(--color-text-background);
137138
--color-runtime-preview-background: var(--color-fill-tertiary);
138139
--color-runtime-preview-disabled-text: #{change-color(light-color(figure-gray-secondary), $alpha: 0.6)};
139140
--color-runtime-preview-text: var(--color-figure-gray-secondary);

0 commit comments

Comments
 (0)