astro-pure 1.3.1 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -8
- package/bun.lock +167 -231
- package/components/advanced/GithubCard.astro +59 -39
- package/components/advanced/index.ts +0 -3
- package/components/basic/Footer.astro +1 -1
- package/components/basic/Header.astro +1 -1
- package/components/pages/Copyright.astro +10 -10
- package/components/pages/Hero.astro +3 -14
- package/components/pages/PostPreview.astro +1 -1
- package/components/pages/index.ts +0 -1
- package/components/user/Button.astro +12 -4
- package/components/user/Collapse.astro +1 -0
- package/index.ts +8 -4
- package/package.json +6 -6
- package/plugins/rehype-external-links.ts +74 -0
- package/plugins/rehype-table.ts +37 -0
- package/types/theme-config.ts +13 -4
- package/utils/index.ts +1 -0
- package/utils/is-absolute-url.ts +35 -0
- package/utils/mdast-util-to-string.ts +13 -0
- package/components/advanced/Comment.astro +0 -148
- package/components/pages/PageInfo.astro +0 -18
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Astro Theme Pure (Integration Package)
|
|
2
2
|
|
|
3
|
-
A simple, fast and powerful blog theme built by Astro.
|
|
3
|
+
A simple, fast and powerful blog & document theme built by Astro.
|
|
4
4
|
|
|
5
5
|
[](https://astro-pure.js.org/)
|
|
6
6
|
[](https://www.npmjs.com/package/astro-pure)
|
|
@@ -16,7 +16,17 @@ See [Getting Started](https://astro-pure.js.org/docs/setup/getting-started).
|
|
|
16
16
|
|
|
17
17
|
### Use with common Astro project
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
See [User Components](https://astro-pure.js.org/docs/integrations/components) & [Advanced Components](https://astro-pure.js.org/docs/integrations/advanced) to learn how to use.
|
|
20
|
+
|
|
21
|
+
> Some part of Advanced Components may require Astro Integration config.
|
|
22
|
+
|
|
23
|
+
#### UnoCSS
|
|
24
|
+
|
|
25
|
+
UnoCSS is more recommended, and TailwindCSS method will be removed soon.
|
|
26
|
+
|
|
27
|
+
#### TailwindCSS V3
|
|
28
|
+
|
|
29
|
+
Set up tailwindcss v3 in your project.
|
|
20
30
|
|
|
21
31
|
```js
|
|
22
32
|
// tailwind.config.mjs
|
|
@@ -32,12 +42,6 @@ const config = {
|
|
|
32
42
|
export default config
|
|
33
43
|
```
|
|
34
44
|
|
|
35
|
-
UnoCSS is more recommended, and TailwindCSS method will be removed soon.
|
|
36
|
-
|
|
37
|
-
See [User Components](https://astro-pure.js.org/docs/integrations/components) & [Advanced Components](https://astro-pure.js.org/docs/integrations/advanced) to learn how to use.
|
|
38
|
-
|
|
39
|
-
> Some part of Advanced Components may require Astro Integration config.
|
|
40
|
-
|
|
41
45
|
## Cli
|
|
42
46
|
|
|
43
47
|
```shell
|