mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Post-processor -> preprocessor
This commit is contained in:
parent
5ceb9dce34
commit
092aba5187
@ -11,7 +11,7 @@ Tailwind's defining feature is its ability to be customized. We understand that
|
||||
|
||||
The Tailwind config file is where you customize Tailwind specifically for your project. It will include your colour palette, fonts, text weights, spacing and sizing definitions, borders, shadows, and much more. Think of the Tailwind config as a living definition of your design system.
|
||||
|
||||
Tailwind is actually built on PostCSS and therefore is configured entirely in JavaScript. This can feel a little strange at first, especially if you're more familiar with setting variables in a post-processor like Sass or Less. In practice though, defining your CSS configuration in a real programming language like JavaScript has a lot of benefits. You can create variables to share parts of your configuration. You have the full power of JavaScript to dynamically create or manipulate values. Eventually you may even be able to automatically generate custom documentation for your project from this config file.
|
||||
Tailwind is actually built on PostCSS and therefore is configured entirely in JavaScript. This can feel a little strange at first, especially if you're more familiar with setting variables in a preprocessor like Sass or Less. In practice though, defining your CSS configuration in a real programming language like JavaScript has a lot of benefits. You can create variables to share parts of your configuration. You have the full power of JavaScript to dynamically create or manipulate values. Eventually you may even be able to automatically generate custom documentation for your project from this config file.
|
||||
|
||||
## Creating your Tailwind config file
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user