Skip to content

Commit

Permalink
⬆️ Add support for Tailwind 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
techouse committed Dec 19, 2021
1 parent 8940f0e commit 5cf1430
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ Either press `⌘Y` to Quick Look the result, or press `<enter>` to open it in y

## Changing Branches

The workflow supports searching the documentation of both branches, `v0`, `v1` and `v2`.
By default, it searches the `v2` branch. To search branch `v1` simply type `v1` **anywhere** in your query, like so:
The workflow supports searching the documentation of both branches, `v0`, `v1`, `v2` and `v3`.
By default, it searches the `v3` branch. To search branch `v2` simply type `v2` **anywhere** in your query, like so:

```
twd padding v1
twd flex v2
```

### Note
Expand Down
8 changes: 4 additions & 4 deletions src/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ class Config(object):
TAILWIND_ICON = "icon.png"
GOOGLE_ICON = "google.png"
# supported docs
SUPPORTED_TAILWIND_VERSIONS = {"v0", "v1", "v2"}
DEFAULT_TAILWIND_VERSION = "2"
SUPPORTED_TAILWIND_VERSIONS = {"v0", "v1", "v2", "v3"}
DEFAULT_TAILWIND_VERSION = "3"
# Algolia credentials
ALGOLIA_APP_ID = "BH4D9OD16A"
ALGOLIA_SEARCH_ONLY_API_KEY = "3df93446658cd9c4e314d4c02a052188"
ALGOLIA_APP_ID = "KNPXZI5B0M"
ALGOLIA_SEARCH_ONLY_API_KEY = "5fc87cef58bb80203d2207578309fab6"
ALGOLIA_SEARCH_INDEX = "tailwindcss"
2 changes: 1 addition & 1 deletion src/info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
<key>variablesdontexport</key>
<array/>
<key>version</key>
<string>1.0.3</string>
<string>1.0.4</string>
<key>webaddress</key>
<string>https://github.com/techouse</string>
</dict>
Expand Down
10 changes: 5 additions & 5 deletions src/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Alfred-Workflow>=1.40.0
algoliasearch>=2.4.0
certifi>=2020.12.5
algoliasearch>=2.6.1
certifi>=2021.10.8
chardet>=4.0.0
idna>=2.10
requests>=2.25.1
typing>=3.7.4.3
urllib3>=1.26.2
requests>=2.26.0
typing>=3.10.0.0
urllib3>=1.26.7
2 changes: 1 addition & 1 deletion src/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.3
1.0.4
Binary file not shown.

0 comments on commit 5cf1430

Please sign in to comment.