Michael Carter

Results 234 comments of Michael Carter

I created a tool to let you generate custom themes for shadcn/ui. You can customize the template and use standard Tailwind colors and tokens like `primary`, `secondary`, `accent`, etc., then...

I created an example that adds a `time zone` client hint. It also includes a helper function for formatting dates using the `Intl.DateTimeFormat` object, so everything uses native browser APIs....

Interesting. Thanks for the bug report. I haven't seen that happen in my apps. I will definitely take a look.

Thanks for reporting the issue and providing an example. I will see what's needed to support this scenario.

Yeah. I’m reworking the whole client side part of the helper. Sorry about that. I hope to have this fixed soon.

I think it was meant for extending, which I never got around to doing.

I see. Looks like it's not handled properly. Thanks for your test case. I'll work to support it.

That's true. When I first created it, I wasn't sure if I would include Remix-specific stuff in it. I've actually cleaned up the API for use in my current app,...

I'm actually just renaming it to `zod-helper`. Its main purpose is to not only validate your input but parse and convert it. Similar to the new `coerce` feature in `zod`....

The forms/input helper uses the same schema as the parser/validation, that's why I had it in the same package. I'll think about the best way to organize it. Thanks!