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

Use aileron font #599

Draft
wants to merge 1 commit into
base: release-v2
Choose a base branch
from
Draft
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
2 changes: 1 addition & 1 deletion components/TradingComp/CountdownBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const CountdownBanner: React.FC = () => {
const statStyles = 'block font-semibold text-xs leading-[18px]';

return (
<div className="transition-border relative mr-4 w-[calc(100%+32px)] -translate-x-4 transform font-aileron duration-300 sm:w-full sm:translate-x-0 sm:rounded-lg">
<div className="transition-border relative mr-4 w-[calc(100%+32px)] -translate-x-4 transform duration-300 sm:w-full sm:translate-x-0 sm:rounded-lg">
<img
src="/img/trading-comp/trading-comp-banner.png"
className="absolute z-0 h-full w-full object-cover sm:rounded-lg"
Expand Down
2 changes: 1 addition & 1 deletion components/TradingComp/StatisticsBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const StatisticsBox: React.FC<{
{/* If logged in and participating */}
{participating ? (
<div className="flex items-end sm:flex-col sm:items-start">
<div className="flex flex-wrap font-inter text-cool-gray-800 dark:text-white">
<div className="flex flex-wrap text-cool-gray-800 dark:text-white">
<div className="mr-6 mb-2 sm:mb-0">
<div className="flex items-end font-bold">
<span className="mr-0.5 inline-block text-base">#</span>
Expand Down
4 changes: 2 additions & 2 deletions components/TradingComp/UserDiv.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const UserRow: React.FC<{
<div className="mt-2 flex">
<div className="flex w-1/2 flex-col">
<span className="font-semibold leading-[150%] text-cool-gray-500">Portfolio Value</span>
<span className="font-inter font-bold leading-[150%] text-cool-gray-900 dark:text-white">
<span className="font-bold leading-[150%] text-cool-gray-900 dark:text-white">
{placeholder ? (
<Placeholder className="max-h-[30px] max-w-[100px]" />
) : (
Expand All @@ -81,7 +81,7 @@ const UserRow: React.FC<{
</div>
<div className="flex w-1/2 flex-col">
<span className="font-semibold leading-[150%] text-cool-gray-500">Entry Date</span>
<span className="font-inter font-bold leading-[150%] text-cool-gray-900 dark:text-white">
<span className="font-bold leading-[150%] text-cool-gray-900 dark:text-white">
{placeholder ? <Placeholder className="max-h-[30px] max-w-[100px]" /> : convertDate(entryDate)}
</span>
</div>
Expand Down
2 changes: 1 addition & 1 deletion styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ input {

body,
html {
font-family: 'Source Sans Pro', ui-sans-serif, system-ui, -apple-system, serif !important;
font-family: 'aileron', ui-sans-serif, system-ui, -apple-system, serif !important;
}
#__next {
overflow-y: overlay;
Expand Down
4 changes: 0 additions & 4 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,6 @@ module.exports = {
'nav-bg': "url('/img/nav-bg.svg')",
'matrix-bg': "url('/img/matrix.gif')",
},
fontFamily: {
aileron: ["'aileron'", 'sans-serif'],
inter: ["'Inter'", 'sans-serif'],
},
},
},
variants: {
Expand Down