-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #544 from WestpacGEL/542-add-colours-code-examples
542 add colours code examples
- Loading branch information
Showing
5 changed files
with
37 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 13 additions & 1 deletion
14
apps/site/src/content/design-system/foundation/colour/code/development-examples/content.mdoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,13 @@ | ||
The Design System manages colours via design tokens | ||
GEL export colour palette via **Tailwind classes** and we recommend using these pre-defined classes to ensure consistency across the site. | ||
|
||
### Primary UI palette | ||
|
||
{% colors palette="primary" tab="code" /%} | ||
|
||
### Secondary colours | ||
|
||
{% colors palette="secondary" tab="code" /%} | ||
|
||
### Reserved colours | ||
|
||
{% colors palette="reserved" tab="code" /%} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,4 +36,3 @@ code: | |
- title: | ||
name: Development examples | ||
slug: development-examples | ||
noTitle: true |
70be7ef
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
gel-next-site – ./apps/site
gel-next-site-westpacgel.vercel.app
gel-next-site-git-main-westpacgel.vercel.app
gel-next-site.vercel.app