File: theme_block.go

package info (click to toggle)
golang-github-gookit-color 1.5.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,708 kB
  • sloc: sh: 101; makefile: 7
file content (17 lines) | stat: -rw-r--r-- 304 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package main

import (
	"fmt"

	"github.com/gookit/color"
)

// go run _examples/theme_block.go
func main() {
	fmt.Println("Built In Themes(styles):")
	fmt.Println("\n------------------ BLOCK STYLE ------------------")

	for name, s := range color.Themes {
		s.Block("%s block style message", name)
	}
}