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

Update the Getting started for Engineers documentation to include marketing and email "targets" #2462

Merged
merged 1 commit into from
Sep 27, 2024
Merged
Changes from all commits
Commits
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
18 changes: 18 additions & 0 deletions website/docs/getting-started/for-engineers.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,14 @@ Import design tokens as CSS variables by adding one of the following lines to th
// for product applications (Ember apps)
@import "@hashicorp/design-system-tokens/dist/products/css/tokens.css";

// for Cloud UI email templating
@import "@hashicorp/design-system-tokens/dist/cloud-email/tokens.css";

// for HashiCorp developer platform
@import "~@hashicorp/design-system-tokens/dist/devdot/css/tokens.css";

// for HashiCorp web/marketing websites
@import '@hashicorp/design-system-tokens/dist/marketing/css/tokens.css';
didoo marked this conversation as resolved.
Show resolved Hide resolved
```

### Import styles as CSS helper classes
Expand All @@ -254,11 +260,23 @@ Import CSS helper classes by adding any of the following lines to the main Sass
@import "@hashicorp/design-system-tokens/dist/products/css/helpers/typography.css";
@import "@hashicorp/design-system-tokens/dist/products/css/helpers/focus-ring.css";

// for Cloud UI email templating
@import "@hashicorp/design-system-tokens/dist/cloud-email/helpers/colors.css";
@import "@hashicorp/design-system-tokens/dist/cloud-email/helpers/elevation.css";
@import "@hashicorp/design-system-tokens/dist/cloud-email/helpers/typography.css";
@import "@hashicorp/design-system-tokens/dist/cloud-email/helpers/focus-ring.css";

// for HashiCorp developer platform
@import "~@hashicorp/design-system-tokens/dist/devdot/css/helpers/colors.css";
@import "~@hashicorp/design-system-tokens/dist/devdot/css/helpers/elevation.css";
@import "~@hashicorp/design-system-tokens/dist/devdot/css/helpers/typography.css";
@import "~@hashicorp/design-system-tokens/dist/devdot/css/helpers/focus-ring.css";

// for HashiCorp web/marketing websites
@import "@hashicorp/design-system-tokens/dist/marketing/css/helpers/color.css";
@import "@hashicorp/design-system-tokens/dist/marketing/css/helpers/elevation.css";
@import "@hashicorp/design-system-tokens/dist/marketing/css/helpers/focus-ring.css";
@import "@hashicorp/design-system-tokens/dist/marketing/css/helpers/typography.css";
```

For more examples and guidelines read [the tokens documentation](/foundations/tokens).
Expand Down