Custom CSS in Rails 7 alpha2 with Tailwind

In a Rails 7 alpha2 with Tailwind (ie --css tailwindcss), is it possible to create custom classes using @apply directives?

Currently, no.

Tailwind custom directives are not supported. For that you would need to use some of the js bundler options, such as es-build.