Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration – Latest changes #376

Merged
merged 137 commits into from
Mar 13, 2025
Merged
Changes from 1 commit
Commits
Show all changes
137 commits
Select commit Hold shift + click to select a range
28d04ae
Footer restyle
albinazs Dec 10, 2024
5f7ad12
Update yamls for pattern library
albinazs Dec 11, 2024
cfadd68
Fine-tune newsletter link styles in wrapped state
albinazs Dec 11, 2024
34d6916
Update typography
albinazs Dec 13, 2024
42700f4
Update default button font size
albinazs Dec 13, 2024
dcf6be6
Update newsletter link styles
albinazs Dec 13, 2024
82b9634
Update carbon impact container width
albinazs Dec 13, 2024
6f823f2
Clean code
albinazs Dec 13, 2024
6bd8f6d
Merge pull request #319 from torchbox/feature/twe-23-typography
albinazs Dec 16, 2024
a38449e
Resolve merge conflicts
albinazs Dec 16, 2024
9bec2b6
Add division signpost block (BE)
SharmaineLim Dec 6, 2024
8acc086
Use firstof instead of a StructValue
SharmaineLim Dec 6, 2024
f101cb1
Draft division signpost blocks
albinazs Dec 16, 2024
8f1434a
TWE-6 - BE - Update theme colours (#315)
SharmaineLim Dec 17, 2024
6e24fe3
Division signposts FE
albinazs Dec 17, 2024
5dc3f65
High-contrast accessibility fixes
albinazs Dec 17, 2024
78321b9
Linting
albinazs Dec 17, 2024
4400045
TWE-1 - BE - New homepage hero fields (#313)
SharmaineLim Dec 18, 2024
8bb2598
TWE-2 - BE - Add division signpost block (#314)
SharmaineLim Dec 19, 2024
e4abc32
Move PartersBlock to core.blocks
SharmaineLim Dec 18, 2024
84a7048
Add divisions app
SharmaineLim Dec 19, 2024
8d19fe7
Merge the updated BE
albinazs Dec 19, 2024
7144e99
Prepare division page blocks
SharmaineLim Dec 19, 2024
643ff22
Add DivisionPage
SharmaineLim Dec 19, 2024
a38b9d1
Make schema migration
SharmaineLim Dec 19, 2024
aa3dfd6
Add faker & factory-boy as explicit dependencies since we use them
SharmaineLim Dec 19, 2024
6663d23
Create DivisionPage factory
SharmaineLim Dec 19, 2024
bc24e99
Do something different if there's only 1 dynamic text
SharmaineLim Dec 19, 2024
8afbdaf
Update typescale for a11y and clean code
albinazs Dec 19, 2024
c084bc8
Clean template: richtext markup and empty classes
albinazs Dec 19, 2024
fb5fb07
Add block to the styleguide
albinazs Dec 19, 2024
a4fac46
Merge pull request #323 from torchbox/feature/twe-2-division-signpost…
albinazs Dec 19, 2024
685f6cc
Add 'caption' to four-photo collage
SharmaineLim Dec 20, 2024
3a4164f
Homepage redesign
albinazs Dec 24, 2024
87cd209
Hide new icons from screen reader
albinazs Dec 24, 2024
26ca284
Fix SVG console error
albinazs Jan 2, 2025
f2198ff
Merge pull request #325 from torchbox/feature/twe-3-homepage-fe
albinazs Jan 2, 2025
0347da3
Update main heading styles
albinazs Jan 2, 2025
8080cbb
Update fonts docs
albinazs Jan 2, 2025
7f5d684
Merge branch 'integration/2024-evolution' into feature/twe-7-division…
SharmaineLim Jan 6, 2025
23bbf3b
Update color themes dark mode
albinazs Jan 6, 2025
d648d2f
Linting
albinazs Jan 6, 2025
b3b5c1e
Clean code
albinazs Jan 6, 2025
4661977
Merge pull request #326 from torchbox/feature/twe-25-page-title
albinazs Jan 6, 2025
fd5af4f
Fix linting issue from previous merge
albinazs Jan 6, 2025
8f49103
Merge pull request #330 from torchbox/fix/lint-issue
albinazs Jan 6, 2025
6697022
Remove newline at end of file
SharmaineLim Jan 7, 2025
b1ec648
Update typography, newsletter link, and logos
shyusu4 Jan 7, 2025
8f85280
Finetune newsletter link and heading-text typography styles
shyusu4 Jan 7, 2025
a7eab7f
Remove increased underline-offset in newsletter link
shyusu4 Jan 8, 2025
4657acd
Merge pull request #329 from torchbox/feature/twe-6-theme-colors-fe
albinazs Jan 8, 2025
2f380c1
Draft intro with images block
albinazs Jan 8, 2025
2d51322
Merge pull request #332 from torchbox/feature/twe-33-design-feedback
shyusu4 Jan 9, 2025
0fc85ec
Division page FE
albinazs Jan 9, 2025
7ba6958
Fine-tune layout
albinazs Jan 9, 2025
c9b37b8
Add intro to BlogChooserBlock
SharmaineLim Jan 10, 2025
59b3b10
Add intro to WorkChooserBlock
SharmaineLim Jan 10, 2025
1154aae
Comment out intro from pattern library for now
SharmaineLim Jan 10, 2025
0072a1b
Fix aspect ratio for mobile, alt text, and rich-text styles
albinazs Jan 13, 2025
47193a8
Draft swiper component
albinazs Jan 14, 2025
80d3ad3
TWE-7 - BE - Division page (#324)
SharmaineLim Jan 15, 2025
b8eb618
TWE-11 - BE - Service area page (#335)
SharmaineLim Jan 15, 2025
5159e88
Carousel controls and height calculation
albinazs Jan 15, 2025
3ff0fdb
Fine-tune the carousel, a11y considerations
albinazs Jan 15, 2025
69db2c1
Turn on autoplay on all screens
albinazs Jan 15, 2025
7bc950c
Update pattern library and styleguide
albinazs Jan 15, 2025
71adb0e
Fix Firefox font size issue
albinazs Jan 15, 2025
63052d6
Merge branch 'main' into integration/2024-evolution
SharmaineLim Jan 16, 2025
b477633
Update faker to match latest from main
SharmaineLim Jan 16, 2025
5d7ccb5
Update poetry.lock
SharmaineLim Jan 16, 2025
ec7ef96
Merge branch 'integration/2024-evolution' into feature/twe-34-divisio…
SharmaineLim Jan 16, 2025
609cb81
Add intro and buttons to the chooser blocks
albinazs Jan 16, 2025
49c5832
Fine-tune spacing
albinazs Jan 16, 2025
da29925
Alternate between play and pause buttons
albinazs Jan 17, 2025
cecb616
Linting
albinazs Jan 17, 2025
97ef147
More linting
albinazs Jan 17, 2025
31ee0ae
TWE-9 - BE - Featured services block (Division page) (#327)
SharmaineLim Jan 20, 2025
41ee55b
TWE-10 - BE - Statistics group block (Division page) (#328)
SharmaineLim Jan 20, 2025
4c45d1f
Merge branch 'main' into integration/2024-evolution
SharmaineLim Jan 20, 2025
f92a9e8
Fix linting
SharmaineLim Jan 20, 2025
19ecc67
Primary nav and header FE
albinazs Jan 20, 2025
9880c5d
Accessibility considerations and fine-tunes
albinazs Jan 21, 2025
4de43d9
Merge pull request #342 from torchbox/feature/twe-34-division-page-hero
albinazs Jan 21, 2025
315ee0b
Merge pull request #346 from torchbox/feature/twe-17-primary-nav-and-…
albinazs Jan 21, 2025
e05552b
Increase cards breakpoint size
shyusu4 Jan 21, 2025
6aafa54
Merge pull request #348 from torchbox/fix/featured-services
shyusu4 Jan 21, 2025
0bdcecc
Update focus styles
shyusu4 Jan 27, 2025
e0350b3
Linting
shyusu4 Jan 27, 2025
0977858
Design feedback fine-tunes
albinazs Jan 27, 2025
d06cba3
Merge pull request #350 from torchbox/feature/twe-27-focus-styles
shyusu4 Jan 27, 2025
59439eb
Merge pull request #352 from torchbox/feature/design-feedback-colors-…
albinazs Jan 28, 2025
bdd70e6
Restyle tabbed paragraph block
albinazs Jan 28, 2025
bfaa736
Service area page styles
albinazs Jan 29, 2025
fb274dd
Tweak subtitle color and tailwind config
albinazs Jan 29, 2025
2bcd8d5
Restyle motif headings
albinazs Jan 29, 2025
1ab0914
TWE-19 - BE - Link columns block (Service area page) (#337)
SharmaineLim Jan 31, 2025
2db3be1
Add new theme colors for the motifs in light mode
albinazs Jan 31, 2025
e5e41f8
Fix the template - empty div case
albinazs Jan 31, 2025
0954671
TWE-13 - BE - Key points with icons (Service area page) (#336)
SharmaineLim Feb 3, 2025
f8a6e88
TWE-16 - BE - Optional intro & button fields for blog/work chooser bl…
SharmaineLim Feb 3, 2025
14a0be4
Merge branch 'integration/2024-evolution' into feature/twe-16-optiona…
SharmaineLim Feb 3, 2025
5a2f470
TWE-14 - BE - Contact CTA block description field (#338)
SharmaineLim Feb 3, 2025
4297f3d
Chore: Update upload-pages-artifact to v3
SharmaineLim Feb 3, 2025
48e5320
Add a subheading field to the featured services block
SharmaineLim Feb 3, 2025
187bff5
TWE-9 - Add subheading to Featured Services Block (#358)
SharmaineLim Feb 5, 2025
ee5b592
TWE-21 - BE - Secondary Navigation (#357)
SharmaineLim Feb 10, 2025
97fc455
Merge branch 'integration/2024-evolution' into content-prep
SharmaineLim Feb 10, 2025
cb42c86
TWE-24 Add CTA fields (text+link) to footer (#362)
bmispelon Feb 11, 2025
9e2859d
TWE-38 tweak help text for HomePage.introduction (#363)
bmispelon Feb 11, 2025
20e383e
Merge pull request #343 from torchbox/feature/twe-16-optional-intro-a…
albinazs Feb 12, 2025
0107666
Merge pull request #353 from torchbox/feature/twe-14-tabbed-paragraph…
albinazs Feb 12, 2025
dc33abc
Merge pull request #354 from torchbox/feature/twe-12-service-area-fe
albinazs Feb 12, 2025
e753e69
Merge pull request #355 from torchbox/feature/twe-28-motifs
albinazs Feb 12, 2025
ff886c8
Fixing template errors (#365)
shyusu4 Feb 12, 2025
d01cc52
TWE-21 | FE | Secondary navigation (#360)
shyusu4 Feb 12, 2025
b96867f
TWE-22 | FE | Light mode (#356)
shyusu4 Feb 12, 2025
fa96339
FE design feedback - motifs, block styles (#366)
shyusu4 Feb 17, 2025
19762f2
Merge branch 'integration/2024-evolution' into content-prep
SharmaineLim Feb 18, 2025
ebe5ee0
Tweak heading sizes and block grid layouts (#367)
shyusu4 Feb 20, 2025
2b1b79b
TWE-39 Add a new block for textual statistic groups (#364)
bmispelon Feb 21, 2025
bd3a646
Merge commit 'ebe5ee04' into content-prep
SharmaineLim Feb 25, 2025
0895531
Allow moving a HistoricalWorkPage but disable creation (#370)
SharmaineLim Feb 27, 2025
65a0e8a
TWE-26 Make breadcrumb navigation division-aware
bmispelon Feb 27, 2025
74f9af1
Merge branch 'integration/2024-evolution' into content-prep
SharmaineLim Mar 4, 2025
9204c5b
only load swiper css and js on the division page
chris-lawton Mar 6, 2025
5a68459
load the division page js/css in the pattern library
chris-lawton Mar 6, 2025
0e7bb9d
lint djhtml
chris-lawton Mar 6, 2025
0de27f5
Merge pull request #373 from torchbox/split-division-page-css-js
chris-lawton Mar 6, 2025
24ba460
TWE-43 - BE/FE - Update division logo and submenu heading (#368)
SharmaineLim Mar 6, 2025
5d799ba
TWE-31 | FE | Update social media default images (#369)
shyusu4 Mar 6, 2025
2d7b425
TWE-44 | Front end fine-tuning (#372)
shyusu4 Mar 7, 2025
bbf5a2f
Increase division logo sizes
shyusu4 Mar 10, 2025
11e6623
Merge branch 'integration/2024-evolution' into content-prep
SharmaineLim Mar 11, 2025
b46d92a
Merge pull request #374 from torchbox/fix/header-tweaks
shyusu4 Mar 11, 2025
78f15eb
Update Torchbox logo SVG
shyusu4 Mar 11, 2025
9f42d19
Merge pull request #375 from torchbox/update-tbx-logo
shyusu4 Mar 11, 2025
5793a10
Merge branch 'integration/2024-evolution' into content-prep
SharmaineLim Mar 12, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update typography
albinazs committed Dec 13, 2024
commit 34d69168e0fa795744db84152428c44b7026f727
2 changes: 1 addition & 1 deletion docs/front-end/utility-classes.md
Original file line number Diff line number Diff line change
@@ -4,6 +4,6 @@ Most CSS classes used in this build are designed to fit with a particular compon

Some, such as the `listing` component are designed to be a base with variations across a number of variant components - this is made clear by the component naming: `listing--image.html`, `listing--simple.html` etc.

However, we have some utility classes which are designed for re-use, along with the option to to use Tailwind utility classes. Classes that are designed for re-use include `button`, `heading--[xyz]`, `link`, `supporting`, `.body` and `icon--listing-arrow`.
However, we have some utility classes which are designed for re-use, along with the option to to use Tailwind utility classes. Classes that are designed for re-use include `button`, `heading--[xyz]`, `text--[xyz]`, `link`, and `icon--listing-arrow`.

The same tailwind utility classes that are avialable in `wagtail-kit` are available in this build. `tailwind.config.js` includes the custom spacing for the build, allowing us to use classes such as `mb-spacerMini` where it wouldn't be practical to create a new scss component just for a one-off spacing adjustment.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<h2 class="section-title heading heading--two{% if classes %} {{ classes }}{% endif %}"{% if aria_label %} aria-label="{{ aria_label }}"{% endif %}>
<h2 class="section-title heading heading--two heading--light{% if classes %} {{ classes }}{% endif %}"{% if aria_label %} aria-label="{{ aria_label }}"{% endif %}>
{{ title }}
</h2>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="grid__title home-page-hero">
{% include "patterns/atoms/motif-heading/motif-heading.html" with heading=page.title classes="motif-heading--one-c home-page-hero__title" %}
{% include "patterns/atoms/motif-heading/motif-heading.html" with heading=page.title classes="motif-heading--one-b home-page-hero__title" %}

<div class="employee-owned-icon home-page-hero__icon">
{% include "patterns/atoms/icons/icon.html" with name="employee-owned-text" classname="employee-owned-icon__text-icon" %}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% load wagtailcore_tags %}

{% if is_standard_page %}
<h2 class="heading heading--two-b grid__heading mb-spacerMedium">{{ value.featured_blog_heading }}</h2>
<h2 class="heading heading--two-b heading--light grid__heading mb-spacerMedium">{{ value.featured_blog_heading }}</h2>
{% else %}
{% include "patterns/atoms/motif-heading/motif-heading.html" with heading_level=2 heading=value.featured_blog_heading classes="motif-heading--two motif-heading--static motif-heading--half-width section-title--related-posts" %}
{% endif %}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% load wagtailcore_tags wagtailimages_tags %}
<div class="contact-cta grid__contact-cta">
{% for cta in value.call_to_action %}
<h2 class="contact-cta__text heading heading--three">{{ cta.value.text }}</h2>
<h2 class="contact-cta__text heading heading--three heading--light">{{ cta.value.text }}</h2>
{% endfor %}

{% if value.person %}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<h2 class="heading heading--two-b grid__heading">{{ value }}</h2>
<h2 class="heading heading--two-b heading--light grid__heading">{{ value }}</h2>
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<h3 class="heading heading--three grid__heading">{{ value }}</h3>
<h3 class="heading heading--three heading--light grid__heading">{{ value }}</h3>
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<h4 class="heading heading--four heading--semibold grid__heading">{{ value }}</h4>
<h4 class="heading heading--four heading--light grid__heading">{{ value }}</h4>
Original file line number Diff line number Diff line change
@@ -14,10 +14,10 @@
{% endif %}

{% if value.caption %}
<p class="image__caption supporting">{{ value.caption }}</p>
<p class="image__caption text--eight">{{ value.caption }}</p>
{% endif %}

{% if value.attribution %}
<p class="image__attribution supporting">{{ value.attribution }}</p>
<p class="image__attribution text--eight">{{ value.attribution }}</p>
{% endif %}
</div>
Original file line number Diff line number Diff line change
@@ -25,6 +25,6 @@
</span>
{{ value.short_heading }}
</p>
<h2 class="report-section__heading heading heading--two-b">{{ value.heading|richtext }}</h2>
<h2 class="report-section__heading heading heading--two-b heading--light">{{ value.heading|richtext }}</h2>
</div>
</div>
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
{# This needs to be inline as masks or clipPaths are not supported in <use> elements #}
{% include "patterns/atoms/icons/quote-icon.html" with classes="pullquote__icon" unique_id=unique_id %}

<p class="pullquote__text heading heading--three-b">{{ value.quote }}</p>
<p class="pullquote__text heading heading--three-b heading--light">{{ value.quote }}</p>

<div class="pullquote__reference">
<div class="pullquote__meta">
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
{% image value.image fill-62x62 class="small-image-with-text__image" alt="" %}

<div>
<h4 class="small-image-with-text__title heading--four">{{ value.title }}</h4>
<h4 class="small-image-with-text__title heading--four heading--light">{{ value.title }}</h4>

<div class="streamfield__paragraph small-image-with-text__text rich-text">
{{ value.text|richtext }}
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@
{{ value_item.strapline }}
{% endif %}
</p>
<h3 class="heading heading--two-b values__title">{{ value_item.title }}</h3>
<h3 class="heading heading--two-b heading--light values__title">{{ value_item.title }}</h3>
<div class="rich-text values__text">
{{ value_item.text|richtext }}
</div>
Original file line number Diff line number Diff line change
@@ -10,11 +10,11 @@
{% endif %}

{% if value.caption %}
<p class="wide-image__caption supporting">{{ value.caption }}</p>
<p class="wide-image__caption text--eight">{{ value.caption }}</p>
{% endif %}

{% if value.attribution %}
<p class="wide-image__attribution supporting">{{ value.attribution }}</p>
<p class="wide-image__attribution text--eight">{{ value.attribution }}</p>
{% endif %}
{% endwith %}
</div>
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

{% if work_pages %}
{% if is_standard_page %}
<h2 class="heading heading--two-b grid__heading mb-spacerMedium">{{ value.featured_work_heading }}</h2>
<h2 class="heading heading--two-b heading--light grid__heading mb-spacerMedium">{{ value.featured_work_heading }}</h2>
{% else %}
{% include "patterns/atoms/motif-heading/motif-heading.html" with heading_level=2 heading=value.featured_work_heading classes="motif-heading--two motif-heading--static motif-heading--half-width section-title--related-posts" %}
{% endif %}
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@
{% include "patterns/atoms/icons/broken-matchstick-icon.html" %}
</div>
<div class="grid__title">
<h1 class="heading heading--one">Oops...</h1>
<h1 class="heading heading--one heading--mega">Oops...</h1>
</div>
<div class="grid__paragraph">
<p>It looks like this page doesn't exist.</p>
Original file line number Diff line number Diff line change
@@ -38,11 +38,11 @@
</picture>

{% if page.hero_caption %}
<p class="image__caption supporting">{{ page.hero_caption }}</p>
<p class="image__caption text--eight">{{ page.hero_caption }}</p>
{% endif %}

{% if page.hero_attribution %}
<p class="image__attribution supporting">{{ page.hero_attribution }}</p>
<p class="image__attribution text--eight">{{ page.hero_attribution }}</p>
{% endif %}
</div>
</div>
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@
</div>

<div class="grid__paragraph">
<p class="heading heading--four">Please enter the password to proceed.</p>
<p class="heading heading--four heading--light">Please enter the password to proceed.</p>
</div>

<form action="{{ action_url }}" method="post" class="grid__form form">
Original file line number Diff line number Diff line change
@@ -23,11 +23,11 @@
</picture>

{% if page.header_caption %}
<p class="image__caption supporting">{{ page.header_caption }}</p>
<p class="image__caption text--eight">{{ page.header_caption }}</p>
{% endif %}

{% if page.header_attribution %}
<p class="image__attribution supporting">{{ page.header_attribution }}</p>
<p class="image__attribution text--eight">{{ page.header_attribution }}</p>
{% endif %}
</div>
</div>
Original file line number Diff line number Diff line change
@@ -9,16 +9,6 @@ <h2 class="underline mb-2">Mode switcher</h2>
{% include "patterns/molecules/mode_switcher/mode_switcher.html" %}
</div>

<div>
<h2 class="underline mb-2">Letter Motif</h2>
{% include "patterns/atoms/motif-heading/motif-heading.html" with classes="motif-heading--one" %}
</div>

<div>
<h2 class="underline mb-2">Letter Motif without animation</h2>
{% include "patterns/atoms/motif-heading/motif-heading.html" with heading_level=2 classes="motif-heading--two motif-heading--static" %}
</div>

<div>
<h2 class="underline mb-2">Avatar</h2>
{% include "patterns/atoms/avatar/avatar.html" %}
Original file line number Diff line number Diff line change
@@ -4,66 +4,56 @@

{% block content %}
<div class="p-4 mb-8" style="max-width: 710px">
{# Headings #}
<p class="underline mt-8">Heading 1</p>
{% include "patterns/atoms/motif-heading/motif-heading.html" with heading_level=1 classes="motif-heading--one" %}
{# Headings and body text #}
<p class="underline mt-8">Size 0 semibold</p>
<h1 class="heading heading--mega">Always be curious, daring, and eager to learn</h1>

<p class="underline mt-8">Heading 1 with the 'narrowest' drop-cap class</p>
{% include "patterns/atoms/motif-heading/motif-heading.html" with heading_level=1 classes="motif-heading--one" heading="Thinking" %}
{% include "patterns/atoms/motif-heading/motif-heading.html" with heading_level=1 classes="motif-heading--one" heading="Yikes" %}
<p class="underline mt-8">Size 1 semibold & extralight</p>
<h1 class="heading heading--one">Joining the battle to protect our oceans</h1>
<h1 class="heading heading--one heading--extralight">Joining the battle to protect our oceans</h1>

<p class="underline mt-8">Heading 1 with the 'narrower' drop-cap class</p>
{% include "patterns/atoms/motif-heading/motif-heading.html" with heading_level=1 classes="motif-heading--one" heading="Which" %}
<p class="underline mt-8">Size 1B semibold & extralight</p>
<h1 class="heading heading--one-b">Joining the battle to protect our oceans</h1>
<h1 class="heading heading--one-b heading--extralight">Joining the battle to protect our oceans</h1>

<p class="underline mt-8">Heading 1 with the 'narrow' drop-cap class</p>
{% include "patterns/atoms/motif-heading/motif-heading.html" with heading_level=1 classes="motif-heading--one" heading="Flight" %}
{% include "patterns/atoms/motif-heading/motif-heading.html" with heading_level=1 classes="motif-heading--one" heading="Platitude" %}
<p class="underline mt-8">Size 2 semibold</p>
<h2 class="heading heading--two">Joining the battle to protect our oceans</h2>

<p class="underline mt-8">Size 2B semibold & light</p>
<h2 class="heading heading--two-b">Joining the battle to protect our oceans</h2>
<h2 class="heading heading--two-b heading--light">Joining the battle to protect our oceans</h2>

<p class="underline mt-8">Heading 1 with the 'i' drop-cap class</p>
{% include "patterns/atoms/motif-heading/motif-heading.html" with heading_level=1 classes="motif-heading--one" heading="Inventory" %}


<p class="underline mt-8">Heading 1-B</p>
{% include "patterns/atoms/motif-heading/motif-heading.html" with heading_level=1 classes="motif-heading--one-b" %}

<p class="underline mt-8">Heading 1-B with the 'narrowest' drop-cap class</p>
{% include "patterns/atoms/motif-heading/motif-heading.html" with heading_level=1 classes="motif-heading--one-b" heading="Thinking" %}
{% include "patterns/atoms/motif-heading/motif-heading.html" with heading_level=1 classes="motif-heading--one-b" heading="Yikes" %}

<p class="underline mt-8">Heading 1-B with the 'narrower' drop-cap class</p>
{% include "patterns/atoms/motif-heading/motif-heading.html" with heading_level=1 classes="motif-heading--one-b" heading="Which" %}

<p class="underline mt-8">Heading 1-B with the 'narrow' drop-cap class</p>
{% include "patterns/atoms/motif-heading/motif-heading.html" with heading_level=1 classes="motif-heading--one-b" heading="Flight" %}
{% include "patterns/atoms/motif-heading/motif-heading.html" with heading_level=1 classes="motif-heading--one-b" heading="Platitude" %}
<p class="underline mt-8">Size 3 semibold & light</p>
<h3 class="heading heading--three">Joining the battle to protect our oceans</h3>
<h3 class="heading heading--three heading--light">Joining the battle to protect our oceans</h3>

<p class="underline mt-8">Size 4 semibold & light</p>
<h4 class="heading heading--four">We can help you create digital products and services that solve real customer problems. And, you can transform your organisation along the way.</h4>
<h4 class="heading heading--four heading--light">We can help you create digital products and services that solve real customer problems. And, you can transform your organisation along the way.</h4>

<p class="underline mt-8">Heading 2</p>
{% include "patterns/atoms/motif-heading/motif-heading.html" with heading_level=2 classes="motif-heading--two" %}
<p class="underline mt-8">Size 4B light, less line height</p>
<h4 class="heading heading--four-b">We can help you create digital products and services that solve real customer problems. And, you can transform your organisation along the way.</h4>

<p class="underline mt-8">Heading 2 with the 'narrowest' drop-cap class</p>
{% include "patterns/atoms/motif-heading/motif-heading.html" with heading_level=2 classes="motif-heading--two" heading="Thinking"%}
{% include "patterns/atoms/motif-heading/motif-heading.html" with heading_level=2 classes="motif-heading--two" heading="Yikes"%}
<p class="underline mt-8">Size 5 semibold & regular</p>
<h5 class="heading heading--five">We can help you create digital products and services that solve real customer problems. And, you can transform your organisation along the way.</h5>
<h5 class="heading heading--five heading--regular">We can help you create digital products and services that solve real customer problems. And, you can transform your organisation along the way.</h5>
<p class="text text--five">We can help you create digital products and services that solve real customer problems. And, you can transform your organisation along the way.</p>

<p class="underline mt-8">Heading 2 with the 'narrower' drop-cap class</p>
{% include "patterns/atoms/motif-heading/motif-heading.html" with heading_level=2 classes="motif-heading--two" heading="Which"%}
<p class="underline mt-8">Size 5B regular, less line height</p>
<h5 class="heading heading--five-b heading--regular">We can help you create digital products and services that solve real customer problems. And, you can transform your organisation along the way.</h5>
<p class="text text--five-b">We can help you create digital products and services that solve real customer problems. And, you can transform your organisation along the way.</p>

<p class="underline mt-8">Heading 2 with the 'narrow' drop-cap class</p>
{% include "patterns/atoms/motif-heading/motif-heading.html" with heading_level=2 classes="motif-heading--two" heading="Flight"%}
{% include "patterns/atoms/motif-heading/motif-heading.html" with heading_level=2 classes="motif-heading--two" heading="Platitude"%}
<p class="underline mt-8">Size 6 semibold & regular</p>
<h6 class="heading heading--six">Joining the battle to protect our oceans</h6>
<p class="text text--six">Joining the battle to protect our oceans</p>

<p class="underline mt-8">Size 7 semibold & regular</p>
<p class="text text--seven text--semibold">Joining the battle to protect our oceans</p>
<p class="text text--seven">Joining the battle to protect our oceans</p>

<p class="underline mt-8">Heading 2-B</p>
<h2 class="heading heading--two-b">Joining the battle to protect our oceans</h2>
<p class="underline mt-8">Heading 3</p>
<h3 class="heading heading--three">Joining the battle to protect our oceans</h3>
<p class="underline mt-8">Heading 4</p>
<h4 class="heading heading--four">Joining the battle to protect our oceans</h4>
<p class="underline mt-8">Heading 5</p>
<h5 class="heading heading--five">Joining the battle to protect our oceans</h5>
<p class="underline mt-8">Heading 6</p>
<h6 class="heading heading--six">Joining the battle to protect our oceans</h6>
<p class="underline mt-8">Size 8 semibold & regular</p>
<p class="text text--eight text--semibold">Joining the battle to protect our oceans</p>
<p class="text text--eight">Joining the battle to protect our oceans</p>

{# Rich text #}
<p class="mt-8 underline">Rich text</p>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% block theme_chooser_and_title %}
<div class="p-4 flex items-center justify-between sticky top-0 bg-background z-50">
{% block title %}<h1 class="heading heading--one text-heading">Styleguide</h1>{% endblock %}
{% block title %}<h1 class="heading heading--mega text-heading">Styleguide</h1>{% endblock %}
<div class="flex items-center gap-2">
<label for="mode-chooser" class="text-heading">Choose a mode:</label>
<select name="mode-chooser" id="mode-chooser" class="p-2 text-black select" onchange="changeThemeAndMode()">
2 changes: 1 addition & 1 deletion tbx/static_src/sass/base/_fonts.scss
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
@font-face {
font-family: 'Outfit';
font-style: normal;
font-weight: 300 600; // Define the range of font weights to be used
font-weight: 200 600; // Define the range of font weights to be used
font-display: swap;
src: url(../fonts/outfit-variable-font.woff2) format('woff2-variations');
}
Loading