Skip to content

Commit

Permalink
Merge pull request #27 from tronghieuvuong/tvuong/newFont
Browse files Browse the repository at this point in the history
Import BC Sans font.
  • Loading branch information
tronghieuvuong authored Nov 21, 2023
2 parents 3da4779 + 8ca73fe commit 1684001
Show file tree
Hide file tree
Showing 16 changed files with 51 additions and 11 deletions.
45 changes: 45 additions & 0 deletions apps/release-notes/assets/css/BCSans.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
@font-face {
font-family: 'BCSans';
font-style: normal;
font-weight: 400;
src: url('../fonts/BCSans-Regular_2f.woff2') format('woff2'),
/* Optimized for very modern browsers */
url('../fonts/BCSans-Regular_2f.woff') format('woff'),
local('BCSans');
/* Modern Browsers */
font-display: swap;
}

@font-face {
font-family: 'BCSans';
font-style: italic;
src: url('../fonts/BCSans-Italic_2f.woff2') format('woff2'),
/* Optimized for very modern browsers */
url('../fonts/BCSans-Italic_2f.woff') format('woff'),
local('BCSans');
/* Modern Browsers */
font-display: swap;
}

@font-face {
font-family: 'BCSans';
font-weight: 700;
src: url('../fonts/BCSans-Bold_2f.woff2') format('woff2'),
/* Optimized for very modern browsers */
url('../fonts/BCSans-Bold_2f.woff') format('woff'),
local('BCSans');
/* Modern Browsers */
font-display: swap;
}

@font-face {
font-family: 'BCSans';
font-style: italic;
font-weight: 700;
src: url('../fonts/BCSans-BoldItalic_2f.woff2') format('woff2'),
/* Optimized for very modern browsers */
url('../fonts/BCSans-BoldItalic_2f.woff') format('woff'),
local('BCSans');
/* Modern Browsers */
font-display: swap;
}
2 changes: 1 addition & 1 deletion apps/release-notes/assets/css/tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
}

html {
font-family: "BC Sans";
font-family: "BCSans";
}
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.
9 changes: 5 additions & 4 deletions apps/release-notes/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,18 @@
export default defineNuxtConfig({
devtools: { enabled: true },
modules: ['@nuxtjs/tailwindcss'],
css: [
'~/assets/css/BCSans.css',
'~/assets/css/tailwind.css'

],
tailwindcss: {
cssPath: '~/assets/css/tailwind.css',
configPath: 'tailwind.config'
},
app: {
head: {
link: [
{
rel: 'stylesheet',
href: 'https://drive.google.com/file/d/18cwKBO0ZzLNQEnoqjEfC_6PCxqETDSqt/view?usp=sharing'
},
{
rel: 'icon',
type: 'image/png',
Expand Down
6 changes: 0 additions & 6 deletions apps/release-notes/tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@ import type { Config } from 'tailwindcss'
export default <Partial<Config>>{
theme: {
extend: {
// colors: {
// primary: defaultTheme.colors.green
// },
fontFamily: {
sans: 'Noto Sans, ui-serif'
},
transitionProperty: {
flow: 'background-position'
},
Expand Down

0 comments on commit 1684001

Please sign in to comment.