umd / umd_terp
UMD Terp is the base theme for all UMD drupal 8 projects.
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 6
Language:HTML
Type:drupal-theme
Requires
- drupal/twig_field_value: *
- drupal/twig_tweak: *
- umd_digital/umd_schoolwide_header: *
- umd_digital/umd_terp_base: *
- dev-master
- 10.0
- 8.1.x-dev
- 8.1.109-alpha
- 8.1.108
- 8.1.107
- 8.1.106
- 8.1.105
- 8.1.104
- 8.1.103
- 8.1.102
- 8.1.101
- 8.1.100
- 8.1.99
- 8.1.98
- 8.1.97
- 8.1.96
- 8.1.95
- 8.1.94
- 8.1.93
- 8.1.92
- 8.1.91
- 8.1.90
- 8.1.89
- 8.1.88
- 8.1.87
- 8.1.86
- 8.1.85
- 8.1.84
- 8.1.83
- 8.1.82
- 8.1.81
- 8.1.80
- 8.1.79
- 8.1.78
- 8.1.77
- 8.1.76
- 8.1.75
- 8.1.74
- 8.1.73
- 8.1.72
- 8.1.71
- 8.1.70
- 8.1.69
- 8.1.68
- 8.1.67
- 8.1.66
- 8.1.65
- 8.1.64
- 8.1.63
- 8.1.62
- 8.1.61
- 8.1.60
- 8.1.59
- 8.1.58
- 8.1.57
- 8.1.56
- 8.1.55
- 8.1.54
- 8.1.53
- 8.1.52
- 8.1.51
- 8.1.50
- 8.1.49
- 8.1.48
- 8.1.47
- 8.1.46
- 8.1.45
- 8.1.44
- 8.1.43
- 8.1.42
- 8.1.41
- 8.1.40
- 8.1.39
- 8.1.38
- 8.1.37
- 8.1.36
- 8.1.35
- 8.1.34
- 8.1.33
- 8.1.32
- 8.1.31
- 8.1.30
- 8.1.29
- 8.1.28
- 8.1.27
- 8.1.26
- 8.1.25
- 8.1.24
- 8.1.23
- 8.1.22
- 8.1.21
- 8.1.20
- 8.1.19
- 8.1.18
- 8.1.17
- 8.1.16
- 8.1.15
- 8.1.14
- 8.1.13
- 8.1.12
- 8.1.11
- 8.1.10
- 8.1.9
- 8.1.8
- 8.1.7
- 8.1.6
- 8.1.5
- 8.1.4
- 8.1.3
- 8.1.2
- 8.1.1
- 8.1.0
- dev-f-trello-qqrhFdb5
- dev-develop
- dev-f-trello-45jEUPAV
- dev-f-t-W5Q9UZEq
- dev-f-t-elERoa43
- dev-f-8.1.63
- dev-h-8.1.62
- dev-h-8.1.55
- dev-h-8.1.52
- dev-h-8.1.50
- dev-h-8.1.43
- dev-f-trello-hpZhEMR8
- dev-f-trello-6Y4OEJcT
- dev-f-trello-zIpw2RwL
- dev-css-overwrites-production
- dev-h-8.1.27
This package is auto-updated.
Last update: 2024-11-06 15:10:07 UTC
README
UMD Terp is the base theme for all UMD drupal 8 projects. It combines UMD approved elements and functionality, into a modified bootstrap theme. It is best used alongside the UMD Terp Base Module, which provides a suite of modules, and configuration to make this theme work as designed. It is also designed to integrate the UMD Schoolwide Header.
This theme can be used on its own, or as a base theme for further customizations via a custom sub-theme.
Requirements
Installation
- Ensure Twig Tweak Module is enabled.
- Ensure Twig Field Value Module is enabled.
- Install as you normally would any drupal 8 theme.
Via Composer
composer require umd_digital/umd_terp --prefer-dist
drush en umd_terp
or enable via admin UI
Manually
- Download this repo into /themes/contrib/umd_terp
drush en umd_terp
or enable via admin UI
Configuration
- Ensure the UMD Terp Base Module is installed, and submodules enabled.
Theme options
UMD Terp Header Settings
- Light header style: Defaults to dark header/nav area. This option switches it to a light header/nav area.
UMD Terp Footer Settings
- Logo: The logo of the department/institution/etc.
- Address: The address of the department/institution/etc.
- Phone number: The phone number of the department/institution/etc.
- Email: The email address of the department/institution/etc.
UMD Terp Social Media Accounts
- Twitter link: The twitter link of the department/institution/etc.
- Facebook link: The facebook link of the department/institution/etc.
- Youtube link: The youtube link of the department/institution/etc.
- Instagram link: The instagram link of the department/institution/etc.
- LinkedIn link: The linkedin link of the department/institution/etc.
UMD Terp Directory Settings
- Back to directory text: Provides the text for the back to directory link on profile pages.
- Back to directory path: Provides the path for the back to directory link on profile pages.
UMD Terp Admin Settings
- Assets path: Dev use only. The assets path for any static images/etc in the theme, to be used in twig theme.
Development
Versioning
Semantic tagging must take place in github for the updates to be able to be pulled via composer. When ready to deploy, create a tag in github up one version from previous, with the starting version being 8.1.0:
- Minor versions (non breaking changes): 8.1.1, 8.1.2, etc.
- Major versions (breaking changes): 8.2.0, 8.3.0, etc.
Tagging is handled via Gitflow. Branch naming is as follows:
- Production release branch:
master
- Next release development branch:
develop
- Feature branch prefix:
f-
- Release branch prefix:
r-
- Hotfix branch prefix:
h-
- Support branch prefix:
s-
Core (base) theme issues, patches, etc
All edits, requests, etc should be submitted to the github repo for the UMD Terp Theme. Please add issues to the issues queue. Patches will be reviewed on a merit and resources available basis.
Frontend
All CSS, JS, etc are based in the static folder. This project provides a development experience that mirrors the idfive Component Library but instead uses Bootstrap 4 as the underlying frontend library.
The UMD component library includes Fractal for component based development. Your own components can be added to the src/components
folder. Static assets such as JavaScript, CSS and images will be served out of the build
folder, but can also be configured to your specific needs by editing the fractal.js file. For more information, read the fractal guide.
See /static/README.md for more information on the frontend configuration.
Customization
THIS THEME SHOULD NEVER BE MODIFIED DIRECTLY. Instead, create a sub-theme so that you may still benefit from future releases of this base theme. Once you've done that, you can override CSS, templates, and theme processing from within that sub-theme. See Sub-themes for more information.
Notes on customization:
- Several widgets include "dark mode". You should account for that if restyling kitchen sink widgets.
- Don't forget to account for the UMD Schoolwide Header.
Troubleshooting
- Ensure Twig Tweak Module is present, and enabled.