Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeWithDennis committed Oct 17, 2024
1 parent 4b810d5 commit 1c900e4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ You can install the package via composer:
composer require codewithdennis/filament-price-filter
```

Make sure you add the following to your `tailwind.config.js` file. You will need to create a [theme](https://filamentphp.com/docs/3.x/panels/themes#creating-a-custom-theme) if you haven't already.

```js
'./vendor/codewithdennis/filament-price-filter/resources/**/*.blade.php'
```

You can publish the config file with:

```bash
Expand Down
1 change: 1 addition & 0 deletions resources/dist/filament-price-filter.css
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.filament-price-filter .slider{accent-color:rgba(var(--c-700),var(--tw-text-opacity))}
2 changes: 1 addition & 1 deletion resources/views/price-filter-slider.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
x-data="priceFilterSlider({
state: $wire.{{ $applyStateBindingModifiers("\$entangle('{$getStatePath()}')") }},
})"
class="price-filter-slider"
class="filament-price-filter"
>
<span class="text-xs font-bold">
{{ $symbol }} {{ $getState() ?? 0 }}
Expand Down

0 comments on commit 1c900e4

Please sign in to comment.