Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A Trac Macro (Wiki) plugin for displaying color schemes.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 colormacro
Octocat-spinner-32 README
Octocat-spinner-32 setup.py
README
INTRODUCTION

  I started designing a new project not-so-long-ago and wanted to store some
  design color schemes on my trac wiki. It might seem useless to create a plugin  
  for this, since I could just as well used html blocks for it, but it was good 
  practice on how to start Trac plugin development.

DEPENDENCIES

  This macro depends on Advanced Argument Parser for WikiMacros
  http://trac-hacks.org/wiki/AdvParseArgsPlugin


COLORSCHEME

  A quick way to add some ‘color schemes’ to your wiki pages.

    [[ColorScheme(#00ff00, #ff0000, #0000ff)]]

  or with comments:

    {{{#!ColorScheme
    #00ff00 green
    rgb(255\,0\,0) red
    "rgb(255, 255, 0)" Your title / description
    #00f
    }}}

COLORGRADIENT

  Basic:

    [[ColorGradient(#00ff00, #ff0000, #0000ff)]]

  same with a title:

    {{{#!ColorGradient title="Your title / description"
    #00ff00
    rgb(255\,0\,0)
    "rgb(255, 255, 0)"
    #00f
    }}}

Something went wrong with that request. Please try again.