docs(cli): 📝 cli/colors readme (initial)

This commit is contained in:
Lucas Colombo 2024-03-30 16:39:24 -03:00
parent d55d31e3b3
commit f9f1d9dd29
Signed by: lucas
GPG Key ID: EF34786CFEFFAE35
4 changed files with 41 additions and 2 deletions

View File

@ -1,4 +1,7 @@
# https://github.com/lucas-labs/coco config
askScope: false
useEmoji: true
useEmoji: true
scopes:
- ""
- "cli"

24
.github/img/logo-cli-colors.svg vendored Normal file
View File

@ -0,0 +1,24 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 142 117.51953">
<style>
.a { fill: #000000; }
@media (prefers-color-scheme: dark) {
.a { fill: #ffffff; }
}
</style>
<defs>
<linearGradient id="a" x1="6.15848" y1="103.88477" x2="135.84153" y2="103.88477"
gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="aqua" />
<stop offset="0.51117" stop-color="#e1e1e1" />
<stop offset="1" stop-color="#ff65ff" />
</linearGradient>
</defs>
<g class="a">
<path d="M0,0H20.42877V61.64158h4.66951v1.51648H.33347V61.64158H4.91962V1.516H0Z" />
<path d="M32.68564,58.6096q-5.33718-5.38647-5.33645-15.4526,0-10.06074,5.7116-15.49373,5.71017-5.432,16.051-5.432,10.33773,0,15.42578,5.01055Q69.6225,32.25308,69.624,42.52651,69.624,63.999,48.44489,64,38.02064,64,32.68564,58.6096Zm20.929-12.04176V39.41033a57.795,57.795,0,0,0-.87584-11.916q-.87535-3.74541-4.04378-3.74714a4.16126,4.16126,0,0,0-2.96,1.05243,6.48774,6.48774,0,0,0-1.62614,3.495,64.70363,64.70363,0,0,0-.7503,11.5366v6.56814q0,9.18111.54189,11.03143a18.94064,18.94064,0,0,0,1.12545,3.032,3.5489,3.5489,0,0,0,3.58575,2.02164q3.252,0,4.25219-3.79071.751-2.69316.75075-12.12588Z" />
<path d="M77.96259,58.6096q-5.3379-5.38647-5.33741-15.45262,0-10.06074,5.7116-15.49373,5.71161-5.432,16.051-5.432,10.33846,0,15.42675,5.01055,5.08344,5.01129,5.08538,15.28472,0,21.47249-21.179,21.47348Q83.29808,64,77.96259,58.6096Zm20.929-12.04176V39.41033a57.82029,57.82029,0,0,0-.87632-11.916q-.87535-3.74541-4.04427-3.74714a4.16,4.16,0,0,0-2.95952,1.05243,6.48425,6.48425,0,0,0-1.62566,3.495,64.70363,64.70363,0,0,0-.7503,11.5366v6.56814q0,9.18111.54092,11.03143a18.93371,18.93371,0,0,0,1.12642,3.032,3.54712,3.54712,0,0,0,3.58477,2.02164q3.25275,0,4.25268-3.79071.7517-2.69316.75125-12.12588Z" />
<path d="M116.90172,0h20.42875V61.64158H142v1.51648H117.23518V61.64158h4.58615V1.516h-4.9196Z" />
</g>
<path d="M12.70731,105.19824a5.33387,5.33387,0,0,0,0,4.88379,4.53318,4.53318,0,0,0,1.60938,1.70215,4.30092,4.30092,0,0,0,2.3125.62891,5.0819,5.0819,0,0,0,2.73828-.75782,4.93963,4.93963,0,0,0,1.8501-2.0166l4.51367,3.293a9.6352,9.6352,0,0,1-3.73682,3.33008,11.47706,11.47706,0,0,1-5.40185,1.25781,10.79029,10.79029,0,0,1-5.32813-1.31348,9.94376,9.94376,0,0,1-3.7373-3.55175,9.90136,9.90136,0,0,1,0-10.0459,9.995,9.995,0,0,1,3.7373-3.5332,10.79029,10.79029,0,0,1,5.32813-1.31348,11.47706,11.47706,0,0,1,5.40185,1.25781,9.64288,9.64288,0,0,1,3.73682,3.33008l-4.51367,3.293a4.77193,4.77193,0,0,0-1.8501-2.03516,5.18158,5.18158,0,0,0-2.73828-.74023,4.30952,4.30952,0,0,0-2.3125.6289A4.54762,4.54762,0,0,0,12.70731,105.19824Zm34.021-2.58984a10.25771,10.25771,0,0,1,0,10.0459,9.75855,9.75855,0,0,1-8.602,4.86523,9.95915,9.95915,0,0,1-5.10645-1.31348,9.72446,9.72446,0,0,1-4.88379-8.60253,9.61961,9.61961,0,0,1,1.31348-4.99512,10.04922,10.04922,0,0,1,17.27881,0Zm-4.53223,5.03222a5.76508,5.76508,0,0,0-.51806-2.498,4.22247,4.22247,0,0,0-1.44288-1.71973,3.939,3.939,0,0,0-4.27343,0,4.1569,4.1569,0,0,0-1.46143,1.71973,6.27927,6.27927,0,0,0,0,4.99512,4.14753,4.14753,0,0,0,1.46143,1.7207,3.94418,3.94418,0,0,0,4.27343,0,4.21274,4.21274,0,0,0,1.44288-1.7207A5.7577,5.7577,0,0,0,42.19608,107.64062Zm23.82758,4.84668a3.50045,3.50045,0,0,1-2.479-.74023,3.088,3.088,0,0,1-.77685-2.331V90.25H50.18778v4.625h6.58594v15.1709a7.2509,7.2509,0,0,0,2.03515,5.58691q2.03394,1.88671,5.99366,1.88672a12.54887,12.54887,0,0,0,2.55316-.27734,8.523,8.523,0,0,0,1.92383-.57422v-4.84668a9.47259,9.47259,0,0,1-1.68311.51855A8.20209,8.20209,0,0,1,66.02366,112.4873Zm25.104-9.8789a10.25764,10.25764,0,0,1,0,10.0459,9.75855,9.75855,0,0,1-8.60205,4.86523,9.95911,9.95911,0,0,1-5.10644-1.31348,9.7244,9.7244,0,0,1-4.88379-8.60253,9.6197,9.6197,0,0,1,1.31347-4.99512,10.04922,10.04922,0,0,1,17.27881,0Zm-4.53223,5.03222a5.76508,5.76508,0,0,0-.51806-2.498,4.22237,4.22237,0,0,0-1.44287-1.71973,3.939,3.939,0,0,0-4.27344,0,4.157,4.157,0,0,0-1.46143,1.71973,6.27938,6.27938,0,0,0,0,4.99512,4.1476,4.1476,0,0,0,1.46143,1.7207,3.9442,3.9442,0,0,0,4.27344,0,4.21264,4.21264,0,0,0,1.44287-1.7207A5.7577,5.7577,0,0,0,86.59543,107.64062Zm25.45557-9.8789a5.6131,5.6131,0,0,0-3.57031,1.23926,8.98064,8.98064,0,0,0-2.6084,3.86621V98.05762H95.73411v4.625h4.144v9.84179h-4.144v4.625H110.238v-4.625h-4.36572v-6.95605a5.66065,5.66065,0,0,1,2.18262-1.86816,6.45173,6.45173,0,0,1,2.92334-.68458,11.65574,11.65574,0,0,1,1.94238.166,6.46074,6.46074,0,0,1,1.68359.5V98.31641a5.95514,5.95514,0,0,0-1.20263-.44434A6.55952,6.55952,0,0,0,112.051,97.76172ZM135.19407,108.417a5.07047,5.07047,0,0,0-1.73828-1.68261,9.64945,9.64945,0,0,0-2.36817-.999,23.36389,23.36389,0,0,0-2.57226-.55566q-1.29492-.20215-2.38575-.38867a6.55191,6.55191,0,0,1-1.73925-.499.98342.98342,0,0,1-.64746-.90625,1.08591,1.08591,0,0,1,.75878-.98047,5.52637,5.52637,0,0,1,2.23829-.35156,10.32422,10.32422,0,0,1,2.9414.44336,10.88872,10.88872,0,0,1,2.94141,1.40625l2.88574-3.66309a13.8492,13.8492,0,0,0-4.14355-1.92382,16.63532,16.63532,0,0,0-4.47754-.62891,12.43,12.43,0,0,0-4.4209.72168,6.4252,6.4252,0,0,0-2.94141,2.08984,5.47645,5.47645,0,0,0-1.03613,3.4043,4.70481,4.70481,0,0,0,.64746,2.57129,5.04026,5.04026,0,0,0,1.70215,1.64648,9.32847,9.32847,0,0,0,2.33105.98047q1.27589.353,2.53418.57422,1.25684.22119,2.3125.42481a6.4218,6.4218,0,0,1,1.70215.53711,1.0209,1.0209,0,0,1,.64746.9248,1.26877,1.26877,0,0,1-.90625,1.14648,6.68836,6.68836,0,0,1-2.64551.40723,9.68326,9.68326,0,0,1-2.9414-.46191,18.83253,18.83253,0,0,1-3.57129-1.6836l-2.77441,3.84766a13.254,13.254,0,0,0,4.08789,1.97949,17.74847,17.74847,0,0,0,5.16211.72168,12.66628,12.66628,0,0,0,4.60644-.7959,7.7983,7.7983,0,0,0,3.25586-2.23828,5.15535,5.15535,0,0,0,1.20215-3.4043A4.95835,4.95835,0,0,0,135.19407,108.417Z" style="fill:url(#a)" />
<rect y="78" width="142" height="2.25" />
</svg>

After

Width:  |  Height:  |  Size: 5.8 KiB

View File

@ -2,7 +2,7 @@
"files.exclude": {
// config
"Taskfile.yaml": true,
".cocorc": true,
// ".cocorc": true,
".task": true,
".cargo": true,
// "Cargo.toml": true,

12
lib/cli/colors/README.md Normal file
View File

@ -0,0 +1,12 @@
<p align="center"><img src="../../../.github/img/logo-cli-colors.svg" height="192"></p>
<br>
<br>
<br>
<p align="center"><b>lool » <code>cli/colors</code></b> is a set of utilities for colorizing console outputs.
</p>
<br>
<br>
<br>