digital-nature / wordpress-theme-digital-nature
Contains the base theme for Digital Nature site builds.
Installs: 38
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Language:CSS
Type:wordpress-theme
README
Contains the base theme for Digital Nature site builds.
Usage
This should be the base on which you build your site theme.
Child theme link
WordPress insist that you put the parent theme as a 'Template' within your style.css file. Below is an example of a (very) minimal style.css file
# style.css /* Theme Name: Your theme name ... Template: digital-nature */
Contributing
PRs are welcome. Please follow the build process below if you want to make any js/css changes
Updating versions
Use semantic versioning.
When updating, you will need to make the change in a few places:
src/css/frontend/frontend.scss
- also add a
git tag
for the same version number
Build process
Navigate to the src
directory and run build/watch
Note that you will need to run npm i
first, to install the dependencies
# navigate to the src directory cd src # watch for changes and auto-build npm run watch # build for production npm run build
Responsive styles
Breakpoints for screen widths should not be found in this theme. We can set these breakpoints in the child theme, if we set them here then we will end up including both these base styles and those of the theme, that can lead to conflicts.