Skip to content

Commit 4f3ac16

Browse files
committed
styles: update pro styles
1 parent 94c85a0 commit 4f3ac16

File tree

18 files changed

+263
-181
lines changed

18 files changed

+263
-181
lines changed

apps/pro/src/app/blocks/[category]/category-page.module.scss

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,29 @@
77
.content {
88
flex: 1;
99
margin-left: 240px;
10-
padding: 40px 48px 80px;
10+
padding: 32px 40px 80px;
1111
max-width: calc(100% - 240px);
1212
}
1313

1414
.pageHeader {
15-
margin-bottom: 36px;
16-
padding-bottom: 24px;
17-
border-bottom: 1px solid var(--ty-color-border-secondary);
15+
margin-bottom: 28px;
16+
padding-bottom: 20px;
17+
border-bottom: 1px solid var(--ty-color-border);
1818
}
1919

2020
.title {
21-
font-size: 26px;
22-
font-weight: 700;
23-
letter-spacing: -0.025em;
24-
margin: 0 0 6px;
21+
font-size: 30px;
22+
font-weight: 750;
23+
letter-spacing: -0.03em;
24+
margin: 0 0 4px;
2525
color: var(--ty-color-text);
2626
}
2727

2828
.count {
29-
font-size: 13px;
29+
font-size: 12px;
30+
text-transform: uppercase;
31+
letter-spacing: 0.08em;
3032
color: var(--ty-color-text-tertiary);
3133
margin: 0;
32-
font-weight: 500;
34+
font-weight: 700;
3335
}

apps/pro/src/blocks/authentication/sign-in-simple.tsx

Lines changed: 39 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,37 +5,54 @@ const { Heading, Text } = Typography;
55

