diff --git a/site/docs/foundations/density.mdx b/site/docs/foundations/density.mdx index 3262543b2e0..418e1199b97 100644 --- a/site/docs/foundations/density.mdx +++ b/site/docs/foundations/density.mdx @@ -3,7 +3,7 @@ title: Density layout: DetailTechnical --- -Density relates to the amount of content that can fit on a screen based on the [size](size) and [spacing](spacing) of components. +Density relates to the amount of content that can fit on a screen based on the [size](./size) and [spacing](./spacing) of components. When creating a product using the design system, choose a base density as a starting point. All components, spacing, and typographic elements will align and remain proportionate regardless of the density you choose. @@ -45,13 +45,13 @@ Don't use touch density for anything other than mobile or tablet experiences. Fo ## Mixing densities -Density is intended to be used one density at a time, only changing when part of a [responsive layout](/salt/foundations/responsiveness). When applying density: +Density is intended to be used one density at a time, only changing when part of a [responsive layout](./responsiveness). When applying density: - Pick a density and be consistent with it across your application - Alternatively, set density to align to breakpoints and define which density to use per breakpoint - If the use case requires it, mix densities, but do it sparingly in order to provide greater emphasis to a single component or small group of components, such as log-in fields. -The [Responsiveness](/salt/foundations/responsiveness) foundation includes guidance on recommended breakpoints for each density. +The [Responsiveness](./responsiveness) foundation includes guidance on recommended breakpoints for each density. Before mixing densities, consider other ways to establish hierarchy or emphasise certain elements, such as: @@ -62,6 +62,6 @@ Before mixing densities, consider other ways to establish hierarchy or emphasise If you still need to mix densities, do it sparingly. Although possible, the components within the system are not designed to be mixed. This does not mean they can't be mixed, but they are designed around a specific scaling system that ensures components of the same density align. The components are not designed to 'fit' together across densities. -Mixing the density of components sparingly can help to create emphasis without visual disruption. However, if overused, there may be issues with component alignment and use of [spacing tokens](spacing). +Mixing the density of components sparingly can help to create emphasis without visual disruption. However, if overused, there may be issues with component alignment and use of [spacing tokens](./spacing). :fragment{src="./fragments/feedback.mdx"} diff --git a/site/docs/foundations/division.mdx b/site/docs/foundations/division.mdx index eeb598efaa6..e4b12ebafeb 100644 --- a/site/docs/foundations/division.mdx +++ b/site/docs/foundations/division.mdx @@ -13,7 +13,7 @@ Negative space is the area between design elements. It can also be the space wit Negative space should be the first option when dividing regions, blocks of content or elements within a design. It's an elegant visual divider that helps break up an interface without creating visual clutter. -You can find further guidance in the [Spacing foundation](/salt/foundations/spacing). +You can find further guidance in the [Spacing foundation](./spacing).