summaryrefslogtreecommitdiff
path: root/design
diff options
context:
space:
mode:
authorAlexis Hovorka <[email protected]>2024-02-16 23:48:02 -0700
committerAlexis Hovorka <[email protected]>2024-02-16 23:48:02 -0700
commitc5aa364e0e372d0e29063a27bd17811446db8b6a (patch)
tree5c5b10471f7356b66b74277071e61e5e0447edc5 /design
parent773e7f747fa096031be427b22257137cf894d587 (diff)
[feat] Flesh out basic UI
Diffstat (limited to 'design')
-rw-r--r--design/cards.html37
-rw-r--r--design/icons.svg68
-rw-r--r--design/logo-icon.svg96
3 files changed, 181 insertions, 20 deletions
diff --git a/design/cards.html b/design/cards.html
index d6d2a7c..d2f3ad4 100644
--- a/design/cards.html
+++ b/design/cards.html
@@ -111,6 +111,37 @@
.card:has(img:last-child) {
padding-bottom: 0;
}
+
+ code {
+ margin: 0 -2px;
+ padding: 2px 4px;
+ font: 14px/1.3em "Hack", monospace;
+ white-space: nowrap;
+ background: rgba(0,0,0,.05);
+ border-radius: 4px;
+ letter-spacing: 0;
+ }
+ .gfm-color_chip {
+ display: inline-block;
+ line-height: 1;
+ margin: 0 0 2px 4px;
+ vertical-align: middle;
+ border-radius: 3px;
+ width: 0.9em;
+ height: 0.9em;
+ background: #fff;
+ background-image: linear-gradient(135deg, #ded6ee 25%, transparent 0%, transparent 75%, #ded6ee 0%),linear-gradient(135deg, #ded6ee 25%, transparent 0%, transparent 75%, #ded6ee 0%);
+ background-size: 1em 1em;
+ background-position: 0 0, 0.5em 0.5em;
+ }
+ .gfm-color_chip>span {
+ display: inline-block;
+ width: 100%;
+ height: 100%;
+ margin-bottom: 2px;
+ border-radius: 3px;
+ border: 1px solid rgba(31,30,36,0.24);
+ }
</style>
</head>
<body>
@@ -122,12 +153,12 @@
</h3>
<h2>Example Note</h2>
<p>Meh <strong>bold</strong> <em>italic</em> meh whatever <del>lorem</del> ipsum dolor sit amet adispicing elit</p>
- <p><span style="color:#1565C0">Foobar</span> <span style="color:#b00020">lipsum</span> <span style="background:#feefc3">yeet</span></p>
- <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p>
+ <p><span style="color:#1565C0">Foobar</span> <span style="color:#b00020">lipsum</span> <span style="background:#feefc3">yeet</span> <code>uwu</code></p>
+ <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Call the <code>load()</code> function. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p>
<pre>function test() {
return 42;
}</pre>
- <p>It has <em>survived</em> not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
+ <p>It has <em>survived</em> not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. <code>RGBA(0,255,0,0.3)<span class="gfm-color_chip"><span style="background-color: RGBA(0,255,0,0.3);"></span></span></code></p>
<div class="tags"><span class="tag">#hash</span> <span class="tag">#tag</span>
<i class="material-icons-round">more_vert</i>
</div>
diff --git a/design/icons.svg b/design/icons.svg
index 563df7f..1526d57 100644
--- a/design/icons.svg
+++ b/design/icons.svg
@@ -1,19 +1,19 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="96"
- height="48"
- viewBox="0 0 25.399999 12.7"
+ height="72"
+ viewBox="0 0 25.399999 19.05"
version="1.1"
id="svg1041"
sodipodi:docname="icons.svg"
- inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07, custom)">
+ inkscape:version="1.3.2 (091e20e, 2023-11-25, custom)"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:dc="http://purl.org/dc/elements/1.1/">
<defs
id="defs1035" />
<sodipodi:namedview
@@ -27,7 +27,7 @@
inkscape:cx="48"
inkscape:cy="24"
inkscape:document-units="mm"
- inkscape:current-layer="g3200"
+ inkscape:current-layer="g1110"
inkscape:document-rotation="0"
showgrid="false"
fit-margin-top="0"
@@ -37,7 +37,14 @@
units="px"
showguides="true"
inkscape:guide-bbox="true"
- inkscape:pagecheckerboard="true" />
+ inkscape:pagecheckerboard="true"
+ inkscape:showpageshadow="2"
+ inkscape:deskcolor="#d1d1d1"
+ inkscape:window-width="1368"
+ inkscape:window-height="890"
+ inkscape:window-x="-6"
+ inkscape:window-y="-6"
+ inkscape:window-maximized="1" />
<metadata
id="metadata1038">
<rdf:RDF>
@@ -46,7 +53,6 @@
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
@@ -72,7 +78,7 @@
style="stroke-width:4" />
<path
id="path946"
- style="fill:#1ab21a;stroke-width:2;fill-opacity:1"
+ style="fill:#1ab21a;fill-opacity:1;stroke-width:2"
d="m 7.3331298,6.0005772 h 9.3331632 c 0.733313,0 1.333419,0.5993013 1.333419,1.3326144 v 9.3331524 c 0,0.733319 -0.600106,1.333424 -1.333419,1.333424 H 7.3331298 c -0.7333131,0 -1.3334182,-0.600105 -1.3334182,-1.333424 V 7.3331916 c 0,-0.7333131 0.6001051,-1.3326144 1.3334182,-1.3326144 z M 5.0002,3.000172 c -1.1,0 -2,0.9 -2,2 v 14 c 0,1.1 0.9,2 2,2 h 14 c 1.1,0 2,-0.9 2,-2 v -14 c 0,-1.1 -0.9,-2 -2,-2 z" />
</g>
</g>
@@ -89,7 +95,7 @@
d="M 15.824121,13.675879 14.71,14 14.43,13.73 c 1.2,-1.4 1.82,-3.31 1.48,-5.34 -0.47,-2.78 -2.79,-5 -5.59,-5.34 -4.23,-0.52 -7.79,3.04 -7.27,7.27 0.34,2.8 2.56,5.12 5.34,5.59 2.03,0.34 3.94,-0.28 5.34,-1.48 l 0.27,0.28 -0.324121,1.114121 4.905161,4.905839 c 0.410071,0.410128 1.224774,0.265226 1.81196,-0.32196 0.587186,-0.587186 0.73196,-1.40196 0.32196,-1.81196 z M 9.5,12.989033 c -1.9305983,0 -3.489033,-1.558435 -3.489033,-3.489033 0,-1.9305983 1.5584347,-3.489033 3.489033,-3.489033 1.930598,0 3.489033,1.5584347 3.489033,3.489033 0,1.930598 -1.558435,3.489033 -3.489033,3.489033 z"
id="path971"
sodipodi:nodetypes="ccccccccccssccsssss"
- style="fill:#1565c0;stroke-width:2;fill-opacity:1" />
+ style="fill:#1565c0;fill-opacity:1;stroke-width:2" />
</g>
<g
style="fill:#000000;stroke-width:2"
@@ -105,7 +111,7 @@
style="opacity:1">
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-variant-east-asian:normal;font-feature-settings:normal;font-variation-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;shape-margin:0;inline-size:0;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#fcc11c;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate;stop-color:#000000;stop-opacity:1"
- d="M 12 3 C 10.904545 3 10 3.9045455 10 5 L 10 10 L 5 10 C 3.9045455 10 3 10.904545 3 12 C 3 13.095455 3.9045455 14 5 14 L 10 14 L 10 19 C 10 20.095455 10.904545 21 12 21 C 13.095455 21 14 20.095455 14 19 L 14 14 L 19 14 C 20.095455 14 21 13.095455 21 12 C 21 10.904545 20.095455 10 19 10 L 14 10 L 14 5 C 14 3.9045455 13.095455 3 12 3 z "
+ d="m 12,3 c -1.095455,0 -2,0.9045455 -2,2 v 5 H 5 c -1.0954545,0 -2,0.904545 -2,2 0,1.095455 0.9045455,2 2,2 h 5 v 5 c 0,1.095455 0.904545,2 2,2 1.095455,0 2,-0.904545 2,-2 v -5 h 5 c 1.095455,0 2,-0.904545 2,-2 0,-1.095455 -0.904545,-2 -2,-2 H 14 V 5 C 14,3.9045455 13.095455,3 12,3 Z"
id="path3204" />
</g>
</g>
@@ -187,7 +193,35 @@
</g>
<path
id="rect2982-1"
- style="fill:#ffffff;stroke:none;stroke-width:0.264999;stroke-linecap:round;stroke-linejoin:round;fill-opacity:1"
+ style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.264999;stroke-linecap:round;stroke-linejoin:round"
d="m 12.19571,179.65208 a 0.52916669,0.52916716 0 0 0 -0.516248,0.52917 0.52916669,0.52916716 0 0 0 0.529167,0.52916 h 3.704166 a 0.52916621,0.52916716 0 0 0 0.529167,-0.52916 0.52916621,0.52916716 0 0 0 -0.529167,-0.52917 h -0.01292 -3.691247 a 0.52916669,0.52916716 0 0 0 -0.01292,0 z m 0,1.85208 a 0.52916669,0.52916716 0 0 0 -0.516248,0.52917 0.52916669,0.52916716 0 0 0 0.529167,0.52917 h 3.704166 a 0.52916621,0.52916716 0 0 0 0.529167,-0.52917 0.52916621,0.52916716 0 0 0 -0.529167,-0.52917 h -3.704166 a 0.52916669,0.52916716 0 0 0 -0.01292,0 z m 0,1.85209 a 0.52916669,0.52916716 0 0 0 -0.516248,0.52916 0.52916669,0.52916716 0 0 0 0.529167,0.52917 h 3.704166 a 0.52916621,0.52916716 0 0 0 0.529167,-0.52917 0.52916621,0.52916716 0 0 0 -0.529167,-0.52916 h -3.704166 a 0.52916669,0.52916716 0 0 0 -0.01292,0 z" />
+ <g
+ style="fill:#000000;stroke-width:2"
+ id="g1110"
+ transform="matrix(0.26458333,0,0,0.26458333,10.885714,191.55833)">
+ <path
+ d="M 0,0 H 24 V 24 H 0 Z"
+ fill="none"
+ id="path1096"
+ style="stroke-width:2" />
+ <path
+ d="M 19,3 H 5 C 3.9,3 3,3.9 3,5 v 14 c 0,1.1 0.9,2 2,2 h 14 c 1.1,0 2,-0.9 2,-2 V 5 C 21,3.9 20.1,3 19,3 Z m -8.29,13.29 c -0.39,0.39 -1.02,0.39 -1.41,0 L 5.71,12.7 c -0.39,-0.39 -0.39,-1.02 0,-1.41 0.39,-0.39 1.02,-0.39 1.41,0 L 10,14.17 16.88,7.29 c 0.39,-0.39 1.02,-0.39 1.41,0 0.39,0.39 0.39,1.02 0,1.41 z"
+ id="path1098"
+ style="stroke-width:2;fill:#1565c0;fill-opacity:1" />
+ </g>
+ <g
+ style="fill:#000000;stroke-width:2"
+ id="g1126"
+ transform="matrix(0.26458333,0,0,0.26458333,17.235714,191.55833)">
+ <path
+ d="M 0,0 H 24 V 24 H 0 Z"
+ fill="none"
+ id="path1112"
+ style="stroke-width:2" />
+ <path
+ d="M 18,19 H 6 C 5.45,19 5,18.55 5,18 V 6 C 5,5.45 5.45,5 6,5 h 12 c 0.55,0 1,0.45 1,1 v 12 c 0,0.55 -0.45,1 -1,1 z M 19,3 H 5 C 3.9,3 3,3.9 3,5 v 14 c 0,1.1 0.9,2 2,2 h 14 c 1.1,0 2,-0.9 2,-2 V 5 C 21,3.9 20.1,3 19,3 Z"
+ id="path1114"
+ style="stroke-width:2;fill:#ff0000" />
+ </g>
</g>
</svg>
diff --git a/design/logo-icon.svg b/design/logo-icon.svg
new file mode 100644
index 0000000..d66678f
--- /dev/null
+++ b/design/logo-icon.svg
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ width="96"
+ height="96"
+ viewBox="0 0 25.4 25.4"
+ version="1.1"
+ id="svg1753"
+ inkscape:version="1.3.2 (091e20e, 2023-11-25, custom)"
+ sodipodi:docname="logo-icon.svg"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:dc="http://purl.org/dc/elements/1.1/">
+ <defs
+ id="defs1747" />
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="6.2441455"
+ inkscape:cx="123.67585"
+ inkscape:cy="47.999999"
+ inkscape:document-units="mm"
+ inkscape:current-layer="text902"
+ inkscape:document-rotation="0"
+ showgrid="false"
+ units="px"
+ fit-margin-top="0"
+ fit-margin-left="0"
+ fit-margin-right="0"
+ fit-margin-bottom="0"
+ inkscape:showpageshadow="2"
+ inkscape:pagecheckerboard="0"
+ inkscape:deskcolor="#d1d1d1"
+ inkscape:window-width="1368"
+ inkscape:window-height="890"
+ inkscape:window-x="-6"
+ inkscape:window-y="-6"
+ inkscape:window-maximized="1" />
+ <metadata
+ id="metadata1750">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(645.044,-144.5381)">
+ <rect
+ style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.264999;stroke-linecap:round;stroke-linejoin:round"
+ id="rect2383"
+ width="16.933332"
+ height="16.933332"
+ x="-640.81067"
+ y="148.77144" />
+ <g
+ style="fill:#000000;stroke-width:0.5"
+ id="g898"
+ transform="matrix(1.0583333,0,0,1.0583333,-645.044,144.5381)">
+ <g
+ id="g896"
+ style="stroke-width:0.5">
+ <rect
+ fill="none"
+ height="24"
+ width="24"
+ id="rect892"
+ x="0"
+ y="0"
+ style="stroke-width:0.25" />
+ <path
+ d="M 19,3 H 5 C 3.9,3 3,3.9 3,5 v 14 c 0,1.1 0.9,2 2,2 h 14 c 1.1,0 2,-0.9 2,-2 V 5 C 21,3.9 20.1,3 19,3 Z M 13,17 H 8 C 7.45,17 7,16.55 7,16 7,15.45 7.45,15 8,15 h 5 c 0.55,0 1,0.45 1,1 0,0.55 -0.45,1 -1,1 z m 3,-4 H 8 C 7.45,13 7,12.55 7,12 7,11.45 7.45,11 8,11 h 8 c 0.55,0 1,0.45 1,1 0,0.55 -0.45,1 -1,1 z M 16,9 H 8 C 7.45,9 7,8.55 7,8 7,7.45 7.45,7 8,7 h 8 c 0.55,0 1,0.45 1,1 0,0.55 -0.45,1 -1,1 z"
+ id="path894"
+ style="fill:#fbbc04;fill-opacity:1;stroke-width:0.5" />
+ </g>
+ </g>
+ <g
+ aria-label="Notes"
+ id="text902"
+ style="font-style:normal;font-variant:normal;font-weight:500;font-stretch:normal;font-size:14.9352px;line-height:1.25;font-family:Roboto;-inkscape-font-specification:'Roboto, Medium';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:0.87;stroke:none;stroke-width:0.264583"
+ transform="translate(-0.91684937)" />
+ </g>
+</svg>