diff --git a/src/BIMDataComponents/BIMDataBreadcrumb/BIMDataBreadcrumb.vue b/src/BIMDataComponents/BIMDataBreadcrumb/BIMDataBreadcrumb.vue
index f312f445..127992b5 100644
--- a/src/BIMDataComponents/BIMDataBreadcrumb/BIMDataBreadcrumb.vue
+++ b/src/BIMDataComponents/BIMDataBreadcrumb/BIMDataBreadcrumb.vue
@@ -119,7 +119,7 @@ export default {
cursor: pointer;
}
&:hover:not(.bimdata-breadcrumb__step--last) {
- font-weight: bold;
+ font-weight: 700;
text-decoration: underline;
}
&::before {
@@ -128,7 +128,7 @@ export default {
height: 0;
overflow: hidden;
visibility: hidden;
- font-weight: bold;
+ font-weight: 700;
text-decoration: underline;
}
}
diff --git a/src/BIMDataComponents/BIMDataNavigation/_BIMDataNavigation.scss b/src/BIMDataComponents/BIMDataNavigation/_BIMDataNavigation.scss
index 1c329c70..92bae935 100644
--- a/src/BIMDataComponents/BIMDataNavigation/_BIMDataNavigation.scss
+++ b/src/BIMDataComponents/BIMDataNavigation/_BIMDataNavigation.scss
@@ -18,7 +18,7 @@
&.active {
.bimdata-btn {
- font-weight: bold;
+ font-weight: 700;
}
}
}
diff --git a/src/BIMDataComponents/BIMDataPagination/_BIMDataPagination.scss b/src/BIMDataComponents/BIMDataPagination/_BIMDataPagination.scss
index 0840f1cc..44745604 100644
--- a/src/BIMDataComponents/BIMDataPagination/_BIMDataPagination.scss
+++ b/src/BIMDataComponents/BIMDataPagination/_BIMDataPagination.scss
@@ -9,7 +9,7 @@
&.active {
.bimdata-btn {
- font-weight: bold;
+ font-weight: 700;
}
}
}
diff --git a/src/BIMDataComponents/BIMDataSelect/_BIMDataSelect.scss b/src/BIMDataComponents/BIMDataSelect/_BIMDataSelect.scss
index 2bcf7d6a..7b169bbc 100644
--- a/src/BIMDataComponents/BIMDataSelect/_BIMDataSelect.scss
+++ b/src/BIMDataComponents/BIMDataSelect/_BIMDataSelect.scss
@@ -101,7 +101,7 @@
&.option-group {
color: var(--color-granite);
- font-weight: bold;
+ font-weight: 700;
&:hover {
background-color: transparent;
cursor: default;
diff --git a/src/BIMDataComponents/BIMDataTable/_BIMDataTable.scss b/src/BIMDataComponents/BIMDataTable/_BIMDataTable.scss
index de0bbc09..10a17d94 100644
--- a/src/BIMDataComponents/BIMDataTable/_BIMDataTable.scss
+++ b/src/BIMDataComponents/BIMDataTable/_BIMDataTable.scss
@@ -24,7 +24,7 @@
}
th {
- font-weight: bold;
+ font-weight: 700;
color: var(--color-primary);
}
@@ -39,7 +39,7 @@
align-items: center;
padding: var(--spacing-unit);
font-size: 1rem;
- font-weight: bold;
+ font-weight: 700;
background-color: var(--color-silver-light);
}
}
diff --git a/src/BIMDataComponents/BIMDataText/BIMDataText.vue b/src/BIMDataComponents/BIMDataText/BIMDataText.vue
index e59bb54f..c0095292 100644
--- a/src/BIMDataComponents/BIMDataText/BIMDataText.vue
+++ b/src/BIMDataComponents/BIMDataText/BIMDataText.vue
@@ -20,7 +20,7 @@ export default {
},
fontWeight: {
type: String,
- default: "primary-font",
+ default: "400",
},
lineHeight: {
type: String,
@@ -55,16 +55,14 @@ export default {
},
computed: {
classes() {
- return {
- [`${this.color}`]: this.color,
- [`${this.fontWeight}`]: this.fontWeight,
- };
+ return `${this.color}`;
},
style() {
return {
- "font-size": `${this.calcFontSize}`,
- "line-height": `${this.calcLineHeight}`,
+ fontSize: `${this.calcFontSize}`,
+ lineHeight: `${this.calcLineHeight}`,
display: `${this.display}`,
+ fontWeight: `${this.fontWeight}`,
margin: `${this.margin}`,
padding: `${this.padding}`,
};
diff --git a/src/BIMDataSmartComponents/BIMDataFileManager/components/FileCard/FileCard.scss b/src/BIMDataSmartComponents/BIMDataFileManager/components/FileCard/FileCard.scss
index 5bbefbd1..7582f982 100644
--- a/src/BIMDataSmartComponents/BIMDataFileManager/components/FileCard/FileCard.scss
+++ b/src/BIMDataSmartComponents/BIMDataFileManager/components/FileCard/FileCard.scss
@@ -87,7 +87,7 @@
&__name {
font-size: 12px;
- font-weight: bold;
+ font-weight: 700;
color: $color-granite;
word-break: break-word;
-webkit-line-clamp: 2;
diff --git a/src/BIMDataSmartComponents/BIMDataFileManager/components/modals/DeleteModal.vue b/src/BIMDataSmartComponents/BIMDataFileManager/components/modals/DeleteModal.vue
index 0d738844..1eede459 100644
--- a/src/BIMDataSmartComponents/BIMDataFileManager/components/modals/DeleteModal.vue
+++ b/src/BIMDataSmartComponents/BIMDataFileManager/components/modals/DeleteModal.vue
@@ -158,7 +158,7 @@ export default {
max-width: 350px;
&__title {
- font-weight: bold;
+ font-weight: 700;
font-size: 120%;
}
diff --git a/src/BIMDataSmartComponents/BIMDataFileManager/components/modals/RenameModal.vue b/src/BIMDataSmartComponents/BIMDataFileManager/components/modals/RenameModal.vue
index c21a85b4..77ae7715 100644
--- a/src/BIMDataSmartComponents/BIMDataFileManager/components/modals/RenameModal.vue
+++ b/src/BIMDataSmartComponents/BIMDataFileManager/components/modals/RenameModal.vue
@@ -172,7 +172,7 @@ export default {
max-width: 350px;
&__title {
- font-weight: bold;
+ font-weight: 700;
font-size: 120%;
}
diff --git a/src/assets/css/_BIMDataFonts.css b/src/assets/css/_BIMDataFonts.css
index 6706cc4b..080c470c 100644
--- a/src/assets/css/_BIMDataFonts.css
+++ b/src/assets/css/_BIMDataFonts.css
@@ -1,14 +1,14 @@
@font-face {
- font-family: "robotobold";
+ font-family: "roboto";
src: url("../fonts/roboto-bold-webfont.woff2") format("woff2"),
url("../fonts/roboto-bold-webfont.woff2") format("woff");
- font-weight: 700;
+ font-weight: 600 700;
font-style: bold;
font-display: fallback;
}
@font-face {
- font-family: "robotomedium";
+ font-family: "robot";
src: url("../fonts/roboto-medium-webfont.woff2") format("woff2"),
url("../fonts/roboto-medium-webfont.woff") format("woff");
font-weight: 500;
@@ -17,10 +17,10 @@
}
@font-face {
- font-family: "robotoregular";
+ font-family: "roboto";
src: url("../fonts/roboto-regular-webfont.woff2") format("woff2"),
url("../fonts/roboto-regular-webfont.woff") format("woff");
- font-weight: 400;
+ font-weight: 100 400;
font-style: normal;
font-display: fallback;
}
diff --git a/src/assets/css/_BIMDataVariables.css b/src/assets/css/_BIMDataVariables.css
index f9c4c330..587e203a 100644
--- a/src/assets/css/_BIMDataVariables.css
+++ b/src/assets/css/_BIMDataVariables.css
@@ -61,7 +61,5 @@ html {
--size-btn-options: 45px;
/* base FONTS -------------------------------------- */
- --primary-font: "robotoregular", sans-serif;
- --primary-font-medium: "robotomedium", sans-serif;
- --primary-font-bold: "robotobold", sans-serif;
+ --primary-font: "roboto", sans-serif;
}
diff --git a/src/assets/css/utilities/_text.css b/src/assets/css/utilities/_text.css
index 967054be..bc894910 100644
--- a/src/assets/css/utilities/_text.css
+++ b/src/assets/css/utilities/_text.css
@@ -17,9 +17,3 @@
.primary-font {
font-family: var(--primary-font);
}
-.primary-font-medium {
- font-family: var(--primary-font-medium);
-}
-.primary-font-bold {
- font-family: var(--primary-font-bold);
-}
diff --git a/src/assets/scss/BIMData.scss b/src/assets/scss/BIMData.scss
index 3efc7045..f217f351 100644
--- a/src/assets/scss/BIMData.scss
+++ b/src/assets/scss/BIMData.scss
@@ -1,3 +1,5 @@
+@import "./BIMDataFonts.scss";
+
// import GLOBAL STYLE
@import "./BIMDataVariables.scss";
@import "./BIMDataGlobal.scss";
diff --git a/src/assets/scss/_BIMDataFonts.scss b/src/assets/scss/_BIMDataFonts.scss
index d654e769..0f686f4d 100644
--- a/src/assets/scss/_BIMDataFonts.scss
+++ b/src/assets/scss/_BIMDataFonts.scss
@@ -1,26 +1,26 @@
@font-face {
- font-family: "robotobold";
+ font-family: "roboto";
src: url("~@/assets/fonts/roboto-bold-webfont.woff2") format("woff2"),
url("~@/assets/fonts/roboto-bold-webfont.woff2") format("woff");
- font-weight: 700;
- font-style: normal;
+ font-weight: 600 700;
+ font-style: bold;
font-display: fallback;
}
@font-face {
- font-family: "robotomedium";
+ font-family: "roboto";
src: url("~@/assets/fonts/roboto-medium-webfont.woff2") format("woff2"),
url("~@/assets/fonts/roboto-medium-webfont.woff") format("woff");
font-weight: 500;
- font-style: normal;
+ font-style: medium;
font-display: fallback;
}
@font-face {
- font-family: "robotoregular";
+ font-family: "roboto";
src: url("~@/assets/fonts/roboto-regular-webfont.woff2") format("woff2"),
url("~@/assets/fonts/roboto-regular-webfont.woff") format("woff");
- font-weight: 400;
+ font-weight: 100 400;
font-style: normal;
font-display: fallback;
}
diff --git a/src/assets/scss/_BIMDataVariables.scss b/src/assets/scss/_BIMDataVariables.scss
index 17c13b80..7d342887 100644
--- a/src/assets/scss/_BIMDataVariables.scss
+++ b/src/assets/scss/_BIMDataVariables.scss
@@ -31,9 +31,7 @@ $spacing-unit: 12px;
$size-btn-options: 45px;
/* base FONTS -------------------------------------- */
-$primary-font: "robotoregular", sans-serif;
-$primary-font-medium: "robotomedium", sans-serif;
-$primary-font-bold: "robotobold", sans-serif;
+$primary-font: "roboto", sans-serif;
html {
/* base COLORS ------------------------------------------- */
@@ -102,7 +100,5 @@ html {
--size-btn-options: 45px;
/* base FONTS -------------------------------------- */
- --primary-font: "robotoregular", sans-serif;
- --primary-font-medium: "robotomedium", sans-serif;
- --primary-font-bold: "robotobold", sans-serif;
+ --primary-font: "roboto", sans-serif;
}
diff --git a/src/assets/scss/utilities/_text.scss b/src/assets/scss/utilities/_text.scss
index d1836cfb..1aae62fd 100644
--- a/src/assets/scss/utilities/_text.scss
+++ b/src/assets/scss/utilities/_text.scss
@@ -12,16 +12,10 @@
.bimdata-link {
color: var(--color-primary);
border-bottom: 1px solid var(--color-primary);
- font-weight: bold;
+ font-weight: 700;
}
/* BIMDATA FONT WEIGHT */
.primary-font {
- font-family: "robotoregular", sans-serif;
-}
-.primary-font-medium {
- font-family: "robotomedium", sans-serif;
-}
-.primary-font-bold {
- font-family: "robotobold", sans-serif;
+ font-family: "roboto", sans-serif;
}
diff --git a/src/web/_DesignSystem-global.scss b/src/web/_DesignSystem-global.scss
index cf705b9a..ec16f45e 100644
--- a/src/web/_DesignSystem-global.scss
+++ b/src/web/_DesignSystem-global.scss
@@ -89,5 +89,5 @@ pre[class*="language-"] {
margin: 0 2px;
border-radius: 2px;
color: var(--color-primary);
- font-weight: bold;
+ font-weight: 700;
}
diff --git a/src/web/views/Components/ResponsiveGrid/_ResponsiveGrid.scss b/src/web/views/Components/ResponsiveGrid/_ResponsiveGrid.scss
index 50c68985..afd67626 100644
--- a/src/web/views/Components/ResponsiveGrid/_ResponsiveGrid.scss
+++ b/src/web/views/Components/ResponsiveGrid/_ResponsiveGrid.scss
@@ -11,7 +11,7 @@
align-items: center;
background-color: var(--color-silver-light);
color: var(--color-primary);
- font-weight: bold;
+ font-weight: 700;
}
.demo-parameters {
diff --git a/src/web/views/Components/Table/Table.vue b/src/web/views/Components/Table/Table.vue
index d1cfdb2d..e78b3865 100644
--- a/src/web/views/Components/Table/Table.vue
+++ b/src/web/views/Components/Table/Table.vue
@@ -350,7 +350,7 @@ export default {
&__label {
margin-bottom: 12px;
- font-weight: bold;
+ font-weight: 700;
}
}
diff --git a/src/web/views/Components/Text/Text.vue b/src/web/views/Components/Text/Text.vue
index bda6a2ac..cebd55a4 100644
--- a/src/web/views/Components/Text/Text.vue
+++ b/src/web/views/Components/Text/Text.vue
@@ -25,10 +25,7 @@
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim
ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
aliquip ex ea commodo consequat. Duis aute irure dolor in
-
-
@@ -41,22 +41,6 @@
-
- @import "node_modules/@bimdata/design-system/dist/scss/BIMDataVariables.scss"
-
-
-