Skip to content

Commit

Permalink
docs: remove reference to system props
Browse files Browse the repository at this point in the history
  • Loading branch information
rezrah committed Mar 2, 2022
1 parent 25bd498 commit f08716b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/content/philosophy.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ We are focusing primarily on presentational components that help standardize com

## Assume that people will break the rules, provide safe ways for them to do so

While we aim to standardize design in Primer React, we also provide some flexibility with constraint-based props. We offer system props via [styled-system](https://github.com/styled-system/styled-system) to allow users of the components to make small customizations, such as color and spacing, using values from the theme. Users also have the option to override the theme with a theme of their own.
While we aim to standardize design in Primer React, we also provide additional styling flexibility through the [`sx` prop](/overriding-styles). This enables small customizations to color and spacing, using values from the theme. Users also have the option to override the theme with a theme of their own.

## Pattern Components vs Helper Components

Expand Down
2 changes: 1 addition & 1 deletion docs/content/theming.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Some components may break if your custom theme does not include all the same key

## Referencing theme values

You can reference theme values in your application using [system props](/system-props), the [`sx` prop](/overriding-styles), the `themeGet` function, or the `useTheme` hook.
You can reference theme values in your application using the [`sx` prop](/overriding-styles), the `themeGet` function, or the `useTheme` hook.

<Note variant="warning">

Expand Down

0 comments on commit f08716b

Please sign in to comment.