You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by bd...@apache.org on 2024/01/24 01:02:05 UTC
(directory-site) branch color-hack created (now 6e1f1a54)
This is an automated email from the ASF dual-hosted git repository.
bdemers pushed a change to branch color-hack
in repository https://gitbox.apache.org/repos/asf/directory-site.git
at 6e1f1a54 Draft: Hacking on ideas for logo colors
This branch includes the following new commits:
new 6e1f1a54 Draft: Hacking on ideas for logo colors
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(directory-site) 01/01: Draft: Hacking on ideas for logo colors
Posted by bd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
bdemers pushed a commit to branch color-hack
in repository https://gitbox.apache.org/repos/asf/directory-site.git
commit 6e1f1a543c37826b5555bb85c699c36f209236b7
Author: Brian Demers <bd...@apache.org>
AuthorDate: Tue Jan 23 20:01:03 2024 -0500
Draft: Hacking on ideas for logo colors
The current implementation of this is ugly and probably not great for long term maintenance
For now, it's an easy way to talk test out the logo colors
---
layouts/shortcodes/tree-logo.html | 161 ++++++++++++++++++++++++++++++++++
source/logos.md | 180 ++++++++++++++++++++++++++++++++++++++
static/images/directory-2.svg | 155 ++++++++++++++++++++++++++++++++
3 files changed, 496 insertions(+)
diff --git a/layouts/shortcodes/tree-logo.html b/layouts/shortcodes/tree-logo.html
new file mode 100644
index 00000000..6980d3ba
--- /dev/null
+++ b/layouts/shortcodes/tree-logo.html
@@ -0,0 +1,161 @@
+{{ $style := printf "%s" (.Get "style") }}
+{{ $width := "109.21822mm" }}
+{{ if .Get "width" }}
+ {{ $width = printf "%s" (.Get "width") }}
+{{ end }}
+{{ $height := "114.41938mm" }}
+{{ if .Get "height" }}
+{{ $height = printf "%s" (.Get "height") }}
+{{ end }}
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="{{ $width }}"
+ height="{{ $height }}"
+ style="{{ $style }}"
+ viewBox="0 0 109.21822 114.41938"
+ version="1.1"
+ inkscape:version="0.92.3 (2405546, 2018-03-11)"
+ sodipodi:docname="directory-2.svg">
+ <defs
+ id="{{ $style }}defs1119">
+ <filter
+ style="color-interpolation-filters:sRGB"
+ inkscape:label="Drop Shadow"
+ id="{{ $style }}filter1084">
+ <feFlood
+ flood-opacity="0.498039"
+ flood-color="rgb(0,0,0)"
+ result="flood"
+ id="{{ $style }}feFlood1074" />
+ <feComposite
+ in="flood"
+ in2="SourceGraphic"
+ operator="in"
+ result="composite1"
+ id="{{ $style }}feComposite1076" />
+ <feGaussianBlur
+ in="composite1"
+ stdDeviation="1.1"
+ result="blur"
+ id="{{ $style }}feGaussianBlur1078" />
+ <feOffset
+ dx="1.2"
+ dy="1.4107"
+ result="offset"
+ id="{{ $style }}feOffset1080" />
+ <feComposite
+ in="SourceGraphic"
+ in2="offset"
+ operator="over"
+ result="composite2"
+ id="{{ $style }}feComposite1082" />
+ </filter>
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#{{ $style }}linearGradient963"
+ id="{{ $style }}radialGradient965"
+ cx="94.218964"
+ cy="46.697685"
+ fx="94.218964"
+ fy="46.697685"
+ r="53.495926"
+ gradientTransform="matrix(2.0799462,1.488687,-1.3163524,1.8391655,-505.9858,-27.017795)"
+ gradientUnits="userSpaceOnUse" />
+ <linearGradient
+ inkscape:collect="always"
+ id="{{ $style }}linearGradient963">
+ <stop
+ style="stop-color:#ffffff;stop-opacity:1"
+ offset="0"
+ id="{{ $style }}stop959" />
+ <stop
+ style="stop-color:var(--color-logo);stop-opacity:0;"
+ offset="1"
+ id="{{ $style }}stop961" />
+ </linearGradient>
+ <linearGradient
+ gradientTransform="matrix(0.26458333,0,0,0.26458333,-250.70068,130.32079)"
+ inkscape:collect="always"
+ xlink:href="#{{ $style }}linearGradient1090"
+ id="{{ $style }}linearGradient1092"
+ x1="-476.87347"
+ y1="597.25415"
+ x2="-137.30035"
+ y2="211.37589"
+ gradientUnits="userSpaceOnUse" />
+ <linearGradient
+ inkscape:collect="always"
+ id="{{ $style }}linearGradient1090">
+ <stop
+ style="stop-color:var(--color-logo);stop-opacity:0.99607843"
+ offset="0"
+ id="{{ $style }}stop1086" />
+ <stop
+ style="stop-color:var(--color-logo);stop-opacity:1"
+ offset="1"
+ id="{{ $style }}stop1088" />
+ </linearGradient>
+ </defs>
+ <sodipodi:namedview
+ id="{{ $style }}base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="0.35"
+ inkscape:cx="1010.6824"
+ inkscape:cy="536.22575"
+ inkscape:document-units="mm"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ fit-margin-top="0"
+ fit-margin-left="0"
+ fit-margin-right="0"
+ fit-margin-bottom="0"
+ inkscape:window-width="3726"
+ inkscape:window-height="2049"
+ inkscape:window-x="114"
+ inkscape:window-y="55"
+ inkscape:window-maximized="1" />
+ <metadata
+ id="{{ $style }}metadata1122">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="{{ $style }}layer1"
+ transform="translate(387.22816,-176.29035)">
+ <path
+ inkscape:connector-curvature="0"
+ style="fill:url(#{{ $style }}linearGradient1092);fill-opacity:1;fill-rule:evenodd;stroke:var(--color-border);stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ d="m -375.73387,182.24372 c 0,0 -9.1922,0.80144 -9.1922,10.15493 v 97.81108 h 96.75895 c 0,0 9.19168,-0.80144 9.19168,-10.15493 v -97.81108 z"
+ id="{{ $style }}path911-6" />
+ <path
+ style="fill:url(#{{ $style }}radialGradient965);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ d="m -375.73387,182.24372 c 0,0 -9.1922,0.80144 -9.1922,10.15493 v 97.81108 c 0,0 7.27249,-49.97369 54.31193,-49.97369 47.03944,0 51.6387,-57.99232 51.6387,-57.99232 z"
+ id="{{ $style }}path911-6-7"
+ inkscape:connector-curvature="0" />
+ <path
+ style="fill:#ffffff;fill-opacity:1;stroke-width:0.51762187;filter:url(#{{ $style }}filter1084)"
+ d="m -333.32006,279.34882 h -6.6619 l 1.04112,-2.71751 1.04112,-2.71751 0.0738,-6.48953 0.0738,-6.48951 -0.91776,-1.40422 -0.91777,-1.40421 h -1.04901 -1.04902 l -1.39776,0.72725 -1.39775,0.72725 -1.2385,1.3258 -1.23849,1.32578 -1.20406,1.95853 -1.20405,1.95852 -0.0162,-0.52528 -0.0162,-0.52529 1.01815,-1.89965 1.01815,-1.89965 -1.14756,-0.16318 -1.14757,-0.16316 4.54973,-2.18589 4.54972,-2.18589 -0.75067,-1.43747 -0.75066,-1.43745 -1.60241,-2.1999 -1.60241,-2.19989 h -0. [...]
+ id="{{ $style }}path16017-5"
+ inkscape:connector-curvature="0" />
+ </g>
+</svg>
\ No newline at end of file
diff --git a/source/logos.md b/source/logos.md
new file mode 100644
index 00000000..90f437d0
--- /dev/null
+++ b/source/logos.md
@@ -0,0 +1,180 @@
+# Sub-Project Logos and Colors
+
+<STYLE type="text/css">
+ .color {
+ height: 1em;
+ width: 1em;
+ margin-top: 0.2em;
+ margin-right: 0.5em;
+ float: left;
+ }
+</STYLE>
+
+> **NOTE:** Each logo has two colors, the primary (listed first) and a slightly darker secondary
+> color (listed second), used for boarders.
+> This secondary color can be created by making the primary color [~35% darker](https://mdigi.tools/darken-color/).
+
+---
+## ApacheDS
+
+<STYLE type="text/css">
+ .apacheds-logo {
+ --color-logo: #2e9b2c;
+ --color-border: #1e651d;
+ }
+</STYLE>
+
+<div class="apacheds-logo">
+ {{< tree-logo style="apacheds-logo" width="5em" height="5em" >}}
+</div>
+<img src="images/directory-2.svg" width="60px" height="60px">(official logo)<br/>
+<img src="images/server-icon_128x128.png" width="60px" height="60px"><br/>
+<img src="images/download-badge-apacheds.gif" height="100px"><br/>
+
+Color Hex:
+- `#196e0b` <div class="color" style="background-color: #196e0b" />
+
+Logo Color Hex:
+ - `#2e9b2c` <div class="color" style="background-color: #2e9b2c" />
+ - `#1e651d` <div class="color" style="background-color: #1e651d" />
+
+**NOTE:** Original colors from source SVG:
+- `#0e9925` <div class="color" style="background-color: #0e9925" />
+- `#1b9b33` <div class="color" style="background-color: #1b9b33" />
+- `#078723` <div class="color" style="background-color: #078723" />
+- `#055817` <div class="color" style="background-color: #055817" />
+
+These have been simplified to the two colors above.
+
+---
+## Directory Studio
+
+<STYLE type="text/css">
+ .studio-logo {
+ --color-logo: #2d67ad;
+ --color-border: #1d4370;
+ }
+</STYLE>
+
+<div class="studio-logo">
+ {{< tree-logo style="studio-logo" width="5em" height="5em" >}}
+</div>
+<img src="images/studio-icon_128x128.png" width="60px" height="60px"><br/>
+<img src="images/download-badge-studio.gif" height="100px"><br/>
+
+Color Hex:
+- `#2c7a95` <div class="color" style="background-color: #2c7a95" />
+
+Logo Color Hex:
+- `#2d67ad` <div class="color" style="background-color: #2d67ad" />
+- `#1d4370` <div class="color" style="background-color: #1d4370" />
+
+---
+## LDAP API
+
+<STYLE type="text/css">
+ .api-logo {
+ --color-logo: #77540C;
+ --color-border: #4d3708;
+ }
+</STYLE>
+
+<div class="api-logo">
+ {{< tree-logo style="api-logo" width="5em" height="5em" >}}
+</div>
+<img src="images/api-icon_16x16.png" width="60px" height="60px"><br/>
+<img src="images/download-badge-ldap-api.gif" height="100px"><br/>
+
+Color Hex:
+- `#77540C` <div class="color" style="background-color: #77540C" />
+
+Logo Color Hex:
+- `#77540C` <div class="color" style="background-color: #77540C" />
+- `#4d3708` <div class="color" style="background-color: #4d3708" />
+
+---
+## Mavibot
+
+<STYLE type="text/css">
+ .mavibot-logo {
+ --color-logo: #309090;
+ --color-border: #1f5e5e;
+ }
+</STYLE>
+
+<div class="mavibot-logo">
+ {{< tree-logo style="mavibot-logo" width="5em" height="5em" >}}
+</div>
+<img src="images/mavibot-icon_16x16.png" width="60px" height="60px"><br/>
+<img src="images/download-badge-mavibot.gif" height="100px"><br/>
+
+Color Hex:
+- `#309090` <div class="color" style="background-color: #309090" />
+
+Logo Color Hex:
+- `#309090` <div class="color" style="background-color: #309090" />
+- `#1f5e5e` <div class="color" style="background-color: #1f5e5e" />
+
+---
+## Fortress
+
+<STYLE type="text/css">
+ .fortress-logo {
+ --color-logo: #c92c2c;
+ --color-border: #831d1d;
+ }
+</STYLE>
+
+<div class="fortress-logo">
+ {{< tree-logo style="fortress-logo" width="5em" height="5em" >}}
+</div>
+
+Color Hex:
+- `#c92c2c` <div class="color" style="background-color: #c92c2c" />
+
+Logo Color Hex:
+- `#c92c2c` <div class="color" style="background-color: #c92c2c" />
+- `#831d1d` <div class="color" style="background-color: #831d1d" />
+
+---
+## SCIMple
+
+<STYLE type="text/css">
+ .scimple-logo {
+ --color-logo: #6682ad;
+ --color-border: #3e5474;
+ }
+</STYLE>
+
+<div class="scimple-logo">
+ {{< tree-logo style="scimple-logo" width="5em" height="5em" >}}
+</div>
+
+Color Hex:
+- `#6682ad` <div class="color" style="background-color: #6682ad" />
+
+Logo Color Hex:
+- `#6682ad` <div class="color" style="background-color: #6682ad" />
+- `#3e5474` <div class="color" style="background-color: #3e5474" />
+
+---
+## Kerby
+
+<STYLE type="text/css">
+ .kerby-logo {
+ --color-logo: #fa9a39;
+ --color-border: #c36405;
+ }
+</STYLE>
+
+<div class="kerby-logo">
+ {{< tree-logo style="kerby-logo" width="5em" height="5em" >}}
+</div>
+<img src="images/download-badge-kerby.gif" height="100px"><br/>
+
+Color Hex:
+- `#FF7F00` <div class="color" style="background-color: #FF7F00" />
+
+Logo Color Hex:
+- `#fa9a39` <div class="color" style="background-color: #fa9a39" />
+- `#c36405` <div class="color" style="background-color: #c36405" />
\ No newline at end of file
diff --git a/static/images/directory-2.svg b/static/images/directory-2.svg
new file mode 100644
index 00000000..57081ca3
--- /dev/null
+++ b/static/images/directory-2.svg
@@ -0,0 +1,155 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="109.21822mm"
+ height="114.41938mm"
+ viewBox="0 0 109.21822 114.41938"
+ version="1.1"
+ id="svg1125"
+ inkscape:version="0.92.3 (2405546, 2018-03-11)"
+ sodipodi:docname="directory-2.svg">
+ <defs
+ id="defs1119">
+ <filter
+ style="color-interpolation-filters:sRGB"
+ inkscape:label="Drop Shadow"
+ id="filter1084">
+ <feFlood
+ flood-opacity="0.498039"
+ flood-color="rgb(0,0,0)"
+ result="flood"
+ id="feFlood1074" />
+ <feComposite
+ in="flood"
+ in2="SourceGraphic"
+ operator="in"
+ result="composite1"
+ id="feComposite1076" />
+ <feGaussianBlur
+ in="composite1"
+ stdDeviation="1.1"
+ result="blur"
+ id="feGaussianBlur1078" />
+ <feOffset
+ dx="1.2"
+ dy="1.4107"
+ result="offset"
+ id="feOffset1080" />
+ <feComposite
+ in="SourceGraphic"
+ in2="offset"
+ operator="over"
+ result="composite2"
+ id="feComposite1082" />
+ </filter>
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient963"
+ id="radialGradient965"
+ cx="94.218964"
+ cy="46.697685"
+ fx="94.218964"
+ fy="46.697685"
+ r="53.495926"
+ gradientTransform="matrix(2.0799462,1.488687,-1.3163524,1.8391655,-505.9858,-27.017795)"
+ gradientUnits="userSpaceOnUse" />
+ <linearGradient
+ inkscape:collect="always"
+ id="linearGradient963">
+ <stop
+ style="stop-color:#ffffff;stop-opacity:1"
+ offset="0"
+ id="stop959" />
+ <stop
+ style="stop-color:#078723;stop-opacity:0;"
+ offset="1"
+ id="stop961" />
+ </linearGradient>
+ <linearGradient
+ gradientTransform="matrix(0.26458333,0,0,0.26458333,-250.70068,130.32079)"
+ inkscape:collect="always"
+ xlink:href="#linearGradient1090"
+ id="linearGradient1092"
+ x1="-476.87347"
+ y1="597.25415"
+ x2="-137.30035"
+ y2="211.37589"
+ gradientUnits="userSpaceOnUse" />
+ <linearGradient
+ inkscape:collect="always"
+ id="linearGradient1090">
+ <stop
+ style="stop-color:#0e9925;stop-opacity:0.99607843"
+ offset="0"
+ id="stop1086" />
+ <stop
+ style="stop-color:#1b9b33;stop-opacity:1"
+ offset="1"
+ id="stop1088" />
+ </linearGradient>
+ </defs>
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="0.35"
+ inkscape:cx="1010.6824"
+ inkscape:cy="536.22575"
+ inkscape:document-units="mm"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ fit-margin-top="0"
+ fit-margin-left="0"
+ fit-margin-right="0"
+ fit-margin-bottom="0"
+ inkscape:window-width="3726"
+ inkscape:window-height="2049"
+ inkscape:window-x="114"
+ inkscape:window-y="55"
+ inkscape:window-maximized="1" />
+ <metadata
+ id="metadata1122">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(387.22816,-176.29035)">
+ <path
+ inkscape:connector-curvature="0"
+ style="fill:url(#linearGradient1092);fill-opacity:1;fill-rule:evenodd;stroke:#058221;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ d="m -375.73387,182.24372 c 0,0 -9.1922,0.80144 -9.1922,10.15493 v 97.81108 h 96.75895 c 0,0 9.19168,-0.80144 9.19168,-10.15493 v -97.81108 z"
+ id="path911-6" />
+ <path
+ style="fill:url(#radialGradient965);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ d="m -375.73387,182.24372 c 0,0 -9.1922,0.80144 -9.1922,10.15493 v 97.81108 c 0,0 7.27249,-49.97369 54.31193,-49.97369 47.03944,0 51.6387,-57.99232 51.6387,-57.99232 z"
+ id="path911-6-7"
+ inkscape:connector-curvature="0" />
+ <path
+ style="fill:#ffffff;fill-opacity:1;stroke-width:0.51762187;filter:url(#filter1084)"
+ d="m -333.32006,279.34882 h -6.6619 l 1.04112,-2.71751 1.04112,-2.71751 0.0738,-6.48953 0.0738,-6.48951 -0.91776,-1.40422 -0.91777,-1.40421 h -1.04901 -1.04902 l -1.39776,0.72725 -1.39775,0.72725 -1.2385,1.3258 -1.23849,1.32578 -1.20406,1.95853 -1.20405,1.95852 -0.0162,-0.52528 -0.0162,-0.52529 1.01815,-1.89965 1.01815,-1.89965 -1.14756,-0.16318 -1.14757,-0.16316 4.54973,-2.18589 4.54972,-2.18589 -0.75067,-1.43747 -0.75066,-1.43745 -1.60241,-2.1999 -1.60241,-2.19989 h -0.99229 -0. [...]
+ id="path16017-5"
+ inkscape:connector-curvature="0" />
+ </g>
+</svg>