Skip to content

Commit

Permalink
Change OXD font files
Browse files Browse the repository at this point in the history
  • Loading branch information
Chamara Abesinghe authored Jun 29, 2023
1 parent a6badca commit 6068eaf
Show file tree
Hide file tree
Showing 75 changed files with 105 additions and 69 deletions.
Binary file removed components/src/assets/fonts/nunito/Nunito-Black.ttf
Binary file not shown.
Binary file removed components/src/assets/fonts/nunito/Nunito-Black.woff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed components/src/assets/fonts/nunito/Nunito-Bold.ttf
Binary file not shown.
Binary file removed components/src/assets/fonts/nunito/Nunito-Bold.woff
Binary file not shown.
Binary file removed components/src/assets/fonts/nunito/Nunito-Bold.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed components/src/assets/fonts/nunito/Nunito-Light.ttf
Binary file not shown.
Binary file removed components/src/assets/fonts/nunito/Nunito-Light.woff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
174 changes: 105 additions & 69 deletions components/src/styles/_typography.scss
Original file line number Diff line number Diff line change
@@ -1,141 +1,177 @@
@font-face {
font-display: swap;
font-family: 'Nunito';
src: local('Nunito ExtraLight'), local('Nunito-ExtraLight'),
url('~assets/fonts/nunito/Nunito-ExtraLight.woff2') format('woff2'),
url('~assets/fonts/nunito/Nunito-ExtraLight.woff') format('woff'),
url('~assets/fonts/nunito/Nunito-ExtraLight.ttf') format('truetype');
font-weight: 200;
font-style: normal;
font-weight: 200;
src: url('~assets/fonts/nunito/nunito-v25-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-200.woff2')
format('woff2'),
url('~assets/fonts/nunito/nunito-v25-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-200.ttf')
format('truetype');
}

@font-face {
font-display: swap;
font-family: 'Nunito';
src: local('Nunito ExtraLight Italic'), local('Nunito-ExtraLightItalic'),
url('~assets/fonts/nunito/Nunito-ExtraLightItalic.woff2') format('woff2'),
url('~assets/fonts/nunito/Nunito-ExtraLightItalic.woff') format('woff'),
url('~assets/fonts/nunito/Nunito-ExtraLightItalic.ttf') format('truetype');
font-weight: 200;
font-style: italic;
font-weight: 200;
src: url('~assets/fonts/nunito/nunito-v25-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-200italic.woff2')
format('woff2'),
url('~assets/fonts/nunito/nunito-v25-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-200italic.ttf')
format('truetype');
}

@font-face {
font-display: swap;
font-family: 'Nunito';
src: local('Nunito Light'), local('Nunito-Light'),
url('~assets/fonts/nunito/Nunito-Light.woff2') format('woff2'),
url('~assets/fonts/nunito/Nunito-Light.woff') format('woff'),
url('~assets/fonts/nunito/Nunito-Light.ttf') format('truetype');
font-weight: 300;
font-style: normal;
font-weight: 300;
src: url('~assets/fonts/nunito/nunito-v25-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-300.woff2')
format('woff2'),
url('~assets/fonts/nunito/nunito-v25-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-300.ttf')
format('truetype');
}

@font-face {
font-display: swap;
font-family: 'Nunito';
src: local('Nunito Light Italic'), local('Nunito-LightItalic'),
url('~assets/fonts/nunito/Nunito-LightItalic.woff2') format('woff2'),
url('~assets/fonts/nunito/Nunito-LightItalic.woff') format('woff'),
url('~assets/fonts/nunito/Nunito-LightItalic.ttf') format('truetype');
font-style: italic;
font-weight: 300;
src: url('~assets/fonts/nunito/nunito-v25-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-300italic.woff2')
format('woff2'),
url('~assets/fonts/nunito/nunito-v25-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-300italic.ttf')
format('truetype');
}

@font-face {
font-display: swap;
font-family: 'Nunito';
font-style: normal;
font-weight: 400;
src: url('~assets/fonts/nunito/nunito-v25-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-regular.woff2')
format('woff2'),
url('~assets/fonts/nunito/nunito-v25-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-regular.ttf')
format('truetype');
}

@font-face {
font-display: swap;
font-family: 'Nunito';
font-style: italic;
font-weight: 400;
src: url('~assets/fonts/nunito/nunito-v25-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-italic.woff2')
format('woff2'),
url('~assets/fonts/nunito/nunito-v25-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-italic.ttf')
format('truetype');
}

@font-face {
font-display: swap;
font-family: 'Nunito';
src: local('Nunito SemiBold'), local('Nunito-SemiBold'),
url('~assets/fonts/nunito/Nunito-SemiBold.woff2') format('woff2'),
url('~assets/fonts/nunito/Nunito-SemiBold.woff') format('woff'),
url('~assets/fonts/nunito/Nunito-SemiBold.ttf') format('truetype');
font-weight: 600;
font-style: normal;
font-weight: 500;
src: url('~assets/fonts/nunito/nunito-v25-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-500.woff2')
format('woff2'),
url('~assets/fonts/nunito/nunito-v25-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-500.ttf')
format('truetype');
}

@font-face {
font-display: swap;
font-family: 'Nunito';
src: local('Nunito SemiBold Italic'), local('Nunito-SemiBoldItalic'),
url('~assets/fonts/nunito/Nunito-SemiBoldItalic.woff2') format('woff2'),
url('~assets/fonts/nunito/Nunito-SemiBoldItalic.woff') format('woff'),
url('~assets/fonts/nunito/Nunito-SemiBoldItalic.ttf') format('truetype');
font-weight: 600;
font-style: italic;
font-weight: 500;
src: url('~assets/fonts/nunito/nunito-v25-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-500italic.woff2')
format('woff2'),
url('~assets/fonts/nunito/nunito-v25-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-500italic.ttf')
format('truetype');
}

