Skip to content

Commit

Permalink
chore: update font weight
Browse files Browse the repository at this point in the history
  • Loading branch information
zouhangwithsweet committed Nov 12, 2024
1 parent 664a909 commit 1a18dbb
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions entrypoints/injected/components/Code.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ export const CodeArea = memo((props: { minimized?: boolean }) => {

return (
<>
{!name && !props.minimized && <div className="p-4 font-600 text-13px">Select Layer </div>}
{!name && !props.minimized && <div className="p-4 font-550 text-13px">Select Layer </div>}
<div className={`relative ${props.minimized || !name ? 'hidden' : ''}`}>
<div className="flex px-4 py-2 items-center border-b border-$color-border border-solid font-600 text-13px sticky top-45px text-$color-text bg-$color-bg z-2">
<div className="flex px-4 py-2 items-center border-b border-$color-border border-solid font-550 text-13px sticky top-45px text-$color-text bg-$color-bg z-2">
<span className="p-1 hover:bg-#e5e5e5/50 rounded-sm cursor-pointer truncate" onClick={handleCopy(name)}>
{name}
</span>
Expand Down
2 changes: 1 addition & 1 deletion entrypoints/injected/components/Colors.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export const Colors = memo((props: { minimized?: boolean }) => {

return (
<div
className={`${props.minimized ? 'hidden' : 'block'} p-4 border-t border-$color-border border-solid font-600 text-13px`}
className={`${props.minimized ? 'hidden' : 'block'} p-4 border-t border-$color-border border-solid font-550 text-13px`}
>
<div className="flex items-center gap-2">
<span className="flex-1">Colors</span>
Expand Down
2 changes: 1 addition & 1 deletion entrypoints/injected/components/Download.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const Download = memo((props: { minimized?: boolean }) => {
className={`${props.minimized ? 'hidden' : 'block'} p-4 border-t border-$color-border border-solid text-13px space-y-4`}
>
<div className="flex items-center gap-2">
<span className="flex-1 font-600">Export</span>
<span className="flex-1 font-550">Export</span>
<span
className="flex items-center gap-.5 text-xs text-$color-text-secondary cursor-pointer"
onClick={() => setShow(!show)}
Expand Down
2 changes: 1 addition & 1 deletion entrypoints/injected/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ const Header = forwardRef(function ({ minimized, onToggleSize, startDrag }: Prop
onClick={() => setEngine('unocss')}
></span>
)}
<span className="flex-1 font-700 text-sm">Fubukicss Tool</span>
<span className="flex-1 font-550 text-sm">Fubukicss Tool</span>
<div
className="p-.5 flex-center rounded"
onMouseDown={(e) => {
Expand Down
2 changes: 1 addition & 1 deletion entrypoints/injected/components/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const Layout = memo((props: { minimized?: boolean }) => {

return (
<div
className={`${props.minimized ? 'hidden' : 'block'} p-4 border-t border-$color-border border-solid font-600 text-13px`}
className={`${props.minimized ? 'hidden' : 'block'} p-4 border-t border-$color-border border-solid font-550 text-13px`}
>
<div className="flex items-center gap-2">
<span className="flex-1">Layout</span>
Expand Down

0 comments on commit 1a18dbb

Please sign in to comment.