Skip to content

Commit eb98dad

Browse files
committed
Update colors, config
1 parent 6ec8aa8 commit eb98dad

File tree

4 files changed

+18
-11
lines changed

4 files changed

+18
-11
lines changed

src/components/TimelineItem.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ const TimelineItem = ({
2424
>
2525
<div className="absolute top-[1.65rem] z-0 h-px w-full bg-current opacity-50"></div>
2626
<div className="relative z-10 w-full shrink-0 font-semibold sm:w-40 md:w-52">
27-
<span className="inline-block bg-[#FEC84B] pr-2 dark:bg-[#5a574e]">{year}</span>
27+
<span className="bg-cv-light dark:bg-cv-dark inline-block pr-2">{year}</span>
2828
</div>
2929
<Paragraph
3030
className={clsx(
31-
'relative z-10 !w-fit bg-[#FEC84B] sm:px-2 dark:bg-[#5a574e]',
31+
'bg-cv-light dark:bg-cv-dark relative z-10 !w-fit sm:px-2',
3232
em && 'font-semibold',
3333
right && 'text-right'
3434
)}

src/content/AboutMe.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import TimelineItem from '@/components/TimelineItem'
55
const AboutMe = () => {
66
return (
77
<div className="flex min-h-svh flex-col gap-1 lg:flex-row">
8-
<div className="bg-[#FEC84B] p-6 sm:p-8 md:flex-1 md:p-12 dark:bg-[#5a574e]">
8+
<div className="bg-cv-light dark:bg-cv-dark p-6 sm:p-8 md:flex-1 md:p-12">
99
<Heading size={2}>CV</Heading>
1010
<Paragraph className="mb-6 mt-8">
1111
I spend quality time with my family—or alone when needed—preferably in nature, mountain
@@ -19,7 +19,7 @@ const AboutMe = () => {
1919
TSX/HTML, or pure CSS.
2020
</Paragraph>
2121
</div>
22-
<div className="bg-[#FEC84B] p-6 sm:p-8 md:flex-[2] dark:bg-[#5a574e]">
22+
<div className="bg-cv-light dark:bg-cv-dark p-6 sm:p-8 md:flex-[2]">
2323
<div className="flex flex-col gap-2">
2424
<TimelineItem year={'A long time ago'} desc="Han shot first!" className="mb-72" right />
2525
<TimelineItem year={1985} desc="Born" className="mb-12" />

src/content/Skills.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,22 @@ const Skills = () => {
77
className="flex min-h-svh w-full flex-col items-stretch gap-1 pt-20 lg:flex-row"
88
id="skills"
99
>
10-
<div className="flex flex-1 items-end bg-[#e9cde8] p-6 sm:p-8 md:p-12 dark:bg-[#513446]">
10+
<div className="bg-skills-light dark:bg-skills-dark flex flex-1 items-end p-6 sm:p-8 md:p-12">
1111
<Heading size={2}>Skills</Heading>
1212
</div>
13-
<div className="flex-1 bg-[#e9cde8] p-6 sm:p-8 md:p-12 dark:bg-[#513446]">
13+
<div className="bg-skills-light dark:bg-skills-dark flex-1 p-6 sm:p-8 md:p-12">
1414
<Paragraph>
1515
I like to paint the large picture first—mapping user journeys and prototyping
1616
wireframes—before diving into the designs.
1717
</Paragraph>
1818
</div>
19-
<div className="flex flex-1 items-end bg-[#e9cde8] p-6 sm:p-8 md:p-12 dark:bg-[#513446]">
19+
<div className="bg-skills-light dark:bg-skills-dark flex flex-1 items-end p-6 sm:p-8 md:p-12">
2020
<Paragraph>
2121
Once the user experience and flow are sorted, I do my best to create clean layouts with
2222
strong typography, thoughtful colors, and visual clarity.
2323
</Paragraph>
2424
</div>
25-
<div className="group flex flex-1 items-center bg-[#e9cde8] p-6 transition-all duration-1000 ease-in-out sm:p-8 md:p-12 lg:hover:flex-[2] dark:bg-[#513446]">
25+
<div className="bg-skills-light dark:bg-skills-dark group flex flex-1 items-center p-6 transition-all duration-1000 ease-in-out sm:p-8 md:p-12 lg:hover:flex-[2]">
2626
<Paragraph>And a touch of playfulness.</Paragraph>
2727
</div>
2828
</div>

tailwind.config.js

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,19 @@ export default {
33
content: ['index.html', './src/**/*.{html,tsx,jsx,ts,js}', './blog/**/*.{html,tsx,jsx,ts,js}'],
44
theme: {
55
extend: {
6+
colors: {
7+
cv: {
8+
light: '#fec84d',
9+
dark: '#333',
10+
},
11+
skills: {
12+
light: '#e9cde8',
13+
dark: '#463946',
14+
},
15+
},
616
fontFamily: {
717
sans: 'elza, sans-serif',
818
},
9-
transitionTimingFunction: {
10-
custom: 'cubic-bezier(0.65, 0.05, 0.17, 0.99)',
11-
},
1219
},
1320
},
1421
plugins: [],

0 commit comments

Comments
 (0)