diff --git a/src/modules/ui/board/content-element/ContentElementBar.unit.ts b/src/modules/ui/board/content-element/ContentElementBar.unit.ts index bf5b6a20ee..caca356ef7 100644 --- a/src/modules/ui/board/content-element/ContentElementBar.unit.ts +++ b/src/modules/ui/board/content-element/ContentElementBar.unit.ts @@ -148,7 +148,7 @@ describe("ContentElementBar", () => { }); describe("when hasGreyBackground prop is true", () => { - it("should render grey background", () => { + it("should render surface-light background", () => { const { wrapper } = setup( { hasGreyBackground: true, @@ -158,17 +158,17 @@ describe("ContentElementBar", () => { } ); - const divWithBackgroundClass = wrapper.find("div.bg-grey-lighten-4"); + const divWithBackgroundClass = wrapper.find("div.bg-surface-light"); expect(divWithBackgroundClass.exists()).toBe(true); }); }); describe("when hasGreyBackground prop is false", () => { - it("should not render grey background", () => { + it("should not render surface-light background", () => { const { wrapper } = setup({}); - const divWithBackgroundClass = wrapper.find("div.bg-grey-lighten-4"); + const divWithBackgroundClass = wrapper.find("div.bg-surface-light"); expect(divWithBackgroundClass.exists()).toBe(false); }); diff --git a/src/modules/ui/board/content-element/ContentElementBar.vue b/src/modules/ui/board/content-element/ContentElementBar.vue index 8e3a39066a..24f739249f 100644 --- a/src/modules/ui/board/content-element/ContentElementBar.vue +++ b/src/modules/ui/board/content-element/ContentElementBar.vue @@ -12,7 +12,7 @@ v-if=" $slots.title || $slots.element || $slots.subtitle || $slots.description " - :class="{ 'bg-grey-lighten-4': props.hasGreyBackground === true }" + :class="{ 'bg-surface-light': props.hasGreyBackground === true }" class="content-element-bar-texts rounded-b py-4" >