Changelog: Changelog.md
The c-ShARP Subtheme is a Stanford sub-theme that works with the Stanford Basic theme and was built by modifying the Stanford Starter Subtheme. This theme includes the following features:
- Masthead updates
- Updated lockup for option O
- Updated decoupled menu
- Search Removed
- Green button and link styles
- Roboto font addition
- Transparent overlay banner variant
- Updated local footer
- Algolia search for shared facilities with filter by basic_page_type (Access & Affiliation) and shared_tags (Discipline) facets
See subtheming guides and best practices here: https://devguide.sites.stanford.edu/front-end/drupal/sub-themes
Nothing special needed. Install, enable, and set as the default active theme.
If you wish to develop on this theme you will most likely need to compile some new css. Please use the sass structure provided and compile with the sass compiler packaged in this theme. To install:
yarn install
After you've made a change you want to see processed, you can run:
yarn build
This will process scss, js, and asset files, preparing them from the src directory to the dist directory.
yarn watch
This will watch the scss files and compile them upon saving.
- Add your ssh key to GitPod
- It is recommended to have a password-less ssh key for simplicity.
ssh-keygen -b 4096
, press enter when asked for the password- Add this ssh public key to the necessary services: Acquia, Github, etc.
- Get the base64 string of your ssh key files
cat id_rsa | base64
for the private keycat id_rsa.pub | base64
for the public key.
- In GitPod, add the variable named
SSH_PRIVATE_KEY
with the private key - In GitPod, add the variable named
SSH_PUBLIC_KEY
with the public key - In Gitpod, add the variable named
GITCONFIG
with the base64 of your git config:cat ~/.gitconfig | base64
- It is recommended to have a password-less ssh key for simplicity.
- Recommended, but not required:
- install the GitPod browser plugin
- Configure your browser settings for an easier experience: https://www.gitpod.io/docs/configure/browser-settings
- Open a gitpod workspace with these instructions
You are welcome to contribute functionality, bug fixes, or documentation to this theme. If you would like to suggest a fix or new functionality you may add a new issue to the GitHub issue queue or you may fork this repository and submit a pull request. For more help please see GitHub's article on fork, branch, and pull requests