Add README

Fixes #1
This commit is contained in:
Oliver Davies 2020-09-12 11:29:57 +01:00
parent bce9d8f5a4
commit 3646cb490c

10
README.md Normal file
View file

@ -0,0 +1,10 @@
# Rebuilding Symfony
A rebuild of the [symfony.com](https://symfony.com) website, built using static HTML and [Tailwind CSS](https://tailwindcss.com). This was created by [Oliver Davies](https://www.oliverdavies.uk) as an example for his [Taking Flight with Tailwind CSS talk](https://www.oliverdavies.uk/talks/taking-flight-tailwind-css).
Some interesting points:
- Uses Tailwind CSS 1.7.
- Uses [Webpack Encore](https://github.com/symfony/webpack-encore) to generate the output file.
- Supports dark mode using a custom `screen` with a raw media query using `prefers-color-scheme: dark`.
- Uses the PostCSS Nested plugin to add nesting functionality within `tailwind.pcss`.