Skip to content

Commit

Permalink
Change tab text of typography from "Styling strategies" to "Style str…
Browse files Browse the repository at this point in the history
…ategies" (#3163)

* fix: Change tab text from "Styling strategies" to "Style Strategies"

* fix: Change tab text from "Styling strategies" to "Style strategies"

* fix: Change tab text from "Styling strategies" to "Style strategies"

* fix: Change tab text from "Styling strategies" to "Style strategies"

* fix: Update links in page to "Style Strategies"

* fix: Update link in page to "Style strategies"

* fix: rectify verbiage

* fix: fix minor typo

* fix: fix typo

* fix: fix the link to "Style Strategies"

* fix: fix the link to "Style strategies"

* fix: create redirect to "Style strategies"

* Update gatsby-node.js

Co-authored-by: Taylor Jones <tay1orjones@users.noreply.github.com>
  • Loading branch information
abhilipsasahoo03 and tay1orjones authored Sep 20, 2022
1 parent e0059b2 commit 94d7e1e
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 13 deletions.
5 changes: 5 additions & 0 deletions gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,9 @@ exports.createPages = ({ actions }) => {
toPath: '/developing/vue-tutorial/overview',
isPermanent: true,
});
createRedirect({
fromPath: '/guidelines/typography/styling-strategies',
toPath: '/guidelines/typography/style-strategies',
isPermanent: true,
});
};
2 changes: 1 addition & 1 deletion src/pages/guidelines/typography/code.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ title: Typography
description:
Typography can help create clear hierarchies, organize information, and guide
users through a product or experience.
tabs: ['Overview', 'Styling strategies', 'Type sets', 'Code']
tabs: ['Overview', 'Style strategies', 'Type sets', 'Code']
---

<PageDescription>
Expand Down
8 changes: 4 additions & 4 deletions src/pages/guidelines/typography/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ title: Typography
description:
Typography can help create clear hierarchies, organize information, and guide
users through a product or experience.
tabs: ['Overview', 'Styling strategies', 'Type sets', 'Code']
tabs: ['Overview', 'Style strategies', 'Type sets', 'Code']
---

import TypeScaleTable from '../../../../src/components/TypeScaleTable';
Expand Down Expand Up @@ -51,7 +51,7 @@ The productive styles work together to support the hierarchy of information and
set user expectations. On the other hand, the larger expressive type styles
allow for a more dramatic, graphic use of type in editorial and marketing
design. These type styles are excellent for long form reading and scanning, but
would be distracting for use in product.
would be distracting if used in product.

Within **Body styles** and **Utility styles**, the same set of styles are
offered. Productive styles are named with a suffix of `-01` and expressive style
Expand All @@ -63,7 +63,7 @@ headings are responsive and the type styles change size at different
breakpoints.

For more detail, see
[Styling strategies](/guidelines/typography/styling-strategies/) and
[Style strategies](/guidelines/typography/style-strategies/) and
[Type sets](/guidelines/typography/type-sets/).

## Typeface: IBM Plex
Expand Down Expand Up @@ -134,7 +134,7 @@ long text.
### Italic

Each weight has an italic style, which should only be used when you need to
emphasize certain words in a sentence (titles of works, technical terms, names
emphasize certain words in a sentence (i.e., titles of works, technical terms, names
of devices, and captions).

<TypeWeight type="italic" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ title: Typography
description:
Carbon provides designers with two type sets that support productive and
expressive experiences.
tabs: ['Overview', 'Styling strategies', 'Type sets', 'Code']
tabs: ['Overview', 'Style strategies', 'Type sets', 'Code']
---

<PageDescription>
Expand Down Expand Up @@ -129,7 +129,7 @@ facilitate focus.

### Using productive moments within IBM.com pages

Here are some of the places the Dotcom team use productive moments:
Here are some of the places the Dotcom team uses productive moments:

- The global masthead mega menu
- IBM.com search
Expand Down
12 changes: 6 additions & 6 deletions src/pages/guidelines/typography/type-sets.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ title: Typography
description:
The productive and expressive type sets support designers creating for a full
range of user needs and activities across product and web pages.
tabs: ['Overview', 'Styling strategies', 'Type sets', 'Code']
tabs: ['Overview', 'Style strategies', 'Type sets', 'Code']
---

import TypesetStyle from 'components/TypesetStyle';
Expand Down Expand Up @@ -50,7 +50,7 @@ Carbon uses type tokens to manage typography, and these tokens sit within two
type sets. The productive and expressive type sets support designers creating
for a full range of user needs and activities across product and web pages. To
understand when to use styles from each set, see
[Styling strategies](/guidelines/typography/styling-strategies).
[Style strategies](/guidelines/typography/style-strategies).

#### Base type sizes

Expand All @@ -74,15 +74,15 @@ nature of the pages.
density of information housed inside containers for space efficiency, and in
these situations fixed type styles are a must.

- The expressive type set has two fixed headings, for use where smaller headings
- The expressive type set has two fixed headings that are to be used where smaller headings
are needed. The remaining headings are _fluid_. Web pages need to be able to
flex and work at different breakpoints, and the fluid heading styles change
size at different breakpoints, and can extrapolate/stretch in between sizes
for smooth transitions.

## Utility styles

The utility styles are for use with productive and expressive moments and
The utility styles are used with productive and expressive moments and
include styles for code snippets, labels for captions and helper text, as well
as legal copy. Productive styles have a suffix of `-01` and expressive styles
have a suffix of `-02`.
Expand Down Expand Up @@ -116,7 +116,7 @@ styles change size at different breakpoints.
Do not use these styles inside a container. They may be used in product pages
where text sits outside of a container, and a blend of expressive and productive
type styles is desired for hierarchy and distinction. For more information, see
[Styling strategies](/guidelines/typography/styling-strategies).
[Style strategies](/guidelines/typography/style-strategies).

<TypesetStyle typesets="fluidHeadings" breakpointControls={true} />

Expand All @@ -125,7 +125,7 @@ type styles is desired for hierarchy and distinction. For more information, see
The callout and display styles are part of the expressive set and being fluid,
they will adjust at different breakpoints. Do not use these styles inside a
container. For guidance about using display styles, see
[Styling strategies](/guidelines/typography/styling-strategies#expressive-use-cases).
[Style strategies](/guidelines/typography/style-strategies#expressive-use-cases).

<TypesetStyle typesets="fluidCallouts,fluidDisplay" breakpointControls={true} />

Expand Down

1 comment on commit 94d7e1e

@vercel
Copy link

@vercel vercel bot commented on 94d7e1e Sep 20, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.