A lightweight, interview-ready Drupal 10 demo with a custom front-end theme inspired by Feeding America’s branding and storytelling patterns.
This project demonstrates how to:
- Set up and configure a full Drupal 10 environment from scratch using Composer, Drush, and local development tools — ensuring a clean, reproducible install.
- Build a custom front-end theme (fa_demo) extending Drupal’s core theme layer with a new .info.yml, .libraries.yml, and page.html.twig template structure.
- Integrate modern design tokens and CSS variables (--fa-green, --fa-orange, --fa-cream, etc.) to match an external brand identity while keeping styles maintainable and modular.
- Replaces the default Olivero layout
This is not an official Feeding America project. Branding is used purely for demonstration.
Location:
web/themes/custom/fa_demo/
Key files:
fa_demo.info.yml– Declares the theme, base theme, and librariesfa_demo.libraries.yml– Registersglobal-stylingand attachescss/style.csstemplates/page.html.twig– Implements the one-page layout (hero, impact strip, ways-to-help)css/style.css– Color tokens, layout, and component styles aligned with the Feeding America-inspired look
- Hero banner – gradient background, headline + CTAs
- Impact strip – three metrics in a grid
- Ways to Help – Give / Volunteer / Advocate horizontally aligned
- Chrome cleanup – hides default Olivero header, replaces with neutral cream tone
-
Install dependencies:
composer install
-
Update your database connection in
web/sites/default/settings.php:$databases['default']['default'] = [ 'database' => 'drupal_simple', 'username' => 'root', 'password' => 'root', 'host' => 'localhost', 'driver' => 'mysql', ];
-
Rebuild caches:
drush cr
-
Enable and set the theme as default:
drush theme:enable fa_demo drush config:set system.theme default fa_demo -y
-
Visit
http://localhost:8888to preview.
| Token | Hex | Usage |
|---|---|---|
--fa-green |
#2e6e3b |
Primary brand |
--fa-orange |
#f7941d |
Accent buttons |
--fa-cream |
#fff7ec |
Page background |
--fa-text |
#163018 |
Body / headings |
- Easily extendable: add blocks, views, or content types as needed.
Author: David Kranz
Repo: clean-drupal10-install
