diff --git a/src/components/BGIcons.astro b/src/components/BGIcons.astro index c13803415..1fee0cede 100644 --- a/src/components/BGIcons.astro +++ b/src/components/BGIcons.astro @@ -2,14 +2,16 @@ import { icons } from '@connectedhomes/nucleus-util/brands/british-gas'; --- -
+
{ icons && icons.map((icon, i) => { return (
-

{icon.name}

+ + {icon.name} +
); }) @@ -19,13 +21,36 @@ import { icons } from '@connectedhomes/nucleus-util/brands/british-gas'; \ No newline at end of file + diff --git a/src/components/BGIllustrations.astro b/src/components/BGIllustrations.astro index 58ff61d37..ffd422895 100644 --- a/src/components/BGIllustrations.astro +++ b/src/components/BGIllustrations.astro @@ -2,14 +2,16 @@ import { illustrations } from '@connectedhomes/nucleus-util/brands/british-gas'; --- -
+
{ illustrations && illustrations.map((illustration, i) => { return (
-

{illustration.name}

+ + {illustration.name} +
); }) @@ -19,13 +21,36 @@ import { illustrations } from '@connectedhomes/nucleus-util/brands/british-gas'; \ No newline at end of file + diff --git a/src/content/docs/guidelines/assets.mdx b/src/content/docs/guidelines/assets.mdx index e4cf6f7bb..7a020895b 100644 --- a/src/content/docs/guidelines/assets.mdx +++ b/src/content/docs/guidelines/assets.mdx @@ -6,7 +6,9 @@ import BGIcons from '@components/BGIcons.astro'; import BGIllustrations from '@components/BGIllustrations.astro'; ## Icons + ## Illustrations - \ No newline at end of file + + diff --git a/src/styles/custom.css b/src/styles/custom.css index fb1fb40b1..b221eeeb2 100644 --- a/src/styles/custom.css +++ b/src/styles/custom.css @@ -77,6 +77,7 @@ --sl-color-heading: var(--sl-color-gray-2); /* Text size and line height */ + --sl-text-2xs: 0.75rem; /* 12px */ --sl-text-xs: 0.875rem; /* 14px */ --sl-text-sm: 0.9375rem; /* 15px */ --sl-text-base: 1rem; /* 16px */