Skip to content

Commit

Permalink
Support multiple tailwind versions (#14)
Browse files Browse the repository at this point in the history
* Make individual version colour files

* Remove unused code from tailwindResult

* Add multiple pages using different Tailwind coloursets

* update prettierignore

* update prettierignore

* Customise links to docs based on Tailwind version

* show version in <title>

* remind of version number in the input label

* add a modal to explain the version numbers switcher

* remove version number when on 3.3 as it'll be the default eventually

* slight copy improvement to version explanation

* make version selection a bit dry-er; put version selector inside a details

* update browser versions

* style version links a bit

* add links to palettes in dialog

---------

Co-authored-by: Ed Johnson-Williams <[email protected]>
  • Loading branch information
edjw and Ed Johnson-Williams authored Apr 7, 2023
1 parent 8633dc1 commit 7774e1d
Show file tree
Hide file tree
Showing 15 changed files with 1,065 additions and 411 deletions.
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.DS_Store
node_modules
/node_modules
/.netlify
/build
/.svelte-kit
/package
Expand Down
16 changes: 10 additions & 6 deletions package-lock.json

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

1 change: 0 additions & 1 deletion src/app.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* Write your global styles here, in PostCSS syntax */
@tailwind base;
@tailwind components;
@tailwind utilities;
Expand Down
8 changes: 4 additions & 4 deletions src/app.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// for information about these interfaces
// and what to do when importing types
declare namespace App {
// interface Locals {}
// interface PageData {}
// interface PageError {}
// interface Platform {}
// interface Locals {}
// interface PageData {}
// interface PageError {}
// interface Platform {}
}
Loading

0 comments on commit 7774e1d

Please sign in to comment.