Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Add modifier classes to typography in order to use these variants via class as well

Henriette Dargefdd43b197505
diff --git a/frontend/src/app/spot/styles/sass/common/typography.sass b/frontend/src/app/spot/styles/sass/common/typography.sass
index 826b5078f19..cc191c8215f 100644
--- a/frontend/src/app/spot/styles/sass/common/typography.sass
+++ b/frontend/src/app/spot/styles/sass/common/typography.sass
@@ -32,3 +32,20 @@
@include spot-caption
padding: 0
margin: 0
+
+.spot-header-big,
+.spot-header-small,
+.spot-subheader-big,
+.spot-subheader-small,
+.spot-body-big,
+.spot-body-small,
+.spot-caption
+ &_bold
+ font-weight: bold
+
+ &_italic
+ font-style: italic
+
+ &_regular
+ font-weight: normal
+ font-style: normal