66
export default function SignInSimple() {
77
return (
8-
<Flex justify="center" align="center" style={{ minHeight: '100vh', padding: '40px 16px', background: 'linear-gradient(135deg, #f0f4ff 0%, #fdf2f8 50%, #fef3c7 100%)' }}>
9-
<Card variant="elevated" style={{ width: '100%', maxWidth: 420, borderRadius: 16 }}>
10-
<div style={{ padding: 16 }}>
11-
<Flex vertical align="center" style={{ marginBottom: 24 }}>
8+
<Flex
9+
justify="center"
10+
align="center"
11+
style={{
12+
minHeight: '100vh',
13+
padding: '48px 20px',
14+
background: '#f4f7fb',
15+
}}
16+
>
17+
<Card
18+
variant="elevated"
19+
style={{
20+
width: '100%',
21+
maxWidth: 428,
22+
borderRadius: 20,
23+
border: '1px solid #dbe3ef',
24+
boxShadow: '0 20px 48px rgba(15, 23, 42, 0.08)',
25+
}}
26+
>
27+
<div style={{ padding: 24 }}>
28+
<Flex vertical align="center" style={{ marginBottom: 28 }}>
1229
<div style={{
13-
width: 48,
14-
height: 48,
15-
borderRadius: 14,
16-
background: 'linear-gradient(135deg, #6366f1, #8b5cf6)',
30+
width: 52,
31+
height: 52,
32+
borderRadius: 16,
33+
background: '#1e3a8a',
1734
display: 'flex',
1835
alignItems: 'center',
1936
justifyContent: 'center',
2037
marginBottom: 16,
21-
boxShadow: '0 4px 14px rgba(99, 102, 241, 0.35)',
38+
boxShadow: '0 10px 24px rgba(30, 58, 138, 0.18)',
2239
}}>
2340
<IconLock style={{ fontSize: 22, color: '#fff' }} />
2441
</div>
2542
<Heading level={3} style={{ margin: 0 }}>Welcome back</Heading>
26-
<Text style={{ color: 'var(--ty-color-text-secondary)', marginTop: 4 }}>
27-
Sign in to continue to your workspace
43+
<Text style={{ color: 'var(--ty-color-text-secondary)', marginTop: 6 }}>
44+
Sign in to access your team workspace
2845
</Text>
2946
</Flex>
3047

3148
<Flex gap="sm" style={{ marginBottom: 20 }}>
32-
<Button block btnType="outline" style={{ height: 42, borderRadius: 10 }}>
49+
<Button block btnType="outline" style={{ height: 42, borderRadius: 12, borderColor: '#d7e0ec', background: '#fff' }}>
3350
<Flex align="center" justify="center" gap="sm">
3451
<IconGoogle style={{ fontSize: 18 }} />
3552
<span>Google</span>
3653
</Flex>
3754
</Button>
38-
<Button block btnType="outline" style={{ height: 42, borderRadius: 10 }}>
55+
<Button block btnType="outline" style={{ height: 42, borderRadius: 12, borderColor: '#d7e0ec', background: '#fff' }}>
3956
<Flex align="center" justify="center" gap="sm">
4057
<IconGithub style={{ fontSize: 18 }} />
4158
<span>GitHub</span>
@@ -47,29 +64,30 @@ export default function SignInSimple() {
4764

4865
<Form layout="vertical">
4966
<Form.Item label="Email address">
50-
<Input placeholder="you@company.com" style={{ height: 42, borderRadius: 10 }} />
67+
<Input placeholder="you@company.com" style={{ height: 44, borderRadius: 12, background: '#fbfcfe' }} />
5168
</Form.Item>
5269
<Form.Item label="Password">
53-
<InputPassword placeholder="Enter your password" style={{ height: 42, borderRadius: 10 }} />
70+
<InputPassword placeholder="Enter your password" style={{ height: 44, borderRadius: 12, background: '#fbfcfe' }} />
5471
</Form.Item>
5572
<Flex justify="space-between" align="center" style={{ marginBottom: 20 }}>
5673
<Checkbox>Remember me</Checkbox>
57-
<a href="#" style={{ fontSize: 13, fontWeight: 500 }}>Forgot password?</a>
74+
<a href="#" style={{ fontSize: 13, fontWeight: 600, color: '#1d4ed8', textDecoration: 'none' }}>Forgot password?</a>
5875
</Flex>
5976
<Button btnType="primary" block style={{
60-
height: 44,
61-
borderRadius: 10,
77+
height: 46,
78+
borderRadius: 12,
6279
fontWeight: 600,
6380
fontSize: 15,
64-
background: 'linear-gradient(135deg, #6366f1, #8b5cf6)',
65-
border: 'none',
81+
background: '#1e3a8a',
82+
border: '1px solid #1e3a8a',
83+
boxShadow: '0 10px 20px rgba(30, 58, 138, 0.18)',
6684
}}>
6785
Sign in
6886
</Button>
6987
</Form>
7088

7189
<Text style={{ display: 'block', textAlign: 'center', marginTop: 20, fontSize: 13, color: 'var(--ty-color-text-secondary)' }}>
72-
Don't have an account? <a href="#" style={{ fontWeight: 600 }}>Create one free</a>
90+
Don't have an account? <a href="#" style={{ fontWeight: 600, color: '#1d4ed8', textDecoration: 'none' }}>Create one free</a>
7391
</Text>
7492
</div>
7593
</Card>

apps/pro/src/blocks/authentication/sign-up-simple.tsx

Lines changed: 41 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5,70 +5,89 @@ const { Heading, Text } = Typography;
55

66
export default function SignUpSimple() {
77
return (
8-
<Flex justify="center" align="center" style={{ minHeight: '100vh', padding: '40px 16px', background: 'linear-gradient(160deg, #0f172a 0%, #1e293b 50%, #334155 100%)' }}>
9-
<Card variant="elevated" style={{ width: '100%', maxWidth: 440, borderRadius: 16, background: 'var(--ty-color-bg-container)' }}>
10-
<div style={{ padding: 16 }}>
8+
<Flex
9+
justify="center"
10+
align="center"
11+
style={{
12+
minHeight: '100vh',
13+
padding: '48px 20px',
14+
background: '#f3f6fa',
15+
}}
16+
>
17+
<Card
18+
variant="elevated"
19+
style={{
20+
width: '100%',
21+
maxWidth: 448,
22+
borderRadius: 20,
23+
background: 'var(--ty-color-bg-container)',
24+
border: '1px solid #dbe3ef',
25+
boxShadow: '0 20px 48px rgba(15, 23, 42, 0.08)',
26+
}}
27+
>
28+
<div style={{ padding: 24 }}>
1129
<Flex vertical align="center" style={{ marginBottom: 24 }}>
1230
<div style={{
13-
width: 48,
14-
height: 48,
15-
borderRadius: 14,
16-
background: 'linear-gradient(135deg, #06b6d4, #3b82f6)',
31+
width: 52,
32+
height: 52,
33+
borderRadius: 16,
34+
background: '#0f172a',
1735
display: 'flex',
1836
alignItems: 'center',
1937
justifyContent: 'center',
2038
marginBottom: 16,
21-
boxShadow: '0 4px 14px rgba(59, 130, 246, 0.35)',
39+
boxShadow: '0 10px 24px rgba(15, 23, 42, 0.18)',
2240
}}>
2341
<IconAddUser style={{ fontSize: 22, color: '#fff' }} />
2442
</div>
2543
<Heading level={3} style={{ margin: 0 }}>Create your account</Heading>
26-
<Text style={{ color: 'var(--ty-color-text-secondary)', marginTop: 4 }}>
27-
Start your 14-day free trial, no credit card required
44+
<Text style={{ color: 'var(--ty-color-text-secondary)', marginTop: 6 }}>
45+
Start your 14-day trial with a clean setup flow
2846
</Text>
2947
</Flex>
3048

3149
<Form layout="vertical">
3250
<Flex gap="sm">
3351
<Form.Item label="First name" style={{ flex: 1 }}>
34-
<Input placeholder="John" style={{ height: 42, borderRadius: 10 }} />
52+
<Input placeholder="John" style={{ height: 44, borderRadius: 12, background: '#fbfcfe' }} />
3553
</Form.Item>
3654
<Form.Item label="Last name" style={{ flex: 1 }}>
37-
<Input placeholder="Doe" style={{ height: 42, borderRadius: 10 }} />
55+
<Input placeholder="Doe" style={{ height: 44, borderRadius: 12, background: '#fbfcfe' }} />
3856
</Form.Item>
3957
</Flex>
4058
<Form.Item label="Work email">
41-
<Input placeholder="you@company.com" style={{ height: 42, borderRadius: 10 }} />
59+
<Input placeholder="you@company.com" style={{ height: 44, borderRadius: 12, background: '#fbfcfe' }} />
4260
</Form.Item>
4361
<Form.Item label="Password">
44-
<InputPassword placeholder="Create a strong password" style={{ height: 42, borderRadius: 10 }} />
62+
<InputPassword placeholder="Create a strong password" style={{ height: 44, borderRadius: 12, background: '#fbfcfe' }} />
4563
</Form.Item>
46-
<div style={{ marginBottom: 16 }}>
64+
<div style={{ marginBottom: 18, padding: 14, borderRadius: 14, background: '#f8fafc', border: '1px solid #e2e8f0' }}>
4765
<Flex justify="space-between" style={{ marginBottom: 4 }}>
4866
<Text style={{ fontSize: 12, color: 'var(--ty-color-text-tertiary)' }}>Password strength</Text>
49-
<Text style={{ fontSize: 12, color: '#10b981', fontWeight: 500 }}>Strong</Text>
67+
<Text style={{ fontSize: 12, color: '#15803d', fontWeight: 600 }}>Strong</Text>
5068
</Flex>
5169
<Progress.Bar percent={85} showInfo={false} style={{ height: 4 }} />
5270
</div>
5371
<Checkbox style={{ marginBottom: 20 }}>
5472
<Text style={{ fontSize: 13 }}>
55-
I agree to the <a href="#" style={{ fontWeight: 500 }}>Terms of Service</a> and <a href="#" style={{ fontWeight: 500 }}>Privacy Policy</a>
73+
I agree to the <a href="#" style={{ fontWeight: 600, color: '#1d4ed8', textDecoration: 'none' }}>Terms of Service</a> and <a href="#" style={{ fontWeight: 600, color: '#1d4ed8', textDecoration: 'none' }}>Privacy Policy</a>
5674
</Text>
5775
</Checkbox>
5876
<Button btnType="primary" block style={{
59-
height: 44,
60-
borderRadius: 10,
77+
height: 46,
78+
borderRadius: 12,
6179
fontWeight: 600,
6280
fontSize: 15,
63-
background: 'linear-gradient(135deg, #06b6d4, #3b82f6)',
64-
border: 'none',
81+
background: '#0f172a',
82+
border: '1px solid #0f172a',
83+
boxShadow: '0 10px 20px rgba(15, 23, 42, 0.14)',
6584
}}>
6685
Get started free
6786
</Button>
6887
</Form>
6988

7089
<Text style={{ display: 'block', textAlign: 'center', marginTop: 20, fontSize: 13, color: 'var(--ty-color-text-secondary)' }}>
71-
Already have an account? <a href="#" style={{ fontWeight: 600 }}>Sign in</a>
90+
Already have an account? <a href="#" style={{ fontWeight: 600, color: '#1d4ed8', textDecoration: 'none' }}>Sign in</a>
7291
</Text>
7392
</div>
7493
</Card>

apps/pro/src/blocks/banners/promo-banner.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default function PromoBanner() {
4343
background: 'rgba(255,255,255,0.2)',
4444
border: '1px solid rgba(255,255,255,0.3)',
4545
color: '#fff',
46-
borderRadius: 8,
46+
borderRadius: 12,
4747
fontWeight: 600,
4848
backdropFilter: 'blur(8px)',
4949
flexShrink: 0,

apps/pro/src/blocks/cards/profile-card.tsx

Lines changed: 25 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,35 @@ const { Heading, Text } = Typography;
55

66
export default function ProfileCard() {
77
return (
8-
<Flex justify="center" style={{ padding: 24 }}>
9-
<Card variant="elevated" style={{ width: 380, borderRadius: 16, overflow: 'hidden', padding: 0 }}>
10-
{/* Gradient header */}
8+
<Flex justify="center" style={{ padding: 32, background: '#f8fafc' }}>
9+
<Card
10+
variant="elevated"
11+
style={{
12+
width: 392,
13+
borderRadius: 20,
14+
overflow: 'hidden',
15+
padding: 0,
16+
border: '1px solid #dbe3ef',
17+
boxShadow: '0 16px 36px rgba(15, 23, 42, 0.08)',
18+
}}
19+
>
1120
<div style={{
12-
height: 100,
13-
background: 'linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%)',
21+
height: 108,
22+
background: '#e8eef8',
1423
position: 'relative',
24+
borderBottom: '1px solid #dbe3ef',
1525
}} />
1626

17-
{/* Avatar overlapping header */}
1827
<div style={{ padding: '0 24px 24px', marginTop: -44 }}>
1928
<Flex vertical align="center" gap="sm">
2029
<Avatar
2130
size={88}
2231
style={{
23-
backgroundColor: '#1e1b4b',
32+
backgroundColor: '#0f172a',
2433
fontSize: 32,
2534
fontWeight: 700,
2635
border: '4px solid var(--ty-color-bg-container)',
27-
boxShadow: '0 4px 12px rgba(0,0,0,0.15)',
36+
boxShadow: '0 8px 18px rgba(15, 23, 42, 0.14)',
2837
}}
2938
>
3039
JD
@@ -40,9 +49,9 @@ export default function ProfileCard() {
4049
Building beautiful UIs with Tiny Design. Open-source enthusiast and design systems advocate.
4150
</Text>
4251
<Flex gap="sm" wrap="wrap" justify="center">
43-
<Tag variant="soft" color="purple" style={{ borderRadius: 20 }}>React</Tag>
44-
<Tag variant="soft" color="blue" style={{ borderRadius: 20 }}>TypeScript</Tag>
45-
<Tag variant="soft" color="cyan" style={{ borderRadius: 20 }}>Design Systems</Tag>
52+
<Tag variant="soft" color="blue" style={{ borderRadius: 20 }}>React</Tag>
53+
<Tag variant="soft" color="cyan" style={{ borderRadius: 20 }}>TypeScript</Tag>
54+
<Tag variant="soft" color="default" style={{ borderRadius: 20 }}>Design Systems</Tag>
4655
</Flex>
4756
</Flex>
4857

@@ -65,15 +74,15 @@ export default function ProfileCard() {
6574

6675
<Flex gap="sm">
6776
<Button block btnType="primary" style={{
68-
borderRadius: 10,
69-
height: 40,
77+
borderRadius: 12,
78+
height: 42,
7079
fontWeight: 600,
71-
background: 'linear-gradient(135deg, #6366f1, #8b5cf6)',
72-
border: 'none',
80+
background: '#0f172a',
81+
border: '1px solid #0f172a',
7382
}}>
7483
Follow
7584
</Button>
76-
<Button block btnType="outline" style={{ borderRadius: 10, height: 40, fontWeight: 600 }}>
85+
<Button block btnType="outline" style={{ borderRadius: 12, height: 42, fontWeight: 600 }}>
7786
Message
7887
</Button>
7988
</Flex>

0 commit comments

Comments
 (0)