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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Themes & Styling

There is a "blank theme"?

Solved by pamtbaau View solution

Started by Jules 6 years ago · 2 replies · 1148 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 Pedro M, 2 months ago
4 198 2 months ago
Themes & Styling · by Ian, 2 months ago
3 94 2 months ago
Themes & Styling · by Norbert, 2 years ago
11 455 3 months ago
Themes & Styling · by Lukáš Findeis, 3 months ago
0 48 3 months ago
Themes & Styling · by Sebadamus, 4 months ago
5 128 3 months ago