From c60a1e36af17df6ea59ad01194f191f734fca61d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simen=20Heggest=C3=B8yl?= Date: Fri, 25 Aug 2023 13:56:56 +0200 Subject: [PATCH] Get rid of the typography module Get rid of the typography style module. Use Punkt text classes and mixins directly instead, which also ensures more correct usage of line height and letter spacing according to Punkt. The remains of the module are split into two new `titles` and `markdown` modules. --- src/components/IndicatorTooltip.vue | 8 +- src/components/KpiWidgetGroup.vue | 17 ++-- .../Navigation/SiteMenuDropdown.vue | 8 +- .../Navigation/UserMenuDropdown.vue | 14 +-- .../header/OrganizationSelector.vue | 6 +- .../Navigation/header/OrganizationTree.vue | 7 +- src/components/ProgressUpdateAPIExample.vue | 4 +- src/components/TabList.vue | 51 ++--------- src/components/modals/EditGoalsModal.vue | 5 +- src/components/modals/KPIProgressModal.vue | 2 +- src/components/modals/ProgressModal.vue | 4 - src/components/widgets/PeriodTrendTag.vue | 13 ++- .../widgets/WidgetKpiCard/WidgetKpiCard.vue | 12 +-- .../widgets/WidgetKpiProgressStats.vue | 8 +- src/styles/_forms.scss | 10 +-- src/styles/_markdown.scss | 35 ++++++++ src/styles/_titles.scss | 16 ++++ src/styles/_tooltip.scss | 6 +- src/styles/_vSelect.scss | 8 +- src/styles/main.scss | 6 ++ src/styles/typography.scss | 89 ------------------- src/views/Help.vue | 10 +++ src/views/Item/ItemAbout.vue | 2 - src/views/ItemAdmin/ItemAdminKPI.vue | 4 +- src/views/KeyResultHome.vue | 21 +++-- src/views/ObjectiveHome.vue | 12 ++- 26 files changed, 145 insertions(+), 233 deletions(-) create mode 100644 src/styles/_markdown.scss create mode 100644 src/styles/_titles.scss delete mode 100644 src/styles/typography.scss diff --git a/src/components/IndicatorTooltip.vue b/src/components/IndicatorTooltip.vue index e4e9b5f75..03e6bee86 100644 --- a/src/components/IndicatorTooltip.vue +++ b/src/components/IndicatorTooltip.vue @@ -1,7 +1,7 @@ @@ -48,8 +48,6 @@ export default { diff --git a/src/components/KpiWidgetGroup.vue b/src/components/KpiWidgetGroup.vue index a7cbb1745..8e3a2a700 100644 --- a/src/components/KpiWidgetGroup.vue +++ b/src/components/KpiWidgetGroup.vue @@ -3,10 +3,15 @@

{{ title }}