Jack Sleight

@jacksleight
72 Followers
42 Following
41 Posts
Freelance full-stack developer. Love building sharp interfaces and working with Laravel, Statamic and Filament.

Playing with a @statamic experiment thatโ€™s been bouncing around in my head for quite a long time. Could be pretty cool, and itโ€™s only half Bard relatedโ€ฆ. maybe two thirds.

Do I need this: ๐Ÿ‘€ ?

Apparently the fourth hardest problem in computer science:

Predictive text knowing that when you type the first half of your postcode, youโ€™re probably going to want to type the second half of your postcode.

Been testing @LaravelLivewire Flux customisation using Blade Tailor. These styles are defined in one file, without publishing the templates or using CSS overrides (mostly).

(I love Flux's look, but Iโ€™d like to use it in projects with their own style, so I'm just experimenting.)

Added some new features that make it super easy to make changes to multiple components at once, like if you want all the small text to be bigger, or all the rounded corners to be pointy. Tagged v0.2.
I've wrapped this up into a package if anyone wants to give it a spin. This is currently an experimental work in progress, please read the warning in the readme. https://github.com/jacksleight/blade-tailor
GitHub - jacksleight/blade-tailor: Customise (tailor) the props, classes and attributes used by blade components from outside the template files.

Customise (tailor) the props, classes and attributes used by blade components from outside the template files. - GitHub - jacksleight/blade-tailor: Customise (tailor) the props, classes and attrib...

GitHub

Here are some more examples of what this can do. I've also made some tweaks to the API. There's also a `reset` option that allows you to remove all built-in classes, just in case you really really want to style the whole thing from scratch (but still keep all the behaviour).

I originally built this to use with my own package of general purpose components, but since it can now work with other packages maybe I should release it?

I have a little tool that allows you to globally alter the props and classes used by blade components, making it super easy to customise external components without publishing their views. Just got it working with Livewire Flux!

Just tagged @statamic Bard Mutator v3: https://github.com/jacksleight/statamic-bard-mutator/releases/tag/3.0.0

๐Ÿ”Œ Mutators are now known as plugins
๐Ÿ“ฆ Class based plugins for easier organisation and reuse
๐Ÿ”ญ Scoped plugins that can be enabled per-field
๐Ÿ› ๏ธ New helpers for advanced data manipulation
๐Ÿ˜Ž Easier setup with no custom binding

Release 3.0.0 ยท jacksleight/statamic-bard-mutator

This release introduces some significant changes to the terminology and variables used in mutators, however there are only two very small breaking changes, please read upgrade guide for more inform...

GitHub

Super excited to announce a big new feature for @statamic Bard Texstyle: Pins! ๐Ÿ“Œ

Pins make it really easy to add custom elements within a line of text, like icons, footnotes, and dynamic values. You can create any types you like, and render them however you like.

๐Ÿ“ Release notes:
https://statamic.com/addons/jacksleight/bard-texstyle/release-notes

๐Ÿ“˜ Pins documentation:
https://jacksleight.dev/docs/bard-texstyle/pins

๐Ÿ’ฌ And a blog post on implementing footnotes:
https://jacksleight.dev/posts/adding-footnotes-to-bard-with-texstyle-pins

Bard Texstyle Release Notes โ€“ Statamic Addon

Statamic
All I really want is to use variables in media queries