Skip to content

Commit

Permalink
Add highlight + grid auto cols/rows to Tailwind config (#80)
Browse files Browse the repository at this point in the history
* Add highlight color to Tailwind config

* Add grid auto cols/rows to Tailwind config

* Bump version
  • Loading branch information
MattIPv4 authored Oct 26, 2024
1 parent ebc7ba7 commit c1fcef8
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@alveusgg/data",
"version": "0.42.0",
"version": "0.43.0",
"private": true,
"license": "SEE LICENSE IN LICENSE.md",
"repository": {
Expand Down
19 changes: 19 additions & 0 deletions src/tailwind.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,25 @@ const config = {
800: "#28122F",
},
twitch: "#6441A5",
highlight: "#FF9F1C",
},
},
extend: {
gridTemplateColumns: {
...Object.fromEntries(
Array.from({ length: 12 }, (_, i) => [
`${i + 1}-auto`,
`repeat(${i + 1}, auto)`,
]),
),
},
gridTemplateRows: {
...Object.fromEntries(
Array.from({ length: 12 }, (_, i) => [
`${i + 1}-auto`,
`repeat(${i + 1}, auto)`,
]),
),
},
},
} satisfies PresetsConfig;
Expand Down

0 comments on commit c1fcef8

Please sign in to comment.