Skip to content

Commit

Permalink
add catppuccin tailwindcss
Browse files Browse the repository at this point in the history
  • Loading branch information
allengueco committed Nov 6, 2024
1 parent 1d51d9c commit 92af34b
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 31 deletions.
59 changes: 35 additions & 24 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"@angular-devkit/build-angular": "^18.2.7",
"@angular/cli": "^18.2.7",
"@angular/compiler-cli": "^18.2.7",
"@catppuccin/tailwindcss": "^0.1.6",
"@chromatic-com/storybook": "^2.0.2",
"@compodoc/compodoc": "^1.1.23",
"@storybook/addon-docs": "^8.3.5",
Expand Down
8 changes: 4 additions & 4 deletions src/app/experience/experience.component.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<div class="container flex flex-col">
@for (e of experiences; track $index) {
<div class="max-w-lg p-6 bg-white border border-gray-200">
<h5 class="font-sans leading-snug mb-1 text-lg font-bold tracking-tight text-gray-900">{{e.title}} · {{e.company}}</h5>
<p class="text-slate-500">{{e.duration}}</p>
<p class="font-sans leading-none text-base font-normal text-gray-700">{{e.summary}}</p>
<div class="max-w-lg p-6 bg-lavender border border-gray-200 mb-4 rounded-lg">
<h5 class="font-sans leading-snug mb-1 text-xl font-bold tracking-tight text-gray-900">{{e.title}} · {{e.company}}</h5>
<p class="text-subtext0">{{e.duration}}</p>
<p class="font-sans leading-none text-lg font-normal text-gray-700">{{e.summary}}</p>
<div class="flex flex-wrap">
@for (skill of e.skills; track $index) {
<div class="flex justify-center items-center m-1 font-medium py-1 px-2 bg-white rounded-full border border-gray-300">
Expand Down
2 changes: 1 addition & 1 deletion src/app/home/home.component.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<section class="container flex flex-col h-full w-full items-center">
<h1 class="antialiased tracking-tighter font-medium text-6xl font-code">
<a class="text-green-500">$</a> allen gueco</h1>
<a class="text-green">$</a> allen gueco</h1>
<h2 class="text-3xl">i am a software engineer based in philly</h2>
<app-experience></app-experience>
</section>
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>

<body>
<body class="bg-base">
<app-root></app-root>
</body>

Expand Down
4 changes: 3 additions & 1 deletion tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ export default {
}
},
},
plugins: [],
plugins: [require('@catppuccin/tailwindcss')({
defaultFlavour: 'frappe'
})],
} satisfies Config

0 comments on commit 92af34b

Please sign in to comment.