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

Refactor font-face declarations and update Twitter to X #85

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
54 changes: 12 additions & 42 deletions misc/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,51 +5,21 @@

@font-face {
font-family: 'Aeonik Pro';
src: url('https://static.frax.com/fonts/aeonik-pro-300-normal.woff2') format('woff2');
font-weight: 300;
font-style: 'normal';
}
@font-face {
font-family: 'Aeonik Pro';
src: url('https://static.frax.com/fonts/aeonik-pro-400-normal.woff2') format('woff2');
font-weight: 400;
font-style: 'normal';
}
@font-face {
font-family: 'Aeonik Pro';
src: url('https://static.frax.com/fonts/aeonik-pro-500-normal.woff2') format('woff2');
font-weight: 500;
font-style: 'normal';
}
@font-face {
font-family: 'Aeonik Pro';
src: url('https://static.frax.com/fonts/aeonik-pro-700-normal.woff2') format('woff2');
font-weight: 700;
font-style: 'normal';
}
@font-face {
font-family: 'Aeonik Mono';
src: url('https://static.frax.com/fonts/aeonik-mono-300-normal.woff2') format('woff2');
font-weight: 300;
font-style: 'normal';
}
@font-face {
font-family: 'Aeonik Mono';
src: url('https://static.frax.com/fonts/aeonik-mono-400-normal.woff2') format('woff2');
font-weight: 400;
font-style: 'normal';
}
@font-face {
font-family: 'Aeonik Mono';
src: url('https://static.frax.com/fonts/aeonik-mono-500-normal.woff2') format('woff2');
font-weight: 500;
font-style: 'normal';
src: url('https://static.frax.com/fonts/aeonik-pro-300-normal.woff2') format('woff2'),
url('https://static.frax.com/fonts/aeonik-pro-400-normal.woff2') format('woff2'),
url('https://static.frax.com/fonts/aeonik-pro-500-normal.woff2') format('woff2'),
url('https://static.frax.com/fonts/aeonik-pro-700-normal.woff2') format('woff2');
font-weight: 300 400 500 700;
font-style: normal;
}
@font-face {
font-family: 'Aeonik Mono';
src: url('https://static.frax.com/fonts/aeonik-mono-700-normal.woff2') format('woff2');
font-weight: 700;
font-style: 'normal';
src: url('https://static.frax.com/fonts/aeonik-mono-300-normal.woff2') format('woff2'),
url('https://static.frax.com/fonts/aeonik-mono-400-normal.woff2') format('woff2'),
url('https://static.frax.com/fonts/aeonik-mono-500-normal.woff2') format('woff2'),
url('https://static.frax.com/fonts/aeonik-mono-700-normal.woff2') format('woff2');
font-weight: 300 400 500 700;
font-style: normal;
}

@layer base {
Expand Down
2 changes: 1 addition & 1 deletion pages/fraxtal/fns/records.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Public records are accessible to anyone and are commonly used to associate a Fra
| **Nickname** |**Text** |{<code>name</code>} |John Smith |
| **Short Bio** |**Text** |{<code>description</code>} |I am a Frax Maxi! |
| **Avatar** |**Text** |{<code>avatar</code>} |{<code>https://www.mywebsite.com/avatar.png</code>}|
| **Twitter** |**Text** |{<code>com.twitter</code>} |fraxfinance |
| **X** |**Text** |{<code>com.twitter</code>} |fraxfinance |
| **Telegram** |**Text** |{<code>org.telegram</code>}|fraxfinance |
| **Github** |**Text** |{<code>com.github</code>} |fraxfinance |
| **Discord** |**Text** |{<code>com.discord</code>} |fraxfinance |
Expand Down
Loading