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

Content updates kate #907

Merged
merged 21 commits into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
4e7b942
Update src/content/design-system/foundation/font
KateMacdonald Oct 9, 2024
b7dc403
Update src/content/design-system/foundation/icon
KateMacdonald Oct 9, 2024
19b422d
Update src/content/design-system/foundation/layout/breakpoints
KateMacdonald Oct 9, 2024
a380e3c
Update src/content/design-system/foundation/text-styling
KateMacdonald Oct 9, 2024
d5be5b3
Update src/content/design-system/components/autocomplete
KateMacdonald Oct 9, 2024
6cc8f6b
Update src/content/design-system/components/badge
KateMacdonald Oct 9, 2024
bb8e393
Update src/content/design-system/components/bottom-sheet
KateMacdonald Oct 9, 2024
0d7dc26
Update src/content/design-system/components/compacta
KateMacdonald Oct 9, 2024
9564464
Update src/content/design-system/components/flexi-cell
KateMacdonald Oct 9, 2024
1adb739
Update src/content/design-system/components/input-group
KateMacdonald Oct 9, 2024
cfcb2a5
Update src/content/design-system/components/modal
KateMacdonald Oct 9, 2024
dcfbc6a
Update src/content/design-system/components/repeater
KateMacdonald Oct 9, 2024
8a123ec
Update src/content/design-system/guides/help-text
KateMacdonald Oct 9, 2024
fa29d7c
Update src/content/design-system/content/guidelines/people-diversity
KateMacdonald Oct 9, 2024
b388a7d
Update src/content/design-system/content/guidelines/punctuation-symbol
KateMacdonald Oct 9, 2024
fb23740
Update src/content/design-system/design-tokens
KateMacdonald Oct 9, 2024
b9404c2
Update src/content/design-system/content/guidelines/headings-subheading
KateMacdonald Oct 9, 2024
0aa9023
Update src/content/design-system/content/guidelines/headings-subheading
KateMacdonald Oct 9, 2024
564af3c
Update src/content/design-system/content/guidelines/headings-subheading
KateMacdonald Oct 9, 2024
0b6254b
Update src/content/design-system/content/guidelines/headings-subheading
KateMacdonald Oct 9, 2024
5d0e73a
Update src/content/design-system/content/guidelines/headings-subheading
KateMacdonald Oct 9, 2024
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
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{% shortCode name="where-is-this-available" /%}

{% availabilityContent
availableGel="available"
availableMesh="in-progress"
availableLegacyWdp="older-version-available"
alternativeMesh="Typeahead"
alternativeLegacyWdp="Typeahead" /%}
availableGel="available"
availableMesh="older-version-available"
availableLegacyWdp="older-version-available"
alternativeMesh="Typeahead"
alternativeLegacyWdp="Typeahead" /%}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% shortCode name="where-is-this-available" /%}

{% availabilityContent
availableGel="available"
availableMesh="in-progress"
availableLegacyWdp="older-version-available" /%}
availableGel="available"
availableMesh="older-version-available"
availableLegacyWdp="older-version-available" /%}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

{% availabilityContent
availableGel="available"
availableMesh="in-progress"
availableLegacyWdp="older-version-available" /%}
availableMesh="unavailable"
availableLegacyWdp="unavailable" /%}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

{% availabilityContent
availableGel="available"
availableMesh="in-progress"
availableMesh="older-version-available"
availableLegacyWdp="older-version-available" /%}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

{% availabilityContent
availableGel="available"
availableMesh="in-progress"
availableLegacyWdp="older-version-available" /%}
availableMesh="unavailable"
availableLegacyWdp="unavailable" /%}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

{% availabilityContent
availableGel="available"
availableMesh="in-progress"
availableMesh="older-version-available"
availableLegacyWdp="older-version-available" /%}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

{% availabilityContent
availableGel="available"
availableMesh="in-progress"
availableMesh="older-version-available"
availableLegacyWdp="older-version-available" /%}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

{% availabilityContent
availableGel="available"
availableMesh="in-progress"
availableMesh="older-version-available"
availableLegacyWdp="older-version-available" /%}
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
No full stops at the end of any headings but fine to use a full stop or comma to break up a headline.

