-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix checkout action for deployment to chromatic
- Loading branch information
Showing
4 changed files
with
57 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -217,6 +217,8 @@ jobs: | |
steps: | ||
- name: Checkout 🛎️ | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup pnpm | ||
uses: pnpm/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,46 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
|
||
/* Based on Kent's repo: https://github.com/kentcdodds/kentcdodds.com/tree/main */ | ||
@layer utilities { | ||
.bg-primary { | ||
@apply bg-white dark:bg-gray-900; | ||
} | ||
|
||
.bg-secondary { | ||
@apply bg-gray-100 dark:bg-gray-800; | ||
} | ||
|
||
.bg-alt { | ||
@apply bg-gray-200 dark:bg-gray-700; | ||
} | ||
|
||
.bg-inverse { | ||
@apply bg-black dark:bg-white; | ||
} | ||
|
||
.border-primary { | ||
@apply border-gray-900 dark:border-white; | ||
} | ||
|
||
.border-secondary { | ||
@apply border-gray-200 dark:border-gray-600; | ||
} | ||
|
||
.text-primary { | ||
@apply text-black dark:text-white; | ||
} | ||
|
||
.text-secondary { | ||
@apply text-gray-500 dark:text-slate-500; | ||
} | ||
|
||
.text-inverse { | ||
@apply text-white dark:text-black; | ||
} | ||
|
||
.text-prose { | ||
@apply prose dark:prose-invert; | ||
} | ||
} |