Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import BC Sans font. #27

Merged
merged 1 commit into from
Nov 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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