Skip to content

Commit

Permalink
Fix missing CSS and background class names
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood authored Nov 6, 2023
1 parent 1b00d16 commit 2dcd6ed
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions layouts/layout-example-site.njk
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

{% block stylesheets %}
<link rel="stylesheet" href="/design-system/css/index.css">
<link rel="stylesheet" href="https://use.typekit.net/hkj3kuz.css">
{% endblock %}

{%- set theme = "light" -%}
Expand Down
1 change: 1 addition & 0 deletions layouts/layout-example.njk
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

{% block stylesheets %}
<link rel="stylesheet" href="/design-system/css/index.css">
<link rel="stylesheet" href="https://use.typekit.net/hkj3kuz.css">
<style>
.tna-template__body {
min-height: 0;
Expand Down
8 changes: 4 additions & 4 deletions src/styles/colours/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,10 @@ Elements that can follow the accent colour such as `tna-phase-banner--accent`, `

The colours of all elements in an element can be controlled with background classes:

- `tna-background--tint` &mdash; a light, neutral background colour to highlight an area of the page
- `tna-background--contrast` &mdash; a contrasting background and text colour
- `tna-background--accent` &mdash; a background colour based on the current template accent colour
- `tna-background--accent-light` &mdash; a lighter background colour based on the current template accent colour
- `tna-background-tint` &mdash; a light, neutral background colour to highlight an area of the page
- `tna-background-contrast` &mdash; a contrasting background and text colour
- `tna-background-accent` &mdash; a background colour based on the current template accent colour
- `tna-background-accent-light` &mdash; a lighter background colour based on the current template accent colour

For component design, you can also use the SCSS mixins from the `tools/colour` module to acheve the same results:

Expand Down

0 comments on commit 2dcd6ed

Please sign in to comment.