Home
last modified time | relevance | path

Searched refs:color (Results 1 – 25 of 46) sorted by relevance

12

/dokuwiki/vendor/splitbrain/lesserphp/src/Functions/
H A DColorChannels.php41 public function hue(array $color): int argument
43 $hsl = Color::toHSL(Asserts::assertColor($color));
53 public function saturation(array $color): int argument
55 $hsl = Color::toHSL(Asserts::assertColor($color));
65 public function lightness(array $color): int argument
67 $hsl = Color::toHSL(Asserts::assertColor($color));
80 public function red($color) argument
82 $color = Asserts::assertColor($color);
83 return $color[1];
89 public function green($color) argument
[all …]
H A DColorDefinition.php40 public function rgbahex(array $color): string argument
42 $color = Asserts::assertColor($color);
46 isset($color[4]) ? $color[4] * 255 : 255,
47 $color[1],
48 $color[2],
49 $color[3]
59 public function argb(array $color): string argument
61 return $this->rgbahex($color);
H A DColorOperation.php47 [$color, $delta] = $this->colorArgs($args);
49 $hsl = Color::toHSL($color);
62 [$color, $delta] = $this->colorArgs($args);
64 $hsl = Color::toHSL($color);
77 [$color, $delta] = $this->colorArgs($args);
79 $hsl = Color::toHSL($color);
92 [$color, $delta] = $this->colorArgs($args);
94 $hsl = Color::toHSL($color);
107 [$color, $delta] = $this->colorArgs($args);
108 $color[4] = Util::clamp(($color[4] ?? 1) + $delta / 100);
[all …]
H A DStrings.php65 if ($color = Color::coerceColor($val)) {
66 $val = $color;
/dokuwiki/lib/styles/
H A Dgeshi.less10 color: #666666;
15 color: #cc0000;
20 color: #006699;
25 color: #009933;
30 color: #000000;
35 color: #008000;
39 color: #f08;
44 color: #004000;
48 color: #cc66cc;
52 color: #0000ff;
[all …]
H A Dscreen.css11 color: #000;
33 background-color: #fcc;
35 border-color: #ebb;
39 background-color: #ccf;
41 border-color: #bbe;
45 background-color: #cfc;
47 border-color: #beb;
51 background-color: #ffc;
53 border-color: #eeb;
60 background-color: #fff;
[all …]
H A Dfeed.css3 background-color: __background__;
4 color: __text__;
19 color: __extern__;
27 color: __extern__;
48 color: __text_alt__;
55 color: __text_neu__;
/dokuwiki/vendor/splitbrain/php-cli/src/
H A DColors.php110 * @param string $color one of the available color names
115 public function ptln($line, $color, $channel = STDOUT) argument
117 $this->set($color, $channel);
126 * @param string $color one of the available color names
130 public function wrap($text, $color) argument
132 return $this->getColorCode($color) . $text . $this->getColorCode('reset');
138 * @param string $color one of the available color names
142 public function getColorCode($color) argument
147 if (!isset($this->colors[$color])) {
148 throw new Exception("No such color $color");
[all …]
/dokuwiki/vendor/splitbrain/lesserphp/src/Utils/
H A DColor.php53 public static function toLuma(array $color): float argument
55 [, $r, $g, $b] = Color::coerceColor($color);
71 public static function toHSL(array $color): array argument
73 if ($color[0] == 'hsl') return $color;
75 $r = $color[1] / 255;
76 $g = $color[2] / 255;
77 $b = $color[3] / 255;
110 if (count($color) > 4) $out[] = $color[4]; // copy alpha
119 public static function toRGB(array $color): array argument
121 if ($color[0] == 'color') return $color;
[all …]
H A DAsserts.php77 $color = Color::coerceColor($value);
78 if (is_null($color)) throw new Exception($error);
79 return $color;
/dokuwiki/data/media/wiki/
H A Ddokuwiki.svg4 <stop stop-color="#d69c00" offset="0"/>
5 <stop stop-color="#ffe658" offset="1"/>
8 <stop stop-color="#00a423" offset="0"/>
9 <stop stop-color="#00b427" offset="1"/>
12 <stop stop-color="#00b62b" offset="0"/>
13 <stop stop-color="#a1d784" offset="1"/>
17 <stop stop-color="#ede1ae" offset="0"/>
18 <stop stop-color="#fefdfa" offset="1"/>
21 <stop stop-color="#fbf6f0" offset="0"/>
22 <stop stop-color="#e9dac7" offset="1"/>
[all …]
/dokuwiki/lib/tpl/dokuwiki/images/
H A Ddokuwiki.svg4 <stop stop-color="#d69c00" offset="0"/>
5 <stop stop-color="#ffe658" offset="1"/>
8 <stop stop-color="#00a423" offset="0"/>
9 <stop stop-color="#00b427" offset="1"/>
12 <stop stop-color="#00b62b" offset="0"/>
13 <stop stop-color="#a1d784" offset="1"/>
17 <stop stop-color="#ede1ae" offset="0"/>
18 <stop stop-color="#fefdfa" offset="1"/>
21 <stop stop-color="#fbf6f0" offset="0"/>
22 <stop stop-color="#e9dac7" offset="1"/>
[all …]
H A Dpage-background.svg3 <stop offset="0" stop-color="#dddddd" />
4 <stop offset="0.1" stop-color="#eeeeee" />
5 <stop offset="0.4" stop-color="#fbfaf9" />
/dokuwiki/lib/tpl/dokuwiki/css/
H A D_diff.css16 background-color: #fff;
17 color: #333;
37 color: #999;
59 background-color: #cfc;
60 color: black;
64 background-color: #fdd;
65 color: black;
69 background-color: #eee;
70 color: black;
75 color: #f00;
[all …]
H A D_search.less11 color: @ini_text;
12 background-color: __highlight__;
57 color: @ini_text_alt;
67 background-color: @ini_background;
144 color: @ini_text_alt;
145 background-color: inherit;
151 /* color is set in general */
156 color: @ini_text;
157 background-color: inherit;
H A D_edit.css20 color: @ini_text_alt;
21 background-color: inherit;
40 background-color: @ini_background_alt;
41 color: inherit;
108 color: @ini_text;
109 background-color: #ffcccc;
H A Dbasic.less17 color: @ini_text;
185 background-color: @ini_background_alt;
201 color: @ini_link;
218 color: #666;
219 background-color: transparent;
263 background-color: @ini_highlight;
264 color: inherit;
276 background-color: @ini_background_site;
277 color: @ini_text;
361 color: #333;
[all …]
H A D_modal.css21 background-color: @ini_background;
60 background-color: @ini_background_neu;
64 background-color: @ini_background_alt;
69 color: @ini_text_neu;
H A Dcontent.less39 color: @ini_existing;
40 background-color: inherit;
45 color: @ini_missing;
46 background-color: inherit;
73 color: @ini_text_alt;
77 color: @ini_text_neu;
81 color: @ini_text;
103 background-color: @ini_background_alt;
107 background-color: @ini_border;
112 /* fix if background-color hides underlining */
[all …]
H A D_tabs.css41 background-color: @ini_background_neu;
42 color: @ini_text;
71 background-color: @ini_background_alt;
72 color: @ini_text;
83 border-bottom-color: @ini_background_alt;
H A D_media_fullscreen.css52 background-color: @ini_background_alt;
90 background-color: @ini_background_alt;
98 background-color: @ini_background_alt;
132 background-color: @ini_background_alt;
133 color: @ini_text;
135 border-bottom-color: @ini_background_alt;
173 background-color: __highlight__;
195 color: @ini_text;
243 background-color: @ini_background_alt;
260 background-color: @ini_background_neu;
[all …]
H A D_fileuploader.css12 color: #f00;
13 background-color: #fff;
41 color: @ini_text;
68 color: @ini_text;
/dokuwiki/lib/plugins/config/
H A Dstyle.css14 background-color: __background_alt__;
15 color: __text__;
83 background-color: __background__;
84 color: __text_neu__;
115 background-color: #fff;
116 color: #000;
124 background-color: #ccddff;
125 color: #000;
133 background-color: #ffcccc!important;
134 color: #000 !important;
[all …]
/dokuwiki/lib/plugins/usermanager/
H A Dstyle.css3 color: #6f6f6f;
21 color: #ccc!important;
22 border-color: #ccc!important;
/dokuwiki/lib/images/interwiki/
H A Ddoku.svg1color:#3a9030;stop-opacity:.83673471" offset="0"/><stop style="stop-color:#3d9c32;stop-opacity:.79…

12