Skip to content

Commit bbf2dbb

Browse files
authored
refactor(material/list): simplify structural styles (#29383)
Reworks the structural styles for the list to make them smaller and easier to maintain.
1 parent b2c051d commit bbf2dbb

File tree

10 files changed

+680
-161
lines changed

10 files changed

+680
-161
lines changed

src/material/list/BUILD.bazel

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,15 @@ sass_library(
4242
],
4343
)
4444

45+
sass_library(
46+
name = "inherited_structure_scss_lib",
47+
srcs = ["_list-inherited-structure.scss"],
48+
deps = [
49+
"//src/cdk:sass_lib",
50+
"//src/material/core:core_scss_lib",
51+
],
52+
)
53+
4554
sass_library(
4655
name = "list_scss_lib",
4756
srcs = glob(["**/_*.scss"]),
@@ -59,6 +68,7 @@ sass_binary(
5968
src = "list.scss",
6069
deps = [
6170
":hcm_indicator_scss_lib",
71+
":inherited_structure_scss_lib",
6272
"//:mdc_sass_lib",
6373
"//src/material/core:core_scss_lib",
6474
],

0 commit comments

Comments
 (0)