Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bixal/bixaluswds
A Drupal base theme integrating USWDS
https://github.com/bixal/bixaluswds
Last synced: 1 day ago
JSON representation
A Drupal base theme integrating USWDS
- Host: GitHub
- URL: https://github.com/bixal/bixaluswds
- Owner: Bixal
- Created: 2024-02-09T17:58:04.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-12-13T23:54:45.000Z (14 days ago)
- Last Synced: 2024-12-14T00:27:02.623Z (14 days ago)
- Language: Twig
- Homepage:
- Size: 173 KB
- Stars: 0
- Watchers: 5
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# Bixal USWDS Drupal base theme
@TODO document the process to create a new child theme from the starter_theme.
## Install base theme by modifying composer.json file
Add bixal/bixaluswds to `repositories` object.
```
{
"type": "package",
"package": {
"name": "bixal/bixaluswds",
"version": "1.0",
"type":"drupal-theme",
"source": {
"url": "https://github.com/Bixal/bixaluswds.git",
"type": "git",
"reference": "v0.0.2"
}
}
}
```
Then run
```
lando composer require "bixal/bixaluswds"
```## Initialize child theme using drupal theme generate function
Determine what theme name you want to use in this example we are using `my_new_theme`.
First create a `custom` directory in `themes` directory if there isn't one `mkdir web/themes/custom`.
```
lando php web/core/scripts/drupal generate-theme --starterkit starter_theme my_new_theme --path themes/custom
lando drush cr
```## Install the theme dependencies and set your custom theme as the default