Maya
Maya for Drupal
A Drupal 10, 11 and 12 theme that implements Maya, the design system San Francisco Digital Services built for SF.gov.
What it includes
SF.gov layout and type
Roboto Flex and Roboto Slab, the Maya color palette and type scale, the 1076px page container, and SF.gov's header, footer and body text styles.
Home page
A spotlight, zebra-striped sections, service tiles, topic cards and quick links, built from blocks and menus. See Home page.
Navigation
SF.gov's dark header with main menu dropdowns on desktop and language, search and menu panels on phones, site-wide alerts, breadcrumbs, section navigation, "On this page" and "Search on this page". See Regions and blocks.
Components
Twenty-eight Single Directory Components from SF.gov's 2024 redesign: page headers, alerts, buttons, cards, profiles, events, contact details, step indicators and more, usable in templates and Drupal Canvas. Drupal's titles, messages, forms, pagers, tables, teasers and filters use them. See Components.
Requirements
- Drupal 10.3, 11 or 12
- No contributed modules. Search, Language and Block Content are used when enabled.
Quick start
composer require drupal/maya
drush theme:enable maya
drush config:set system.theme default maya
Enabling the theme places its default blocks. Continue with Installation.
Credits
Maya is the design system of SF.gov, built by San Francisco Digital Services and named for Maya Angelou. The colors, type scale, spacing, components, icons and footer skyline in this theme come from SF.gov's design system and are used with permission. The theme is maintained by FivePaths.
Screens