@font-face {
font-display: swap;
font-family: 'Nunito';
src: local('Nunito ExtraBold'), local('Nunito-ExtraBold'),
url('~assets/fonts/nunito/Nunito-ExtraBold.woff2') format('woff2'),
url('~assets/fonts/nunito/Nunito-ExtraBold.woff') format('woff'),
url('~assets/fonts/nunito/Nunito-ExtraBold.ttf') format('truetype');
font-weight: 800;
font-style: normal;
font-weight: 600;
src: url('~assets/fonts/nunito/nunito-v25-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-600.woff2')
format('woff2'),
url('~assets/fonts/nunito/nunito-v25-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-600.ttf')
format('truetype');
}

@font-face {
font-display: swap;
font-family: 'Nunito';
src: local('Nunito ExtraBold Italic'), local('Nunito-ExtraBoldItalic'),
url('~assets/fonts/nunito/Nunito-ExtraBoldItalic.woff2') format('woff2'),
url('~assets/fonts/nunito/Nunito-ExtraBoldItalic.woff') format('woff'),
url('~assets/fonts/nunito/Nunito-ExtraBoldItalic.ttf') format('truetype');
font-weight: 800;
font-style: italic;
font-weight: 600;
src: url('~assets/fonts/nunito/nunito-v25-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-600italic.woff2')
format('woff2'),
url('~assets/fonts/nunito/nunito-v25-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-600italic.ttf')
format('truetype');
}

@font-face {
font-display: swap;
font-family: 'Nunito';
src: local('Nunito Black'), local('Nunito-Black'),
url('~assets/fonts/nunito/Nunito-Black.woff2') format('woff2'),
url('~assets/fonts/nunito/Nunito-Black.woff') format('woff'),
url('~assets/fonts/nunito/Nunito-Black.ttf') format('truetype');
font-weight: 900;
font-style: normal;
font-weight: 700;
src: url('~assets/fonts/nunito/nunito-v25-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-700.woff2')
format('woff2'),
url('~assets/fonts/nunito/nunito-v25-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-700.ttf')
format('truetype');
}

@font-face {
font-display: swap;
font-family: 'Nunito';
src: local('Nunito Black Italic'), local('Nunito-BlackItalic'),
url('~assets/fonts/nunito/Nunito-BlackItalic.woff2') format('woff2'),
url('~assets/fonts/nunito/Nunito-BlackItalic.woff') format('woff'),
url('~assets/fonts/nunito/Nunito-BlackItalic.ttf') format('truetype');
font-weight: 900;
font-style: italic;
font-weight: 700;
src: url('~assets/fonts/nunito/nunito-v25-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-700italic.woff2')
format('woff2'),
url('~assets/fonts/nunito/nunito-v25-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-700italic.ttf')
format('truetype');
}

@font-face {
font-display: swap;
font-family: 'Nunito';
src: local('Nunito Regular'), local('Nunito-Regular'),
url('~assets/fonts/nunito/Nunito-Regular.woff2') format('woff2'),
url('~assets/fonts/nunito/Nunito-Regular.woff') format('woff'),
url('~assets/fonts/nunito/Nunito-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
font-weight: 800;
src: url('~assets/fonts/nunito/nunito-v25-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-800.woff2')
format('woff2'),
url('~assets/fonts/nunito/nunito-v25-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-800.ttf')
format('truetype');
}

@font-face {
font-display: swap;
font-family: 'Nunito';
src: local('Nunito Italic'), local('Nunito-Italic'),
url('~assets/fonts/nunito/Nunito-Italic.woff2') format('woff2'),
url('~assets/fonts/nunito/Nunito-Italic.woff') format('woff'),
url('~assets/fonts/nunito/Nunito-Italic.ttf') format('truetype');
font-weight: normal;
font-style: italic;
font-weight: 800;
src: url('~assets/fonts/nunito/nunito-v25-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-800italic.woff2')
format('woff2'),
url('~assets/fonts/nunito/nunito-v25-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-800italic.ttf')
format('truetype');
}

@font-face {
font-display: swap;
font-family: 'Nunito';
src: local('Nunito Bold'), local('Nunito-Bold'),
url('~assets/fonts/nunito/Nunito-Bold.woff2') format('woff2'),
url('~assets/fonts/nunito/Nunito-Bold.woff') format('woff'),
url('~assets/fonts/nunito/Nunito-Bold.ttf') format('truetype');
font-weight: bold;
font-style: normal;
font-weight: 900;
src: url('~assets/fonts/nunito/nunito-v25-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-900.woff2')
format('woff2'),
url('~assets/fonts/nunito/nunito-v25-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-900.ttf')
format('truetype');
}

@font-face {
font-display: swap;
font-family: 'Nunito';
src: local('Nunito Bold Italic'), local('Nunito-BoldItalic'),
url('~assets/fonts/nunito/Nunito-BoldItalic.woff2') format('woff2'),
url('~assets/fonts/nunito/Nunito-BoldItalic.woff') format('woff'),
url('~assets/fonts/nunito/Nunito-BoldItalic.ttf') format('truetype');
font-weight: bold;
font-style: italic;
font-weight: 900;
src: url('~assets/fonts/nunito/nunito-v25-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-900italic.woff2')
format('woff2'),
url('~assets/fonts/nunito/nunito-v25-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-900italic.ttf')
format('truetype');
}

$oxd-font-family: 'Nunito', sans-serif !default;

0 comments on commit 6068eaf

Please sign in to comment.