For example:

> OUR DREAM RATE JUST GOT DREAMIER
>
> LIFE IS EVENTFUL. THAT’S WHY WE HELP
>
> MEET RED, YOUR VIRTUAL ASSISTANT

---
```jsx
<div>
<h4 className="typography-body-10 text-muted mb-3">For example:</h4>
<p className="typography-body-10 mb-2 ml-4">OUR DREAM RATE JUST GOT DREAMIER</p>
<p className="typography-body-10 mb-2 ml-4">LIFE IS EVENTFUL. THAT’S WHY WE HELP</p>
<p className="typography-body-10 mb-2 ml-4">MEET RED, YOUR VIRTUAL ASSISTANT</p>
</div>
```

Question marks and exclamation marks can help keep headings short and engaging.

For example:

> WANT $3K CASHBACK?

*Note: Only use exclamation marks when appropriate, e.g. Now that’s a great rate!*
```jsx
<div>
<h4 className="typography-body-10 text-muted mb-3">For example:</h4>
<p className="typography-body-10 mb-2 ml-4">WANT $3K CASHBACK?</p>
<p className="typography-body-10 mb-6 ml-4">LIFE IS EVENTFUL. THAT’S WHY WE HELP</p>
<p className="typography-body-10 text-muted italic">Note: Only use exclamation marks when appropriate, e.g. Now that’s a great rate!</p>
</div>
```
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ Avoid defining people by their disability and aim for positive language.

Try to keep holidays agnostic where possible.

For example:

```jsx
<div>
<h4 className="typography-body-10 text-muted mb-3">For example:</h4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ Use full stops for sub-copy and body copy.

*Note: You can use a full stop to break up a headline, but no full stop on the end.*

For example:

```jsx
<div>
<h4 className="typography-body-10 text-muted mb-3">For example:</h4>
Expand Down
9 changes: 8 additions & 1 deletion apps/site/src/content/design-system/design-tokens/index.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
name: Design tokens
description: Design tokens support us to share basic brand styling at the simplest level with any interface on any platform across the Bank.
description: >-
Design tokens support us to share basic brand styling at the simplest level
with any interface on any platform across the Bank.
namedExport:
discriminant: false
excludeFromNavbar: true
design:
- title:
name: Main
slug: main
noTitle: true
noDemo: false
accessibility: []
relatedComponents: []
code: []
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ design:
name: Body font
slug: body-font
noTitle: false
noDemo: false
noDemo: true
- title:
name: Typographic scale
slug: typographic-scale
noTitle: false
noDemo: false
noDemo: true
- title:
name: Font weights
slug: font-weights
noTitle: false
noDemo: false
noDemo: true
- title:
name: Using fonts
slug: using-fonts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

{% availabilityContent
availableGel="available"
availableMesh="available"
availableLegacyWdp="available" /%}
availableMesh="older-version-available"
availableLegacyWdp="older-version-available" /%}
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ design:
name: Icon sizing
slug: icon-sizing
noTitle: false
noDemo: false
noDemo: true
- title:
name: Icon colours
slug: icon-colours
noTitle: false
noDemo: false
noDemo: true
- title:
name: User experience
slug: user-experience
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ design:
name: Breakpoint tokens
slug: breakpoint-tokens
noTitle: false
noDemo: false
noDemo: true
accessibility:
- title:
name: Accessibility features
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,17 @@ design:
name: Editorial text styles
slug: editorial-text-styles
noTitle: false
noDemo: false
noDemo: true
- title:
name: Headings
slug: headings
noTitle: false
noDemo: false
noDemo: true
- title:
name: User experience
slug: user-experience
noTitle: false
noDemo: false
- title:
name: Visual design
slug: visual-design
noTitle: false
noDemo: false
- title:
name: Where is this available?
slug: where-is-this-available
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ design:
name: Help text in forms
slug: help-text-in-forms
noTitle: false
noDemo: false
noDemo: true
- title:
name: Using icons for help
slug: using-icons-for-help
noTitle: false
noDemo: false
noDemo: true
- title:
name: Why use help text
slug: why-use-help-text
Expand Down
Loading