Coder Social home page Coder Social logo

thruk-custom-themes-example's Introduction

Thruk Custom Themes

This repository contains two examples on how to create a custom theme for Thruk.

Get more information about Thruk themes here: https://www.thruk.org/documentation/themes.html

Build Requirements

  • git
  • npm
  • make
  • internet connection

Usage

This example uses CustomLight template, but you can replace the commands with CustomDark if you want to build a theme based on the Dark theme. Replace MyTheme with the name of your theme.

  • %> cd themes
  • %> cp -rp CustomLight MyTheme # or use CustomDark if your theme should be based on the Dark mode
  • cd MyTheme
  • vi src/theme.css # adjust css to your liking
  • ls images # replace images if required
  • make # rebuild the theme
  • copy dest/MyTheme/ onto your Thruk into /etc/thruk/themes-enabled/

Development

During development of your theme you can run the make watch instead of make to update the theme whenever the css file changes.

Instead of copying the dest folder, you can then symlink the theme/MyTheme to /etc/thruk/themes-enabled/.

Have a look at the https://.../thruk/cgi-bin/themes.cgi page to get a quick overview of available components to style.

thruk-custom-themes-example's People

Contributors

sni avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

infraweavers

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.