Skip to content

Commit

Permalink
custom color and dark mode adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
jonolane committed Dec 11, 2023
1 parent 5f0a976 commit ef31689
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const IndexPage: React.FC<PageProps> = () => {
<div className="flex flex-col sm:items-center justify-center sm:p-6 z-50">

<nav className="z-50 flex sm:items-center justify-between sm:flex-row mx-6">
<div className="font-sans sm:text-8xl md:text-9xl text-3xl sm:text-center z-50 mb-4 mt-6 lg:mt-8 md:mt-8 tracking-wide">
<div className={` ${isDarkMode ? 'font-arizonia' : ''} sm:text-8xl md:text-9xl text-3xl sm:text-center z-50 mb-4 mt-6 lg:mt-8 md:mt-8 tracking-wide`}>
Jono Lane
</div>
<span className="sm:hidden items-end my-auto pt-2 z-50 cursor-pointer" onClick={() => appContext?.setIsDarkMode && appContext.setIsDarkMode(!isDarkMode)}>
Expand All @@ -67,7 +67,7 @@ const IndexPage: React.FC<PageProps> = () => {
<p className="sm:hidden mt-4 mx-6 mb-20 tracking-wide leading-relaxed max-w-md">
I'm Jono Lane, a full-stack developer based in Nashville. I enjoy creating impactful products that adapt to the ever-changing landscape of technology.
</p>
<h2 className="sm:hidden border-t border-black border-solid mx-7 uppercase pt-2 tracking-wide">
<h2 className={`sm:hidden border-t ${isDarkMode ? 'border-white' : 'border-black'} border-solid mx-7 uppercase pt-2 tracking-wide`}>
Latest work
</h2>
</div>
Expand Down
6 changes: 6 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ module.exports = {
],
theme: {
extend: {

// remove if you want pitch black
colors: {
black: '#111111',
},

fontFamily: {
greatVibes: ['Great Vibes', 'Great Vibes'],
arizonia: ['Arizonia', 'Arizonia'],
Expand Down

0 comments on commit ef31689

Please sign in to comment.