Profile Name
Installation
yarn add @chewy/kib-profile-styles
Import
@use '~@chewy/kib-profile-styles/src/kib-profile-name/styles' as kib-profile-name;
Mixins
root
@mixin root() { ... }
@mixin root() { display: flex; flex-direction: column; }
Description
Profile name styles
Parameters
None.
name-airy
@mixin name-airy() { ... }
@mixin name-airy() { @include typography.style-as('section-1'); @container kib-profile-card (max-width: #{settings.$card-condensed-max-width}) { @include typography.style-as('paragraph-1'); font-weight: typography.get-weight('semibold'); color: color.get('text', 'primary'); } }
Description
Profile name Airy styles
Parameters
None.
Requires
- [function]
get-weight
- [function]
get
- [variable]
card-condensed-max-width
Used by
- [mixin]
name
metadata-airy
@mixin metadata-airy() { ... }
@mixin metadata-airy() { @include typography.style-as('paragraph-1'); @container kib-profile-card (max-width: #{settings.$card-condensed-max-width}) { @include typography.style-as('paragraph-2'); color: color.get('text', 'secondary'); } }
Description
Profile metadata airy styles
Parameters
None.
Requires
- [function]
get
- [variable]
card-condensed-max-width
Used by
- [mixin]
metadata
name
@mixin name() { ... }
@mixin name() { @include typography.style-as('paragraph-1'); font-weight: typography.get-weight('semibold'); color: color.get('text', 'primary'); #{$parent}--airy & { @include name-airy; } }
Description
Profile name styles
Parameters
None.
Requires
- [mixin]
name-airy
- [function]
get-weight
- [function]
get
metadata
@mixin metadata() { ... }
@mixin metadata() { @include typography.style-as('paragraph-2'); color: color.get('text', 'secondary'); #{$parent}--airy & { @include metadata-airy; } }