From e2eaa2cee8fed328fb51d138a8ec8e5abc942448 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Tue, 3 Oct 2017 20:38:15 +0200 Subject: [PATCH] Fix several mistakes in theme manpage. Fixes: #688 --- doc/rofi-theme.5 | 35 +++++++++++++++++++++++++---------- doc/rofi-theme.5.markdown | 26 +++++++++++++++++--------- 2 files changed, 42 insertions(+), 19 deletions(-) diff --git a/doc/rofi-theme.5 b/doc/rofi-theme.5 index b2b93c2a..747f532d 100644 --- a/doc/rofi-theme.5 +++ b/doc/rofi-theme.5 @@ -1,7 +1,7 @@ .\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . -.TH "ROFI\-THEME" "5" "September 2017" "" "" +.TH "ROFI\-THEME" "5" "October 2017" "" "" . .SH "NAME" \fBrofi\-theme\fR \- Rofi theme format files @@ -434,7 +434,7 @@ The different values are: \fB{named\-color}\fR is one of the following colors: . .IP -AliceBlue, AntiqueWhite, Aqua, Aquamarine, Azure, Beige, Bisque, Black, BlanchedAlmond, Blue, BlueViolet, Brown, BurlyWood, CadetBlue, Chartreuse, Chocolate, Coral, CornflowerBlue, Cornsilk, Crimson, Cyan, DarkBlue, DarkCyan, DarkGoldenRod, DarkGray, DarkGrey, DarkGreen, DarkKhaki, DarkMagenta, DarkOliveGreen, DarkOrange, DarkOrchid, DarkRed, DarkSalmon, DarkSeaGreen, DarkSlateBlue, DarkSlateGray, DarkSlateGrey, DarkTurquoise, DarkViolet, DeepPink, DeepSkyBlue, DimGray, DimGrey, DodgerBlue, FireBrick, FloralWhite, ForestGreen, Fuchsia, Gainsboro, GhostWhite, Gold, GoldenRod, Gray, Grey, Green, GreenYellow, HoneyDew, HotPink, IndianRed, Indigo, Ivory, Khaki, Lavender, LavenderBlush, LawnGreen, LemonChiffon, LightBlue, LightCoral, LightCyan, LightGoldenRodYellow, LightGray, LightGrey, LightGreen, LightPink, LightSalmon, LightSeaGreen, LightSkyBlue, LightSlateGray, LightSlateGrey, LightSteelBlue, LightYellow, Lime, LimeGreen, Linen, Magenta, Maroon, MediumAquaMarine, MediumBlue, MediumOrchid, MediumPurple, MediumSeaGreen, MediumSlateBlue, MediumSpringGreen, MediumTurquoise, MediumVioletRed, MidnightBlue, MintCream, MistyRose, Moccasin, NavajoWhite, Navy, OldLace, Olive, OliveDrab, Orange, OrangeRed, Orchid, PaleGoldenRod, PaleGreen, PaleTurquoise, PaleVioletRed, PapayaWhip, PeachPuff, Peru, Pink, Plum, PowderBlue, Purple, RebeccaPurple, Red, RosyBrown, RoyalBlue, SaddleBrown, Salmon, SandyBrown, SeaGreen, SeaShell, Sienna, Silver, SkyBlue, SlateBlue, SlateGray, SlateGrey, Snow, SpringGreen, SteelBlue, Tan, Teal, Thistle, Tomato, Turquoise, Violet, Wheat, White, WhiteSmoke, Yellow, YellowGreen +AliceBlue, AntiqueWhite, Aqua, Aquamarine, Azure, Beige, Bisque, Black, BlanchedAlmond, Blue, BlueViolet, Brown, BurlyWood, CadetBlue, Chartreuse, Chocolate, Coral, CornflowerBlue, Cornsilk, Crimson, Cyan, DarkBlue, DarkCyan, DarkGoldenRod, DarkGray, DarkGrey, DarkGreen, DarkKhaki, DarkMagenta, DarkOliveGreen, DarkOrange, DarkOrchid, DarkRed, DarkSalmon, DarkSeaGreen, DarkSlateBlue, DarkSlateGray, DarkSlateGrey, DarkTurquoise, DarkViolet, DeepPink, DeepSkyBlue, DimGray, DimGrey, DodgerBlue, FireBrick, FloralWhite, ForestGreen, Fuchsia, Gainsboro, GhostWhite, Gold, GoldenRod, Gray, Grey, Green, GreenYellow, HoneyDew, HotPink, IndianRed, Indigo, Ivory, Khaki, Lavender, LavenderBlush, LawnGreen, LemonChiffon, LightBlue, LightCoral, LightCyan, LightGoldenRodYellow, LightGray, LightGrey, LightGreen, LightPink, LightSalmon, LightSeaGreen, LightSkyBlue, LightSlateGray, LightSlateGrey, LightSteelBlue, LightYellow, Lime, LimeGreen, Linen, Magenta, Maroon, MediumAquaMarine, MediumBlue, MediumOrchid, MediumPurple, MediumSeaGreen, MediumSlateBlue, MediumSpringGreen, MediumTurquoise, MediumVioletRed, MidnightBlue, MintCream, MistyRose, Moccasin, NavajoWhite, Navy, OldLace, Olive, OliveDrab, Orange, OrangeRed, Orchid, PaleGoldenRod, PaleGreen, PaleTurquoise, PaleVioletRed, PapayaWhip, PeachPuff, Peru, Pink, Plum, PowderBlue, Purple, RebeccaPurple, Red, RosyBrown, RoyalBlue, SaddleBrown, Salmon, SandyBrown, SeaGreen, SeaShell, Sienna, Silver, SkyBlue, SlateBlue, SlateGray, SlateGrey, Snow, SpringGreen, SteelBlue, Tan, Teal, Thistle, Tomato, Turquoise, Violet, Wheat, White, WhiteSmoke, Yellow, YellowGreen,transparent . .IP "" 0 . @@ -445,9 +445,23 @@ For example: . .nf -background: #FF0000; -foreground: rgba(0,0,1, 0\.5); -text: SeaGreen; +background\-color: #FF0000; +border\-color: rgba(0,0,1, 0\.5); +text\-color: SeaGreen; +. +.fi +. +.IP "" 0 +. +.P +or +. +.IP "" 4 +. +.nf + +background\-color: transparent; +text\-color: Black; . .fi . @@ -859,8 +873,8 @@ Example: .nf #nametotextbox selected\.active { - background: #003642; - foreground: #008ed4; + background\-color: #003642; + text\-color: #008ed4; } . .fi @@ -1126,8 +1140,9 @@ Below is an example of a theme emulating dmenu: .nf * { - background: Black; - foreground: White; + background\-color: Black; + text\-color: White; + border\-color: White; font: "Times New Roman 12"; } @@ -1159,7 +1174,7 @@ Below is an example of a theme emulating dmenu: padding: 0px 2px; } #element selected { - background: SteelBlue; + background\-color: SteelBlue; } . .fi diff --git a/doc/rofi-theme.5.markdown b/doc/rofi-theme.5.markdown index 6bf94337..aa0ed0e6 100644 --- a/doc/rofi-theme.5.markdown +++ b/doc/rofi-theme.5.markdown @@ -284,15 +284,22 @@ The different values are: OldLace, Olive, OliveDrab, Orange, OrangeRed, Orchid, PaleGoldenRod, PaleGreen, PaleTurquoise, PaleVioletRed, PapayaWhip, PeachPuff, Peru, Pink, Plum, PowderBlue, Purple, RebeccaPurple, Red, RosyBrown, RoyalBlue, SaddleBrown, Salmon, SandyBrown, SeaGreen, SeaShell, Sienna, Silver, SkyBlue, SlateBlue, SlateGray, SlateGrey, Snow, SpringGreen, - SteelBlue, Tan, Teal, Thistle, Tomato, Turquoise, Violet, Wheat, White, WhiteSmoke, Yellow, YellowGreen + SteelBlue, Tan, Teal, Thistle, Tomato, Turquoise, Violet, Wheat, White, WhiteSmoke, Yellow, YellowGreen,transparent + For example: ``` -background: #FF0000; -foreground: rgba(0,0,1, 0.5); -text: SeaGreen; +background-color: #FF0000; +border-color: rgba(0,0,1, 0.5); +text-color: SeaGreen; +``` +or + +``` +background-color: transparent; +text-color: Black; ``` ## Text style @@ -528,8 +535,8 @@ Example: ``` #nametotextbox selected.active { - background: #003642; - foreground: #008ed4; + background-color: #003642; + text-color: #008ed4; } ``` @@ -718,8 +725,9 @@ Below is an example of a theme emulating dmenu: ```css * { - background: Black; - foreground: White; + background-color: Black; + text-color: White; + border-color: White; font: "Times New Roman 12"; } @@ -751,7 +759,7 @@ Below is an example of a theme emulating dmenu: padding: 0px 2px; } #element selected { - background: SteelBlue; + background-color: SteelBlue; } ```