RTL support #503
-
Heya 👋 Does Thank you and keep up the good work! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey 👋 The vanilla-extract API is designed to be as close to regular CSS as possible, but allowing you to build abstractions on top just like you would with TypeScript/JavaScript. There's no plans to to ship any official APIs to handle RTL, but you should be able to build some utilities in your own project to centralise the problem (you could even open source it). That or build it into your Sprinkles utilities, whatever you feel models the problem best for your project. You can also use something like postcss plugins as a post-processing step within your bundler. |
Beta Was this translation helpful? Give feedback.
Hey 👋
The vanilla-extract API is designed to be as close to regular CSS as possible, but allowing you to build abstractions on top just like you would with TypeScript/JavaScript. There's no plans to to ship any official APIs to handle RTL, but you should be able to build some utilities in your own project to centralise the problem (you could even open source it). That or build it into your Sprinkles utilities, whatever you feel models the problem best for your project.
You can also use something like postcss plugins as a post-processing step within your bundler.