This repository has been archived on 2025-01-07. You can view files and clone it, but cannot push or open issues or pull requests.
rebuilding-symfony/README.md

11 lines
679 B
Markdown
Raw Permalink Normal View History

2020-09-12 10:29:57 +00:00
# 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`.