Skip to content

Commit 5aafd68

Browse files
authored
chore: remove unused code (#28503)
BREAKING CHANGE: Content no longer sets the `--background` custom property when the `.outer-content` class is set on the host.
1 parent 098ed05 commit 5aafd68

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

BREAKING.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ This is a comprehensive list of the breaking changes introduced in the major ver
1414
## Version 8.x
1515

1616
- [Browser and Platform Support](#version-8x-browser-platform-support)
17+
- [Components](#version-8x-components)
18+
- [Content](#version-8x-content)
1719

1820
<h2 id="version-8x-browser-platform-support">Browser and Platform Support</h2>
1921

@@ -39,3 +41,9 @@ This section details the desktop browser, JavaScript framework, and mobile platf
3941
| -------- | ---------------------- |
4042
| iOS | 15+ |
4143
| Android | 5.1+ with Chromium 89+ |
44+
45+
<h2 id="version-8x-components">Components</h2>
46+
47+
<h4 id="version-8x-content">Content</h4>
48+
49+
- Content no longer sets the `--background` custom property when the `.outer-content` class is set on the host.

core/src/components/content/content.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,6 @@
5454
color: current-color(contrast);
5555
}
5656

57-
:host(.outer-content) {
58-
--background: #{$background-color-step-50};
59-
}
60-
6157
#background-content {
6258
@include position(calc(var(--offset-top) * -1), 0px,calc(var(--offset-bottom) * -1), 0px);
6359

0 commit comments

Comments
 (0)