Skip to content

Commit

Permalink
Update font Sarabun
Browse files Browse the repository at this point in the history
  • Loading branch information
Rotzbua authored and keunes committed Aug 26, 2023
1 parent d276782 commit fe0061b
Show file tree
Hide file tree
Showing 17 changed files with 16 additions and 24 deletions.
40 changes: 16 additions & 24 deletions _sass/_font.scss
Original file line number Diff line number Diff line change
@@ -1,47 +1,39 @@
/* sarabun-regular - latin */
@font-face {
font-family: "Sarabun";
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: 'Sarabun';
font-style: normal;
font-weight: 400;
font-display: swap;
src: local("Sarabun Regular"), local("Sarabun-Regular"),
url("../fonts/sarabun/sarabun-v8-latin-regular.woff2") format("woff2"),
/* Chrome 26+, Opera 23+, Firefox 39+ */
url("../fonts/sarabun/sarabun-v8-latin-regular.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
src: url('../fonts/sarabun/sarabun-v13-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
url('../fonts/sarabun/sarabun-v13-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* sarabun-500 - latin */
@font-face {
font-family: "Sarabun";
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: 'Sarabun';
font-style: normal;
font-weight: 500;
font-display: swap;
src: local("Sarabun Medium"), local("Sarabun-Medium"),
url("../fonts/sarabun/sarabun-v8-latin-500.woff2") format("woff2"),
/* Chrome 26+, Opera 23+, Firefox 39+ */
url("../fonts/sarabun/sarabun-v8-latin-500.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
src: url('../fonts/sarabun/sarabun-v13-latin-500.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
url('../fonts/sarabun/sarabun-v13-latin-500.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* sarabun-600 - latin */
@font-face {
font-family: "Sarabun";
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: 'Sarabun';
font-style: normal;
font-weight: 600;
font-display: swap;
src: local("Sarabun SemiBold"), local("Sarabun-SemiBold"),
url("../fonts/sarabun/sarabun-v8-latin-600.woff2") format("woff2"),
/* Chrome 26+, Opera 23+, Firefox 39+ */
url("../fonts/sarabun/sarabun-v8-latin-600.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
src: url('../fonts/sarabun/sarabun-v13-latin-600.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
url('../fonts/sarabun/sarabun-v13-latin-600.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* sarabun-700 - latin */
@font-face {
font-family: "Sarabun";
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: 'Sarabun';
font-style: normal;
font-weight: 700;
font-display: swap;
src: local("Sarabun Bold"), local("Sarabun-Bold"),
url("../fonts/sarabun/sarabun-v8-latin-700.woff2") format("woff2"),
/* Chrome 26+, Opera 23+, Firefox 39+ */
url("../fonts/sarabun/sarabun-v8-latin-700.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
src: url('../fonts/sarabun/sarabun-v13-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
url('../fonts/sarabun/sarabun-v13-latin-700.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
Binary file added assets/fonts/sarabun/sarabun-v13-latin-500.ttf
Binary file not shown.
Binary file added assets/fonts/sarabun/sarabun-v13-latin-500.woff2
Binary file not shown.
Binary file added assets/fonts/sarabun/sarabun-v13-latin-600.ttf
Binary file not shown.
Binary file added assets/fonts/sarabun/sarabun-v13-latin-600.woff2
Binary file not shown.
Binary file added assets/fonts/sarabun/sarabun-v13-latin-700.ttf
Binary file not shown.
Binary file added assets/fonts/sarabun/sarabun-v13-latin-700.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed assets/fonts/sarabun/sarabun-v8-latin-500.woff
Binary file not shown.
Binary file removed assets/fonts/sarabun/sarabun-v8-latin-500.woff2
Binary file not shown.
Binary file removed assets/fonts/sarabun/sarabun-v8-latin-600.woff
Binary file not shown.
Binary file removed assets/fonts/sarabun/sarabun-v8-latin-600.woff2
Binary file not shown.
Binary file removed assets/fonts/sarabun/sarabun-v8-latin-700.woff
Binary file not shown.
Binary file removed assets/fonts/sarabun/sarabun-v8-latin-700.woff2
Binary file not shown.
Binary file removed assets/fonts/sarabun/sarabun-v8-latin-regular.woff
Binary file not shown.
Binary file removed assets/fonts/sarabun/sarabun-v8-latin-regular.woff2
Binary file not shown.

0 comments on commit fe0061b

Please sign in to comment.