Skip to content

Commit 965c0c2

Browse files
authored
fix: new style for title in titled content (#1283)
* fix: new style for title in titled content
1 parent 6908d7f commit 965c0c2

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

projects/components/src/titled-content/titled-content.component.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@
4949
height: 12px;
5050
margin-bottom: 12px;
5151
}
52+
53+
&.title-case-gray {
54+
@include subtitle-2($gray-4);
55+
text-transform: capitalize;
56+
}
5257
}
5358
}
5459

projects/components/src/titled-content/titled-content.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ export const enum TitlePosition {
9090
// Regular title (black) and GrayedOut new style (gray)
9191
export const enum TitledContentTitleStyle {
9292
Regular = 'regular',
93-
GrayedOut = 'grayed-out'
93+
GrayedOut = 'grayed-out',
94+
TitleCaseGray = 'title-case-gray'
9495
}
9596

9697
export const enum TitledContentHeaderJustify {

0 commit comments

Comments
 (0)