https://github.com/stanford-earth/matson
Matson Base Theme
https://github.com/stanford-earth/matson
d8 theme
Last synced: 6 months ago
JSON representation
Matson Base Theme
- Host: GitHub
- URL: https://github.com/stanford-earth/matson
- Owner: stanford-earth
- License: gpl-2.0
- Created: 2017-05-09T19:31:54.000Z (about 9 years ago)
- Default Branch: 8.x-2.x
- Last Pushed: 2023-06-28T19:41:32.000Z (about 3 years ago)
- Last Synced: 2024-04-15T07:41:47.085Z (over 2 years ago)
- Topics: d8, theme
- Language: SCSS
- Size: 15.6 MB
- Stars: 2
- Watchers: 13
- Forks: 1
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.txt
- License: LICENSE.txt
Awesome Lists containing this project
README
# Matson
Matson is a custom Stanford theme for Stanford Earth.
## Developing with Matson
To get started developing in this theme, make sure npm is installed and you've run 'npm install' in this theme directory. Note that usually the project runs this step for the theme, but in this case you must do this manually.
Run 'grunt' to make sure gulp is installed and available.
Run 'grunt devmode' to watch files, process scss to css and perform other tasks.
### Adding new files
If you add a partial "src/scss/components/\_newfile.scss"
you should add it to the @import list in components.scss
Remember that each new scss file to be processed needs to be added specifically to the gruntfile at the root of the theme folder.
## Troubleshooting Problems
If you get an error like this (possibly on a linux machine):
Fatal error: watch /your/directories/Earth/se3_blt/docroot/themes/custom/matson/css ENOSPC
It is running out of space or thinks it is.
Try running:
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
The system has a limit to how many files can be watched by a user. You can run out of
watches pretty quickly if you have Grunt running with other programs like Dropbox. This
command increases the maximum amount of watches a user can have.