From 62713096af54e55672654105d8a7826b2415e7c6 Mon Sep 17 00:00:00 2001 From: SriHV Date: Fri, 24 Jan 2025 17:13:17 +0000 Subject: [PATCH] changes as per comments --- ...ale-blue-bubbles_0_document_0_desktop.png} | 0 ...pale-blue-bubbles_0_document_1_tablet.png} | 0 ...pale-blue-bubbles_0_document_2_mobile.png} | 0 src/components/hero/_hero.scss | 4 +-- src/components/hero/_macro-options.md | 28 +++++++++---------- src/components/hero/_macro.njk | 4 +-- src/components/hero/_macro.spec.js | 6 ++-- ...njk => example-hero-pale-blue-bubbles.njk} | 2 +- 8 files changed, 22 insertions(+), 22 deletions(-) rename backstop_data/bitmaps_reference/{ds-vr-test__components_hero_example-hero-grey-bubbles_0_document_0_desktop.png => ds-vr-test__components_hero_example-hero-pale-blue-bubbles_0_document_0_desktop.png} (100%) rename backstop_data/bitmaps_reference/{ds-vr-test__components_hero_example-hero-grey-bubbles_0_document_1_tablet.png => ds-vr-test__components_hero_example-hero-pale-blue-bubbles_0_document_1_tablet.png} (100%) rename backstop_data/bitmaps_reference/{ds-vr-test__components_hero_example-hero-grey-bubbles_0_document_2_mobile.png => ds-vr-test__components_hero_example-hero-pale-blue-bubbles_0_document_2_mobile.png} (100%) rename src/components/hero/{example-hero-grey-bubbles.njk => example-hero-pale-blue-bubbles.njk} (94%) diff --git a/backstop_data/bitmaps_reference/ds-vr-test__components_hero_example-hero-grey-bubbles_0_document_0_desktop.png b/backstop_data/bitmaps_reference/ds-vr-test__components_hero_example-hero-pale-blue-bubbles_0_document_0_desktop.png similarity index 100% rename from backstop_data/bitmaps_reference/ds-vr-test__components_hero_example-hero-grey-bubbles_0_document_0_desktop.png rename to backstop_data/bitmaps_reference/ds-vr-test__components_hero_example-hero-pale-blue-bubbles_0_document_0_desktop.png diff --git a/backstop_data/bitmaps_reference/ds-vr-test__components_hero_example-hero-grey-bubbles_0_document_1_tablet.png b/backstop_data/bitmaps_reference/ds-vr-test__components_hero_example-hero-pale-blue-bubbles_0_document_1_tablet.png similarity index 100% rename from backstop_data/bitmaps_reference/ds-vr-test__components_hero_example-hero-grey-bubbles_0_document_1_tablet.png rename to backstop_data/bitmaps_reference/ds-vr-test__components_hero_example-hero-pale-blue-bubbles_0_document_1_tablet.png diff --git a/backstop_data/bitmaps_reference/ds-vr-test__components_hero_example-hero-grey-bubbles_0_document_2_mobile.png b/backstop_data/bitmaps_reference/ds-vr-test__components_hero_example-hero-pale-blue-bubbles_0_document_2_mobile.png similarity index 100% rename from backstop_data/bitmaps_reference/ds-vr-test__components_hero_example-hero-grey-bubbles_0_document_2_mobile.png rename to backstop_data/bitmaps_reference/ds-vr-test__components_hero_example-hero-pale-blue-bubbles_0_document_2_mobile.png diff --git a/src/components/hero/_hero.scss b/src/components/hero/_hero.scss index b5c8177af9..eb33020540 100644 --- a/src/components/hero/_hero.scss +++ b/src/components/hero/_hero.scss @@ -28,7 +28,7 @@ } } - &--grey-bubbles { + &--pale-blue-bubbles { background-color: var(--ons-color-soft-blue-grey); margin-bottom: 2.5rem; &::before { @@ -349,7 +349,7 @@ } } - &--grey-bubbles & { + &--pale-blue-bubbles & { &__details { padding-bottom: 6rem; @include mq(l) { diff --git a/src/components/hero/_macro-options.md b/src/components/hero/_macro-options.md index aff3164be2..e5b91029e9 100644 --- a/src/components/hero/_macro-options.md +++ b/src/components/hero/_macro-options.md @@ -1,17 +1,17 @@ -| Name | Type | Required | Description | -| ----------------------- | --------------------------------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------- | -| variants | array or string | false | An array of values or single value (string) to adjust the component using available variant, “dark, navy-blue, grey and grey-bubbles” | -| wide | boolean | false | Set to “true” when using the `wide` page layout container | -| title | string | true | Text for the hero title | -| subtitle | string | false | Text for the hero subtitle | -| text | string | false | Text to follow the hero title and subtitle | -| button | `Object