assets folder
Theme Details
>
assets folder
The themes/jhdocs/assets folder includes the CSS and JavaScript assets used by the jhDocs theme.
Warning
Do not modify the contents of the files in these folders or you might break the jhDocs theme.
Contact us if you would like any changes made to the theme assets.
CSS assets
The following assets are included in the themes/jhdocs/assets/css folder:
- jhdocs-theme-variables.css:
- This includes the CSS variable definitions for the jhDocs theme, for both light mode and dark model.
- This is essentially the color palette for the jhDocs theme.
- See the Theming page to learn how you can tap into these CSS variables for styling your own site elements in a theme-safe way.
- jhdocs.css: This includes all CSS used by the jhDocs theme.
JavaScript assets
The following assets are included in the themes/jhdocs/assets/js folder:
- jhdocs.js: This includes most of the JavaScript used by the jhDocs theme.
- jhdocs-light-dark-mode.js: JavaScript for managing light/dark mode.
- clipboard.js: Third party code that performs the copy-to-clipboard functionality used in the jhdocs-code shortcode.
Support options
Did this page help you?
Last updated Tue Feb 11 2025