Giter Club home page Giter Club logo

colordrop's Introduction

Colordrop

Customizable, monochromatic and minimalist hugo theme for personal blogs.

Installation (with git)

To install colordrop theme using git you first must ensure your blog folder is already a git repository:

git init

Then add it as submodule of your repository:

git submodule add [email protected]:humrochagf/colordrop.git themes/colordrop

OR

git submodule add https://github.com/humrochagf/colordrop.git themes/colordrop

And add this configuration to your blog config.

  • yaml:
theme: colordrop
  • toml:
theme = "colordrop"

Version pinning

You can pin a version of the theme by checking to a version tag:

cd themes/colordrop
git checkout v1.5.0
cd ../..
git commit -m "Pinning theme to version 1.5.0"

Installation (without git)

You just need to download it at the version you want from the release page and extract it to the themes folder of your blog making sure it has the following structure:

.
└── themes
    └── colordrop

And add this configuration to your blog config.

  • yaml:
theme: colordrop
  • toml:
theme = "colordrop"

Customize Colors

The theme colors can be customized by changing the themeColor and themeInverseColor variables at params.

  • yaml:
params:
  themeColor: "#000000"
  themeInverseColor: "#ffffff"
  • toml:
[params]
themeColor = "#000000"
themeInverseColor = "#ffffff"

theme colors image

Home page and Logo

The website logo can be set with the variable siteLogo while the variable description will be the displayed at the website home page.

  • yaml:
params:
  description: Welcome to my blog...
  siteLogo: "logo-photo.png"
  • toml:
[params]
description = "Welcome to my blog..."
siteLogo = "logo-photo.png"

Custom CSS

You can load your custom CSS files by adding them under the static folder, e.g. static/css/custom.css and then defining the parameters as a list.

  • yaml:
params:
  custom_css: ["css/custom.css"]
  • toml:
[params]
custom_css = ["css/custom.css"]

Website Example

You check my blog to see the theme fully running.

theme image

Obs: This theme uses pipes to compile sass so you'll have to use hugo extensions.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.