Skip to content

Commit

Permalink
Merge pull request #1750 from SpareBank1/remove-museo-sans-as-fallback
Browse files Browse the repository at this point in the history
Remove museo sans as fallback
  • Loading branch information
HeleneKassandra authored Jan 16, 2024
2 parents edf8f78 + 61f7b78 commit f8c3cce
Show file tree
Hide file tree
Showing 19 changed files with 11 additions and 203 deletions.
2 changes: 1 addition & 1 deletion component-overview/webapp/styles/sb1ex-live.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
background-color: var(--ffe-farge-koksgraa);
color: var(--ffe-farge-lysvarmgraa);
white-space: pre-wrap;
font-family: 'SpareBank1-medium', 'MuseoSansRounded-700', arial, sans-serif;
font-family: 'SpareBank1-medium', arial, sans-serif;
padding: var(--ffe-spacing-xs);
}

Expand Down
4 changes: 2 additions & 2 deletions component-overview/webapp/styles/sb1ex-toc.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
}

.sb1ex-toc__example-list {
font-family: 'SpareBank1-regular', 'MuseoSans-500', arial, sans-serif;
font-family: 'SpareBank1-regular', arial, sans-serif;
line-height: 1.5rem;
list-style-type: none;
margin: 0;
Expand All @@ -49,7 +49,7 @@
}

.sb1ex-inpage-nav__list {
font-family: 'SpareBank1-regular', 'MuseoSans-500', arial, sans-serif;
font-family: 'SpareBank1-regular', arial, sans-serif;
list-style-type: none;
margin: 0;
padding: 0;
Expand Down
13 changes: 5 additions & 8 deletions packages/ffe-core/less/theme.less
Original file line number Diff line number Diff line change
Expand Up @@ -111,22 +111,19 @@
/** Fonts */

/* Default font */
--ffe-g-font: 'SpareBank1-regular', 'MuseoSans-500', arial, sans-serif;
--ffe-g-font: 'SpareBank1-regular', arial, sans-serif;

/* h1 - h2 */
--ffe-g-font-heading: 'SpareBank1-title-medium', 'MuseoSansRounded-700',
arial, sans-serif;
--ffe-g-font-heading: 'SpareBank1-title-medium', arial, sans-serif;

/* h3 - h6 */
--ffe-g-font-heading-small: 'SpareBank1-medium', 'MuseoSansRounded-700',
arial, sans-serif;
--ffe-g-font-heading-small: 'SpareBank1-medium', arial, sans-serif;

/* Bold text */
--ffe-g-font-strong: 'SpareBank1-medium', 'MuseoSansRounded-700', arial,
sans-serif;
--ffe-g-font-strong: 'SpareBank1-medium', arial, sans-serif;

/* Emphasized text */
--ffe-g-font-italic: 'SpareBank1-italic', 'MuseoSans-500', arial, sans-serif;
--ffe-g-font-italic: 'SpareBank1-italic', arial, sans-serif;

/** Typography */

Expand Down
3 changes: 1 addition & 2 deletions packages/ffe-header/less/theme.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
--ffe-v-link-disabled-color: @ffe-farge-moerkgraa;
--ffe-v-notification-bubble-background-color: @ffe-farge-skog;
--ffe-v-notification-bubble-text-color: @ffe-farge-hvit;
--ffe-v-font-strong: 'SpareBank1-medium', 'MuseoSansRounded-700', arial,
sans-serif;
--ffe-v-font-strong: 'SpareBank1-medium', arial, sans-serif;

/* User nav menu */
--ffe-v-usernav-link-hover-background-color: @ffe-farge-frost-30;
Expand Down
2 changes: 1 addition & 1 deletion packages/ffe-tables/less/table.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.ffe-table {
font-family: 'SpareBank1-regular', 'MuseoSans-500', arial, sans-serif;
font-family: 'SpareBank1-regular', arial, sans-serif;
margin: @ffe-spacing-sm 0;
min-width: 100%;
text-align: left;
Expand Down
36 changes: 0 additions & 36 deletions packages/ffe-webfonts/LICENSE-fonts.md

This file was deleted.

76 changes: 0 additions & 76 deletions packages/ffe-webfonts/fonts-inline.less

This file was deleted.

76 changes: 0 additions & 76 deletions packages/ffe-webfonts/fonts.less

This file was deleted.

Binary file removed packages/ffe-webfonts/fonts/2FDE32_0_0.woff
Binary file not shown.
Binary file removed packages/ffe-webfonts/fonts/2FDE32_0_0.woff2
Binary file not shown.
Binary file removed packages/ffe-webfonts/fonts/2FDE32_1_0.woff
Binary file not shown.
Binary file removed packages/ffe-webfonts/fonts/2FDE32_1_0.woff2
Binary file not shown.
Binary file removed packages/ffe-webfonts/fonts/2FDE32_2_0.woff
Binary file not shown.
Binary file removed packages/ffe-webfonts/fonts/2FDE32_2_0.woff2
Binary file not shown.
Binary file removed packages/ffe-webfonts/fonts/2FDE32_3_0.woff
Binary file not shown.
Binary file removed packages/ffe-webfonts/fonts/2FDE32_3_0.woff2
Binary file not shown.
Binary file removed packages/ffe-webfonts/fonts/2FDE32_4_0.woff
Binary file not shown.
Binary file removed packages/ffe-webfonts/fonts/2FDE32_4_0.woff2
Binary file not shown.
2 changes: 1 addition & 1 deletion packages/ffe-webfonts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"url": "ssh://[email protected]:SpareBank1/designsystem.git"
},
"scripts": {
"build": "lessc fonts-inline.less fonts.css && lessc sb1-fonts-inline.less sb1-fonts.css",
"build": "lessc sb1-fonts-inline.less sb1-fonts.css",
"lint": "ffe-buildtool stylelint *.less",
"test": "npm run lint"
},
Expand Down

0 comments on commit f8c3cce

Please sign in to comment.