{name}
@@ -28,8 +37,20 @@ {#each configClasses as config}.{config.name}
- {config.description}
+ {#if config.description} +{config.description}
+ {/if}-
+ {#each config.options as opt}
+
-
+
{opt.name}+{opt.description}
+
+ {/each}
+
@yet3/tailwindcss-bg-patterns
IN-DEVELOPMENT
- -
- Read more on
-
+
-
+
+ ++ Github +
+ -
+
+ ++ Portfolio +
+ -
+
+
+
Available patterns
+-
+ {#each PATTERNS as pattern}
+
- + {pattern.name} + + {/each} +
-
{#each PATTERNS as pattern}
- @@ -70,3 +111,5 @@ {/each}
-bg-pattern-cross-hatching
+## Patterns
-bg-pattern-line-2 // line width
-bg-pattern-line-[8] // custom line width
-bg-pattern-line-red-500 // line color
-bg-pattern-line-[#a2a2a2] // custom line color
+### Grid
+See it live [here](https://yet3.github.io/tailwindcss-bg-patterns#grid)
-bg-pattern-spacing-24 // space between pattern lines
-bg-pattern-spacing-[321] // custom space between pattern lines
+```html
+
```
+
+### Cross-Hatching
+See it live [here](https://yet3.github.io/tailwindcss-bg-patterns#cross-hatching)
+
+```html
+
+```
+
+
+
+### Polka dot
+See it live [here](https://yet3.github.io/tailwindcss-bg-patterns#polka-dot)
+
+```html
+
+```
+
+
+
+### Hexagonal polka dot
+See it live [here](https://yet3.github.io/tailwindcss-bg-patterns#hexagonal-polka-dot)
+
+```html
+
+```
+
+
+
+## Todo
+
+- [ ] Add utility to adjust pattern opacity
+- [ ] Add pattern: horizontal-lines (x-lines?)
+- [ ] Add pattern: vertical-lines (y-lines?)
+- [ ] Add pattern: checkers
+- [ ] Add pattern: honeycomb
+- [ ] Add pattern: bricks
+
+## Support
+
+[](https://ko-fi.com/W7W618YWH4)
diff --git a/example/src/app.css b/example/src/app.css
index 41f19f0..c848ee7 100644
--- a/example/src/app.css
+++ b/example/src/app.css
@@ -3,6 +3,7 @@
@import 'tailwindcss/utilities';
html {
+ scroll-behavior: smooth;
font-family: 'Open Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji',
'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}
diff --git a/example/src/common/Anchor.svelte b/example/src/common/Anchor.svelte
new file mode 100644
index 0000000..5cacbda
--- /dev/null
+++ b/example/src/common/Anchor.svelte
@@ -0,0 +1,17 @@
+
+
+
+ {@render children()}
+
diff --git a/example/src/common/BuyMeCoffee.svelte b/example/src/common/BuyMeCoffee.svelte
new file mode 100644
index 0000000..2d78071
--- /dev/null
+++ b/example/src/common/BuyMeCoffee.svelte
@@ -0,0 +1,11 @@
+
+
+
+