themekit: github.com/Shopify/themekit/src/colors Index | Files

package colors

import "github.com/Shopify/themekit/src/colors"

Index

Package Files

colors.go

Variables

var (
    // Red is the color red
    Red = color.New(color.FgRed).SprintFunc()
    // Yellow is the color yellow
    Yellow = color.New(color.FgYellow).SprintFunc()
    // Blue is the color blue
    Blue = color.New(color.FgBlue).SprintFunc()
    // Green is the color Green
    Green = color.New(color.FgGreen).SprintFunc()
    // ColorStdOut is a wrapped std out that allows colors
    ColorStdOut = log.New(colorable.NewColorableStdout(), "", 0)
    // ColorStdErr is a wrapped std err that allows colors
    ColorStdErr = log.New(colorable.NewColorableStderr(), "", 0)
)

Package colors imports 3 packages (graph) and is imported by 6 packages. Updated 2018-08-17. Refresh now. Tools for package owners.