Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit 0b462f5

Browse files
committed
fix(plugins/plugin-client-common): in carbon-based dark themes, the SourceRef expando text is not visible
Fixes #6197
1 parent 96860f3 commit 0b462f5

File tree

1 file changed

+30
-5
lines changed
  • plugins/plugin-client-common/web/scss/components/Accordion

1 file changed

+30
-5
lines changed

plugins/plugin-client-common/web/scss/components/Accordion/Carbon.scss

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,47 @@
1414
* limitations under the License.
1515
*/
1616

17-
@import '~carbon-components/scss/components/accordion/_accordion.scss';
18-
@import '~carbon-components/scss/components/accordion/_keyframes.scss';
17+
@import '~carbon-components/scss/components/accordion/accordion.scss';
18+
@import '~carbon-components/scss/components/accordion/keyframes.scss';
1919

20-
@import '_mixins';
20+
@import 'mixins';
2121

2222
@include Accordion {
23-
margin: 0.5rem 0 0;
23+
margin: 0.5em 0 0;
2424
width: unset;
2525
}
2626

2727
@include AccordionItem {
28+
color: var(--color-text-01);
29+
border-color: var(--color-base02);
2830
background-color: var(--color-base00);
31+
32+
&:last-child {
33+
border-color: var(--color-base02);
34+
}
35+
36+
.bx--accordion__heading {
37+
color: inherit;
38+
min-height: 2em;
39+
padding: 0.625em 0;
40+
41+
&:hover::before {
42+
background-color: var(--color-base03);
43+
}
44+
}
45+
46+
.bx--accordion__title {
47+
color: inherit;
48+
margin: 0 1em;
49+
}
50+
51+
.bx--accordion__arrow {
52+
fill: currentColor;
53+
}
2954
}
3055

3156
@include AccordionToggle {
32-
font-size: 0.825rem;
57+
font-size: 0.825em;
3358
font-family: var(--font-sans-serif);
3459
}
3560

0 commit comments

Comments
 (0)