Skip to content
Grav 2.0 is officially stable. Read the announcement →
Themes & Styling

There is a "blank theme"?

Solved by pamtbaau View solution

Started by Jules 6 years ago · 2 replies · 1300 views
6 years ago

Hi!
I would like a find an "blank theme" to beginning coding without stuffs that I don't need.
Any idea? 🧐
Thanks!

6 years ago

did you read the theme tutorial in the official docs ?
I think the devtools new-theme is a good approach - from there it should also be quite straightforward to add parts from existing themes that you like.

👍 1
6 years ago Solution

@JulesVlt, Using the DevTools plugin you can create a very minimalistic theme that only has the bare necessities:

  • Change directory to root of Grav installation
  • Install the devtools plugin: $ bin/gpm install devtools
  • Create new theme: $ bin/plugin devtools newtheme
    • Select [pure-blank ] Basic Theme using Pure.css
  • In /user/config/system.yaml set your new theme:
    YAML
    pages:
      theme: my-new-theme
    
👍 1
last edited 03/27/20 by pamtbaau

Suggested topics

Topic Participants Replies Views Activity
Themes & Styling · by stuart young, 2 weeks ago
3 251 2 weeks ago
Themes & Styling · by Sebadamus, 3 weeks ago
5 317 3 weeks ago
Themes & Styling · by martynfoster735, 4 weeks ago
1 310 4 weeks ago
Themes & Styling · by Justin Young, 1 month ago
1 348 1 month ago
Themes & Styling · by Slebeig, 2 months ago
4 474 2 months ago