summary refs log tree commit diff
path: root/bin/man1/scheme.1
blob: 9aa4f054715e220d1e89295e14a8088bb70d21df (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
.Dd July 6, 2019
.Dt SCHEME 1
.Os
.
.Sh NAME
.Nm scheme
.Nd color scheme
.
.Sh SYNOPSIS
.Nm
.Op Fl acghilmstx
.Op Fl p Ar n
.
.Sh DESCRIPTION
.Nm
generates a color scheme
and outputs it in a number of formats.
.
.Pp
The arguments are as follows:
.Bl -tag -width Ds
.It Fl a
Generate the 16 ANSI colors.
This is the default.
.It Fl c
Output a C enum.
.It Fl g
Output a swatch PNG.
.It Fl h
Output floating point HSV.
.It Fl i
Swap black and white.
.It Fl l
Output Linux console OSC sequences.
.It Fl m
Output a
.Xr mintty 1
theme.
Use with
.Fl t .
.It Fl p Ar n
Generate only the color
.Ar n .
.It Fl s
Output CSS
for classes named
.Sy fg Ns Ar n
and
.Sy bg Ns Ar n .
.It Fl t
Generate the 16 ANSI colors as well as
background, foreground, bold, selection and cursor colors.
.It Fl x
Output hexadecimal RGB.
This is the default.
.El
Donenfeld This also gives us some CSRF protection. Note that we make use of the hmac to protect the redirect value. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> 2014-01-16auth: add basic authentication filter frameworkJason A. Donenfeld This leverages the new lua support. See filters/simple-authentication.lua for explaination of how this works. There is also additional documentation in cgitrc.5.txt. Though this is a cookie-based approach, cgit's caching mechanism is preserved for authenticated pages. Very plugable and extendable depending on user needs. The sample script uses an HMAC-SHA1 based cookie to store the currently logged in user, with an expiration date. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> 2014-01-16t0111: Additions and fixesLukas Fleischer * Rename the capitalize-* filters to dump.* since they also dump the arguments. * Add full argument validation to the email filters. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de> 2014-01-16parsing.c: Remove leading space from committerLukas Fleischer