Jump to main content

Deprecated strips


Deprecated

This page contains legacy documentation of the deprecated variants of the strip component and is only meant for reference until these variants are removed in future version of Vanilla.

Light and dark

The strip pattern provides a full width strip container in which to wrap a row. A strip can have light (.p-strip--light) or dark (.p-strip--dark) grey background.

Deprecated

Light strips are now deprecated. Use the new highlighted strip instead.

Deprecated

Dark strips (.p-strip--dark) are now deprecated. Use the new theming by applying is-dark class name to the strip instead.

White strip

Deprecated

White strips (.p-strip--white) are now deprecated. Use the new highlighted strip instead.

The purpose of the white strip is to display some highlighted content on white background when page background is non-white (for when using paper page background).

Accent strip

Deprecated

Accent strips (.p-strip--accent) are now deprecated. Use the new highlighted strip instead.

The purpose of the strip accent pattern is to display content with a highlighted strip using the accent colour.

Image strip

Deprecated

Image strips (.p-strip--image) are now deprecated. For a hero section with a background use the new Suru component instead.

This pattern allows for an image background to be appear as a background on a strip.

Note: Declare the background-image as an inline style attribute in the HTML.

You can also add the classes '.is-light' and '.is-dark' to the strips to describe the background image. These classes will then override the text color to ensure it remains visible.

Bordered strip

Deprecated

Bordered strips are now deprecated. If a horizontal line is needed to separate parts of content use standard sections and the rule component instead.

This pattern is used to add a dividing border at the bottom of the strip.

Note: This should be used when two strips of the same type are used after each other.

Suru strip

Deprecated

Strips with old style of the Suru are now deprecated and should not be used on any new pages. Use a blank strip or new Suru component instead.

This is a patterned strip that is ideal for overview or main pages, and can be used with images.

The colours of the solid gradient are based on $color-brand by default. The gradient colours can be customised by overriding the $color-suru-start, $color-suru-middle and $color-suru-end variables. A dark colour scheme is recommended, as the text colour is light by default.

Topped Suru strip

Deprecated

Strips with old style of the Suru are now deprecated and should not be used on any new pages. Use a blank strip or new Suru component instead.

This is a patterned strip that is ideal for content pages.

The colours of the solid gradient are based on $color-brand by default. The gradient colours can be customised by overriding the $color-suru-start, $color-suru-middle and $color-suru-end variables.