Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 1 addition & 26 deletions sass/themes/schemas/components/dark/_avatar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,33 +19,8 @@ $dark-fluent-avatar: $fluent-avatar;

/// Generates a dark bootstrap avatar schema.
/// @type {Map}
/// @prop {Map} background [color: ('gray', 200)]- The background color of the avatar.
/// @prop {Map} color [contrast-color: ('gray', 200)] - The text color of the avatar.
/// @prop {Map} icon-color [contrast-color: ('gray', 200)] - The icon color of the avatar.
/// @requires $bootstrap-avatar
$dark-bootstrap-avatar: extend(
$bootstrap-avatar,
(
background: (
color: (
'gray',
200,
),
),
color: (
contrast-color: (
'gray',
200,
),
),
icon-color: (
contrast-color: (
'gray',
200,
),
),
)
);
$dark-bootstrap-avatar: $bootstrap-avatar;

/// Generates a dark indigo avatar schema.
/// @type {Map}
Expand Down
30 changes: 3 additions & 27 deletions sass/themes/schemas/components/light/_avatar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

/// Generates a light avatar schema.
/// @type {Map}
/// @prop {Map} background [color: ('gray', 400, .54)]- The background color of the avatar.
/// @prop {Map} color [color: ('gray', 800, .96)] - The text color of the avatar.
/// @prop {Map} icon-color [color: ('gray', 800, .96)] - The icon color of the avatar.
/// @prop {Map} background [color: ('gray', 400)]- The background color of the avatar.
/// @prop {Map} color [color: ('gray', 800)] - The text color of the avatar.
/// @prop {Map} icon-color [color: ('gray', 800)] - The icon color of the avatar.
/// @prop {Number} border-radius [rem(8px)] - The border radius for rounded avatar.
/// @prop {List} size [(rem(40px), rem(64px), rem(88px))] - The size used for the avatar width and height.
/// @prop {Number} default-size [1] - The default size used for the avatar component.
Expand All @@ -20,21 +20,18 @@ $light-avatar: (
color: (
'gray',
400,
0.54,
),
),
color: (
color: (
'gray',
800,
0.96,
),
),
icon-color: (
color: (
'gray',
800,
0.96,
),
),
border-radius: rem(8px),
Expand All @@ -60,32 +57,11 @@ $fluent-avatar: $light-avatar;

/// Generates a bootstrap avatar schema.
/// @type {Map}
/// @prop {Map} background [color: ('gray', 400)]- The background color of the avatar.
/// @prop {Map} color [contrast-color: ('gray', 400)] - The text color of the avatar.
/// @prop {Map} icon-color [contrast-color: ('gray', 400)] - The icon color of the avatar.
/// @prop {Number} border-radius [rem(4px)] - The border radius for rounded avatar.
/// @requires {Map} $light-avatar
$bootstrap-avatar: extend(
$light-avatar,
(
background: (
color: (
'gray',
400,
),
),
color: (
contrast-color: (
'gray',
400,
),
),
icon-color: (
contrast-color: (
'gray',
400,
),
),
border-radius: rem(4px),
)
);
Expand Down
Loading