Skip to content

Commit

Permalink
Tweak semi font and usage (#2496)
Browse files Browse the repository at this point in the history
* Tweak semi font and usage

* Undo remove semi from HL
  • Loading branch information
benjaminleonard authored Oct 9, 2024
1 parent 98103a2 commit f0c161d
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/pages/project/instances/instance/InstancePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export function InstancePage() {
<PropertiesTable.Row label="vpc">
{vpc ? (
<Link
className="link-with-underline group text-sans-semi-md"
className="link-with-underline group text-sans-md"
to={pb.vpc({ project: instanceSelector.project, vpc: vpc.name })}
>
{vpc.name}
Expand Down
3 changes: 1 addition & 2 deletions app/table/cells/LinkCell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ import { Link } from 'react-router-dom'

import { classed } from '~/util/classed'

const linkClass =
'link-with-underline group flex h-full w-full items-center text-sans-semi-md'
const linkClass = 'link-with-underline group flex h-full w-full items-center text-sans-md'

/** Pushes out the link area to the entire cell for improved clickability™ */
const Pusher = classed.div`absolute inset-0 right-px group-hover:bg-raise`
Expand Down
Binary file removed app/ui/assets/fonts/SuisseIntl-Book-WebS.woff
Binary file not shown.
Binary file removed app/ui/assets/fonts/SuisseIntl-Book-WebS.woff2
Binary file not shown.
Binary file added app/ui/assets/fonts/SuisseIntl-Medium-WebS.woff
Binary file not shown.
Binary file added app/ui/assets/fonts/SuisseIntl-Medium-WebS.woff2
Binary file not shown.
2 changes: 1 addition & 1 deletion app/ui/lib/CopyableIp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const CopyableIp = ({ ip, isLinked = true }: { ip: string; isLinked?: boo
<span className="flex items-center gap-1">
{isLinked ? (
<a
className="link-with-underline text-sans-semi-md"
className="link-with-underline text-sans-md"
href={`https://${ip}`}
target="_blank"
rel="noreferrer"
Expand Down
6 changes: 3 additions & 3 deletions app/ui/styles/fonts.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
@font-face {
font-family: 'SuisseIntl';
src:
url('../assets/fonts/SuisseIntl-Book-WebS.woff2') format('woff2'),
url('../assets/fonts/SuisseIntl-Book-WebS.woff') format('woff');
font-weight: 600;
url('../assets/fonts/SuisseIntl-Medium-WebS.woff2') format('woff2'),
url('../assets/fonts/SuisseIntl-Medium-WebS.woff') format('woff');
font-weight: 500;
font-style: normal;
}

0 comments on commit f0c161d

Please sign in to comment.