chamesle

chamesle.org: the site of Chamesle, a small Linux distribution
git clone https://github.com/tortr-rs/chamesle
Log | Files | Refs | README

commit 287a0e0c54f46d5041af2758bdfadc4f0f4f5bf6
parent c27bf9a974b4cd766dde0a3cc8d9f8c34995895b
Author: torter <koubbamohamedrayan@gmail.com>
Date:   Tue, 27 Oct 2026 15:31:51 -0400

new logo: the same ring in 2007 glass, everywhere it shows. light banner on the site and the readme

Diffstat:
MREADME.md | 2+-
Aartwork/banner.png | 0
Martwork/logo.jpeg | 0
Martwork/logo.png | 0
Aartwork/logo.svg | 2++
Aartwork/logo/.gitignore | 2++
Aartwork/logo/export.py | 114+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Ctools/pkg/chamesle-artwork/files/usr/share/chamesle/greeter-logo.png -> artwork/logo/greeter-word.png | 0
Aartwork/logo/make.py | 94+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adocs/img/banner.png | 0
Mdocs/img/logo.png | 0
Mdocs/index.html | 2+-
Mdocs/style.css | 4++++
Moverlay/usr/share/icons/hicolor/128x128/apps/chamesle-start.png | 0
Moverlay/usr/share/icons/hicolor/16x16/apps/chamesle-start.png | 0
Moverlay/usr/share/icons/hicolor/24x24/apps/chamesle-start.png | 0
Moverlay/usr/share/icons/hicolor/256x256/apps/chamesle-start.png | 0
Moverlay/usr/share/icons/hicolor/32x32/apps/chamesle-start.png | 0
Moverlay/usr/share/icons/hicolor/48x48/apps/chamesle-start.png | 0
Moverlay/usr/share/icons/hicolor/64x64/apps/chamesle-start.png | 0
Moverlay/usr/share/live-installer/logo.png | 0
Moverlay/usr/share/live-installer/slideshow/logo.png | 0
Mtools/pkg/chamesle-artwork/files/usr/share/chamesle/greeter-logo.png | 0
Mtools/pkg/chamesle-artwork/files/usr/share/icons/Chamesle/128x128/places/start-here.png | 0
Mtools/pkg/chamesle-artwork/files/usr/share/icons/Chamesle/16x16/places/start-here.png | 0
Mtools/pkg/chamesle-artwork/files/usr/share/icons/Chamesle/22x22/places/start-here.png | 0
Mtools/pkg/chamesle-artwork/files/usr/share/icons/Chamesle/24x24/places/start-here.png | 0
Mtools/pkg/chamesle-artwork/files/usr/share/icons/Chamesle/256x256/places/start-here.png | 0
Mtools/pkg/chamesle-artwork/files/usr/share/icons/Chamesle/32x32/places/start-here.png | 0
Mtools/pkg/chamesle-artwork/files/usr/share/icons/Chamesle/48x48/places/start-here.png | 0
Mtools/pkg/chamesle-artwork/files/usr/share/icons/Chamesle/64x64/places/start-here.png | 0
Mtools/pkg/chamesle-artwork/recipe | 2+-
Mtools/pkg/chamesle-kde/files/usr/share/icons/hicolor/128x128/apps/chamesle-start.png | 0
Mtools/pkg/chamesle-kde/files/usr/share/icons/hicolor/16x16/apps/chamesle-start.png | 0
Mtools/pkg/chamesle-kde/files/usr/share/icons/hicolor/22x22/apps/chamesle-start.png | 0
Mtools/pkg/chamesle-kde/files/usr/share/icons/hicolor/24x24/apps/chamesle-start.png | 0
Mtools/pkg/chamesle-kde/files/usr/share/icons/hicolor/256x256/apps/chamesle-start.png | 0
Mtools/pkg/chamesle-kde/files/usr/share/icons/hicolor/32x32/apps/chamesle-start.png | 0
Mtools/pkg/chamesle-kde/files/usr/share/icons/hicolor/48x48/apps/chamesle-start.png | 0
Mtools/pkg/chamesle-kde/files/usr/share/icons/hicolor/64x64/apps/chamesle-start.png | 0
Mtools/pkg/chamesle-kde/recipe | 2+-
Mtools/pkg/chamesle-plymouth/files/usr/share/plymouth/themes/chamesle/logo.png | 0
Mtools/pkg/chamesle-plymouth/recipe | 2+-
43 files changed, 221 insertions(+), 5 deletions(-)

diff --git a/README.md b/README.md @@ -1,4 +1,4 @@ -# Chamesle Linux +<p align="center"><img src="artwork/banner.png" alt="Chamesle Linux" width="480"></p> *Pronounced /tʃa.mes.le/.* diff --git a/artwork/banner.png b/artwork/banner.png Binary files differ. diff --git a/artwork/logo.jpeg b/artwork/logo.jpeg Binary files differ. diff --git a/artwork/logo.png b/artwork/logo.png Binary files differ. diff --git a/artwork/logo.svg b/artwork/logo.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="-16 -16 544 560" role="img" aria-label="Chamesle logo"><defs><clipPath id="gring"><path d="M58.60 112.58A244 244 0 0 1 453.40 112.58L356.32 183.11A124 124 0 0 0 155.68 183.11Z M478.91 156.76A244 244 0 0 1 281.50 498.66L268.96 379.32A124 124 0 0 0 369.28 205.56Z M230.50 498.66A244 244 0 0 1 33.09 156.76L142.72 205.56A124 124 0 0 0 243.04 379.32Z"/></clipPath><linearGradient id="gshine" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#fff" stop-opacity=".55"/><stop offset="1" stop-color="#fff" stop-opacity=".06"/></linearGradient><filter id="gdrop" x="-20%" y="-20%" width="140%" height="150%"><feGaussianBlur in="SourceAlpha" stdDeviation="10"/><feOffset dy="12"/><feComponentTransfer><feFuncA type="linear" slope=".3"/></feComponentTransfer><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge></filter><linearGradient id="ggreen" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#00a856" stop-opacity=".86"/><stop offset="1" stop-color="#005a2e" stop-opacity=".97"/></linearGradient><linearGradient id="gblue" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#2a12c8" stop-opacity=".86"/><stop offset="1" stop-color="#0c0057" stop-opacity=".97"/></linearGradient><linearGradient id="gred" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#ff3b33" stop-opacity=".86"/><stop offset="1" stop-color="#a50d0d" stop-opacity=".97"/></linearGradient></defs><g filter="url(#gdrop)"><path d="M58.60 112.58A244 244 0 0 1 453.40 112.58L356.32 183.11A124 124 0 0 0 155.68 183.11Z" fill="url(#ggreen)"/><path d="M58.60 112.58A244 244 0 0 1 453.40 112.58L356.32 183.11A124 124 0 0 0 155.68 183.11Z" fill="none" stroke="#6ff0a8" stroke-width="10" stroke-opacity=".7" clip-path="url(#gring)"/><path d="M58.60 112.58A244 244 0 0 1 453.40 112.58L356.32 183.11A124 124 0 0 0 155.68 183.11Z" fill="none" stroke="#fff" stroke-width="2" stroke-opacity=".9"/><path d="M58.60 112.58A244 244 0 0 1 453.40 112.58L356.32 183.11A124 124 0 0 0 155.68 183.11Z" fill="none" stroke="#005a2e" stroke-width="1" stroke-opacity=".8" transform="translate(0 1)"/><path d="M478.91 156.76A244 244 0 0 1 281.50 498.66L268.96 379.32A124 124 0 0 0 369.28 205.56Z" fill="url(#gblue)"/><path d="M478.91 156.76A244 244 0 0 1 281.50 498.66L268.96 379.32A124 124 0 0 0 369.28 205.56Z" fill="none" stroke="#8f80ff" stroke-width="10" stroke-opacity=".7" clip-path="url(#gring)"/><path d="M478.91 156.76A244 244 0 0 1 281.50 498.66L268.96 379.32A124 124 0 0 0 369.28 205.56Z" fill="none" stroke="#fff" stroke-width="2" stroke-opacity=".9"/><path d="M478.91 156.76A244 244 0 0 1 281.50 498.66L268.96 379.32A124 124 0 0 0 369.28 205.56Z" fill="none" stroke="#0c0057" stroke-width="1" stroke-opacity=".8" transform="translate(0 1)"/><path d="M230.50 498.66A244 244 0 0 1 33.09 156.76L142.72 205.56A124 124 0 0 0 243.04 379.32Z" fill="url(#gred)"/><path d="M230.50 498.66A244 244 0 0 1 33.09 156.76L142.72 205.56A124 124 0 0 0 243.04 379.32Z" fill="none" stroke="#ffb0a0" stroke-width="10" stroke-opacity=".7" clip-path="url(#gring)"/><path d="M230.50 498.66A244 244 0 0 1 33.09 156.76L142.72 205.56A124 124 0 0 0 243.04 379.32Z" fill="none" stroke="#fff" stroke-width="2" stroke-opacity=".9"/><path d="M230.50 498.66A244 244 0 0 1 33.09 156.76L142.72 205.56A124 124 0 0 0 243.04 379.32Z" fill="none" stroke="#a50d0d" stroke-width="1" stroke-opacity=".8" transform="translate(0 1)"/><path d="M0 0H512V214Q256 150 0 214Z" fill="url(#gshine)" clip-path="url(#gring)"/></g></svg> +\ No newline at end of file diff --git a/artwork/logo/.gitignore b/artwork/logo/.gitignore @@ -0,0 +1,2 @@ +out/ +fonts/ diff --git a/artwork/logo/export.py b/artwork/logo/export.py @@ -0,0 +1,114 @@ +#!/usr/bin/env python3 +# needs fonts/Nunito.ttf (google fonts, OFL) +# glass logo into every png the repo ships, plus the light banner +import gi, os, importlib.util +gi.require_version('Rsvg', '2.0') +from gi.repository import Rsvg +import cairo +from PIL import Image, ImageFont, ImageDraw, ImageChops + +HERE = os.path.dirname(os.path.abspath(__file__)) +REPO = os.path.join(HERE, '..', '..') +spec = importlib.util.spec_from_file_location('m', os.path.join(HERE, 'make.py')) +m = importlib.util.module_from_spec(spec); spec.loader.exec_module(m) + +# icons: tight box, a shadow only where there is room for one +def svgtext(n): + s = m.svg('glass', n, 'g') + if n <= 32: + s = s.replace(' filter="url(#gdrop)"', '').replace('viewBox="-16 -16 544 560"', 'viewBox="-4 -4 520 520"') + else: + s = s.replace('viewBox="-16 -16 544 560"', 'viewBox="-12 -8 536 544"') + return s + +def png(n, out=None): + h = Rsvg.Handle.new_from_data(svgtext(n).encode()) + s = cairo.ImageSurface(cairo.FORMAT_ARGB32, n, n) + v = Rsvg.Rectangle(); v.x = v.y = 0; v.width = v.height = n + h.render_document(cairo.Context(s), v) + p = os.path.join(HERE, 'out', '%d.png' % n) + s.write_to_png(p) + im = Image.open(p).convert('RGBA') + if out: + im.save(out) + return im + +def font(sz, w): + f = ImageFont.truetype(os.path.join(HERE, 'fonts', 'Nunito.ttf'), sz) + f.set_variation_by_name(w) + return f + +def vgrad(w, h, stops): + g = Image.new('RGBA', (w, h)) + px = g.load() + for y in range(h): + t = y / max(h - 1, 1) + for i in range(len(stops) - 1): + if stops[i][0] <= t <= stops[i + 1][0]: + a, b = stops[i], stops[i + 1] + k = (t - a[0]) / max(b[0] - a[0], 1e-6) + c = tuple(int(a[1][j] + (b[1][j] - a[1][j]) * k) for j in range(3)) + break + for x in range(w): + px[x, y] = c + (255,) + return g + +# ring, "Chamesle" in shiny dark gel letters, LINUX in blue, and the wet floor +def banner(scale=2): + ring = png(116 * scale) + big, sub = font(80 * scale, b'ExtraBold'), font(21 * scale, b'SemiBold') + word = 'Chamesle' + bb = big.getbbox(word) + tw, th = bb[2], bb[3] + mask = Image.new('L', (tw, th)); ImageDraw.Draw(mask).text((0, 0), word, font=big, fill=255) + text = vgrad(tw, th, [(0, (74, 88, 104)), (.52, (28, 38, 50)), (.53, (11, 17, 24)), (1, (44, 56, 70))]) + text.putalpha(mask) + gap = 22 * scale + W = ring.width + gap + tw + 8 * scale + ty = int(ring.height * .12) + H = max(ring.height, ty + th + int(sub.size * 1.5)) + top = Image.new('RGBA', (W, H)) + top.alpha_composite(ring, (0, (H - ring.height) // 2)) + tx = ring.width + gap + top.alpha_composite(text, (tx, ty)) + d = ImageDraw.Draw(top) + x = tx + 4 * scale + for ch in 'LINUX': + d.text((x, ty + th + 2 * scale), ch, font=sub, fill=(61, 142, 224, 255)) + x += sub.getlength(ch) + 6 * scale + fl = 40 * scale + out = Image.new('RGBA', (W, H + fl + 4 * scale)) + out.alpha_composite(top, (0, 0)) + r = top.transpose(Image.FLIP_TOP_BOTTOM).crop((0, 0, W, fl)) + fade = Image.new('L', (W, fl)) + for y in range(fl): + ImageDraw.Draw(fade).line([(0, y), (W, y)], fill=int(55 * (1 - y / fl) ** 2)) + r.putalpha(ImageChops.darker(r.getchannel('A'), fade)) + out.alpha_composite(r, (0, H + 4 * scale)) + return out + +if __name__ == '__main__': + os.makedirs(os.path.join(HERE, 'out'), exist_ok=True) + open(os.path.join(REPO, 'artwork', 'logo.svg'), 'w').write(m.svg('glass', 512, 'g')) + for n in (16, 22, 24, 32, 48, 64, 128, 256): + for d in ('overlay/usr/share/icons/hicolor/%dx%d/apps/chamesle-start.png', + 'tools/pkg/chamesle-kde/files/usr/share/icons/hicolor/%dx%d/apps/chamesle-start.png', + 'tools/pkg/chamesle-artwork/files/usr/share/icons/Chamesle/%dx%d/places/start-here.png'): + p = os.path.join(REPO, d % (n, n)) + if os.path.exists(p): + png(n, p) + for p in ('artwork/logo.png', 'docs/img/logo.png', 'overlay/usr/share/live-installer/logo.png', + 'overlay/usr/share/live-installer/slideshow/logo.png'): + png(524, os.path.join(REPO, p)) + png(168, os.path.join(REPO, 'tools/pkg/chamesle-plymouth/files/usr/share/plymouth/themes/chamesle/logo.png')) + big = Image.new('RGB', (2000, 2000), 'white'); big.paste(i := png(2000), mask=i) + big.save(os.path.join(REPO, 'artwork/logo.jpeg'), quality=92) + # greeter: dark screen, so new ring and the old white word + g = Image.open(os.path.join(HERE, 'greeter-word.png')).convert('RGBA') + g.paste((0, 0, 0, 0), (0, 0, 73, 80)) + g.alpha_composite(png(72), (0, 4)) + g.save(os.path.join(REPO, 'tools/pkg/chamesle-artwork/files/usr/share/chamesle/greeter-logo.png')) + b = banner() + b.save(os.path.join(REPO, 'artwork/banner.png')) + b.resize((b.width // 2, b.height // 2), Image.LANCZOS).save(os.path.join(REPO, 'docs/img/banner.png')) + print('logo out', b.size) diff --git a/tools/pkg/chamesle-artwork/files/usr/share/chamesle/greeter-logo.png b/artwork/logo/greeter-word.png Binary files differ. diff --git a/artwork/logo/make.py b/artwork/logo/make.py @@ -0,0 +1,94 @@ +#!/usr/bin/env python3 +# the chamesle ring, three 2007 finishes. same geometry as artwork/logo.png: +# three 108 degree pieces, 12 degree gaps at the bottom and upper corners, hole half the ring +import math, os, sys + +C, R, r = 256, 244, 124 +SEGS = [ # start, end (degrees, y down), light, base, dark + ('green', 216, 324, '#6ff0a8', '#00a856', '#005a2e'), + ('blue', -24, 84, '#8f80ff', '#2a12c8', '#0c0057'), + ('red', 96, 204, '#ffb0a0', '#ff3b33', '#a50d0d'), +] + +def pt(a, rad): + return C + rad * math.cos(math.radians(a)), C + rad * math.sin(math.radians(a)) + +def seg(a0, a1, ro=R, ri=r): + o0, o1, i1, i0 = pt(a0, ro), pt(a1, ro), pt(a1, ri), pt(a0, ri) + return 'M%.2f %.2fA%d %d 0 0 1 %.2f %.2fL%.2f %.2fA%d %d 0 0 0 %.2f %.2fZ' % ( + o0[0], o0[1], ro, ro, o1[0], o1[1], i1[0], i1[1], ri, ri, i0[0], i0[1]) + +RING = ' '.join(seg(a, b) for _, a, b, *_ in SEGS) +# the shine: everything above a soft curve through the middle +SHINE = 'M0 0H512V214Q256 150 0 214Z' + +def gel(p): + d, o = [], [] + d.append('<clipPath id="%sring"><path d="%s"/></clipPath>' % (p, RING)) + d.append('<linearGradient id="%sshine" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#fff" stop-opacity=".5"/><stop offset=".7" stop-color="#fff" stop-opacity=".1"/><stop offset="1" stop-color="#fff" stop-opacity=".04"/></linearGradient>' % p) + d.append('<filter id="%sdrop" x="-20%%" y="-20%%" width="140%%" height="150%%"><feGaussianBlur in="SourceAlpha" stdDeviation="9"/><feOffset dy="10"/><feComponentTransfer><feFuncA type="linear" slope=".45"/></feComponentTransfer><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge></filter>' % p) + o.append('<g filter="url(#%sdrop)">' % p) + for n, a, b, lt, bs, dk in SEGS: + # a tube: light along the middle of the ring, dark at its edges + d.append('<radialGradient id="%s%s" cx="%d" cy="%d" r="%d" gradientUnits="userSpaceOnUse">' + '<stop offset="%.3f" stop-color="%s"/><stop offset="%.3f" stop-color="%s"/><stop offset="%.3f" stop-color="%s"/><stop offset="1" stop-color="%s"/></radialGradient>' + % (p, n, C, C, R, r / R, dk, (r / R + 1) / 2 - .06, bs, (r / R + 1) / 2 + .08, bs, dk)) + d.append('<radialGradient id="%s%sglow" cx=".5" cy="1" r=".7"><stop offset="0" stop-color="%s" stop-opacity=".9"/><stop offset="1" stop-color="%s" stop-opacity="0"/></radialGradient>' % (p, n, lt, lt)) + path = seg(a, b) + o.append('<path d="%s" fill="url(#%s%s)"/>' % (path, p, n)) + o.append('<path d="%s" fill="url(#%s%sglow)" opacity=".55"/>' % (path, p, n)) + o.append('<path d="%s" fill="none" stroke="%s" stroke-width="3" stroke-linejoin="round"/>' % (path, dk)) + o.append('<path d="%s" fill="none" stroke="#fff" stroke-opacity=".45" stroke-width="1.5" stroke-linejoin="round" transform="translate(0 1.5)"/>' % (path)) + # a lip of light just inside the outer edge, brightest on top + lip = seg(a + 3, b - 3, R - 7, R - 16) + d.append('<linearGradient id="%s%slip" x1="0" y1="0" x2="0" y2="512" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff" stop-opacity=".75"/><stop offset=".6" stop-color="#fff" stop-opacity=".1"/><stop offset="1" stop-color="#fff" stop-opacity=".3"/></linearGradient>' % (p, n)) + o.append('<path d="%s" fill="url(#%s%slip)"/>' % (lip, p, n)) + o.append('<path d="%s" fill="url(#%sshine)" clip-path="url(#%sring)"/>' % (SHINE, p, p)) + o.append('</g>') + return ''.join(d), ''.join(o) + +def glass(p): + d, o = [], [] + d.append('<clipPath id="%sring"><path d="%s"/></clipPath>' % (p, RING)) + d.append('<linearGradient id="%sshine" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#fff" stop-opacity=".55"/><stop offset="1" stop-color="#fff" stop-opacity=".06"/></linearGradient>' % p) + d.append('<filter id="%sdrop" x="-20%%" y="-20%%" width="140%%" height="150%%"><feGaussianBlur in="SourceAlpha" stdDeviation="10"/><feOffset dy="12"/><feComponentTransfer><feFuncA type="linear" slope=".3"/></feComponentTransfer><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge></filter>' % p) + o.append('<g filter="url(#%sdrop)">' % p) + for n, a, b, lt, bs, dk in SEGS: + d.append('<linearGradient id="%s%s" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="%s" stop-opacity=".86"/><stop offset="1" stop-color="%s" stop-opacity=".97"/></linearGradient>' % (p, n, bs, dk)) + path = seg(a, b) + o.append('<path d="%s" fill="url(#%s%s)"/>' % (path, p, n)) + # light caught on the inner and outer edges of the glass + o.append('<path d="%s" fill="none" stroke="%s" stroke-width="10" stroke-opacity=".7" clip-path="url(#%sring)"/>' % (path, lt, p)) + o.append('<path d="%s" fill="none" stroke="#fff" stroke-width="2" stroke-opacity=".9"/>' % path) + o.append('<path d="%s" fill="none" stroke="%s" stroke-width="1" stroke-opacity=".8" transform="translate(0 1)"/>' % (path, dk)) + o.append('<path d="%s" fill="url(#%sshine)" clip-path="url(#%sring)"/>' % (SHINE, p, p)) + o.append('</g>') + return ''.join(d), ''.join(o) + +def chrome(p): + d, o = [], [] + d.append('<clipPath id="%sring"><path d="%s"/></clipPath>' % (p, ' '.join(seg(a, b, R - 12, r + 12) for _, a, b, *_ in SEGS))) + d.append('<linearGradient id="%smetal" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#ffffff"/><stop offset=".45" stop-color="#c9d1d9"/><stop offset=".55" stop-color="#8e99a5"/><stop offset="1" stop-color="#e6ebf0"/></linearGradient>' % p) + d.append('<linearGradient id="%sshine" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#fff" stop-opacity=".6"/><stop offset="1" stop-color="#fff" stop-opacity=".05"/></linearGradient>' % p) + d.append('<filter id="%sdrop" x="-20%%" y="-20%%" width="140%%" height="150%%"><feGaussianBlur in="SourceAlpha" stdDeviation="9"/><feOffset dy="10"/><feComponentTransfer><feFuncA type="linear" slope=".45"/></feComponentTransfer><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge></filter>' % p) + o.append('<g filter="url(#%sdrop)">' % p) + for n, a, b, lt, bs, dk in SEGS: + o.append('<path d="%s" fill="url(#%smetal)" stroke="#5d6873" stroke-width="2.5" stroke-linejoin="round"/>' % (seg(a, b), p)) + d.append('<radialGradient id="%s%s" cx="%d" cy="%d" r="%d" gradientUnits="userSpaceOnUse">' + '<stop offset="%.3f" stop-color="%s"/><stop offset=".72" stop-color="%s"/><stop offset="1" stop-color="%s"/></radialGradient>' + % (p, n, C, C, R - 12, (r + 12) / (R - 12), dk, bs, dk)) + inner = seg(a + 2.2, b - 2.2, R - 12, r + 12) + o.append('<path d="%s" fill="url(#%s%s)" stroke="%s" stroke-width="2" stroke-linejoin="round"/>' % (inner, p, n, dk)) + o.append('<path d="%s" fill="url(#%sshine)" clip-path="url(#%sring)"/>' % (SHINE, p, p)) + o.append('</g>') + return ''.join(d), ''.join(o) + +def svg(kind, size, p, extra=''): + defs, body = {'gel': gel, 'glass': glass, 'chrome': chrome}[kind](p) + return ('<svg xmlns="http://www.w3.org/2000/svg" width="%s" height="%s" viewBox="-16 -16 544 560" role="img" aria-label="Chamesle logo">' + '<defs>%s</defs>%s%s</svg>' % (size, size, defs, body, extra)) + +if __name__ == '__main__': + out = sys.argv[1] if len(sys.argv) > 1 else '.' + for k in ('gel', 'glass', 'chrome'): + open(os.path.join(out, 'logo-%s.svg' % k), 'w').write(svg(k, 512, k[0])) diff --git a/docs/img/banner.png b/docs/img/banner.png Binary files differ. diff --git a/docs/img/logo.png b/docs/img/logo.png Binary files differ. diff --git a/docs/index.html b/docs/index.html @@ -35,7 +35,7 @@ <div class="wrap top"> <div class="intro"> - <h1>Chamesle Linux</h1> + <h1 class="banner"><img src="img/banner.png" alt="Chamesle Linux" width="400" height="171"></h1> <p>A Linux distribution for PCs, based on Void Linux. It comes with a desktop set up like Windows, runs Flathub apps, <code>.deb</code> and <code>.rpm</code> packages and Windows programs, and installs next to Windows if you want to keep it.</p> diff --git a/docs/style.css b/docs/style.css @@ -344,3 +344,7 @@ input[type=search].big { font-size: 19px; padding: 14px 16px; border-radius: 10p .notfound { text-align: center; padding: 72px 0 24px; } .notfound .code { font-size: 72px; font-weight: 700; margin: 0; color: var(--blue); line-height: 1; } .notfound h1 { margin: 12px 0 6px; } + +/* homepage banner, the light lockup */ +h1.banner { margin: 0 0 4px -6px; line-height: 0; } +h1.banner img { max-width: 100%; height: auto; } diff --git a/overlay/usr/share/icons/hicolor/128x128/apps/chamesle-start.png b/overlay/usr/share/icons/hicolor/128x128/apps/chamesle-start.png Binary files differ. diff --git a/overlay/usr/share/icons/hicolor/16x16/apps/chamesle-start.png b/overlay/usr/share/icons/hicolor/16x16/apps/chamesle-start.png Binary files differ. diff --git a/overlay/usr/share/icons/hicolor/24x24/apps/chamesle-start.png b/overlay/usr/share/icons/hicolor/24x24/apps/chamesle-start.png Binary files differ. diff --git a/overlay/usr/share/icons/hicolor/256x256/apps/chamesle-start.png b/overlay/usr/share/icons/hicolor/256x256/apps/chamesle-start.png Binary files differ. diff --git a/overlay/usr/share/icons/hicolor/32x32/apps/chamesle-start.png b/overlay/usr/share/icons/hicolor/32x32/apps/chamesle-start.png Binary files differ. diff --git a/overlay/usr/share/icons/hicolor/48x48/apps/chamesle-start.png b/overlay/usr/share/icons/hicolor/48x48/apps/chamesle-start.png Binary files differ. diff --git a/overlay/usr/share/icons/hicolor/64x64/apps/chamesle-start.png b/overlay/usr/share/icons/hicolor/64x64/apps/chamesle-start.png Binary files differ. diff --git a/overlay/usr/share/live-installer/logo.png b/overlay/usr/share/live-installer/logo.png Binary files differ. diff --git a/overlay/usr/share/live-installer/slideshow/logo.png b/overlay/usr/share/live-installer/slideshow/logo.png Binary files differ. diff --git a/tools/pkg/chamesle-artwork/files/usr/share/chamesle/greeter-logo.png b/tools/pkg/chamesle-artwork/files/usr/share/chamesle/greeter-logo.png Binary files differ. diff --git a/tools/pkg/chamesle-artwork/files/usr/share/icons/Chamesle/128x128/places/start-here.png b/tools/pkg/chamesle-artwork/files/usr/share/icons/Chamesle/128x128/places/start-here.png Binary files differ. diff --git a/tools/pkg/chamesle-artwork/files/usr/share/icons/Chamesle/16x16/places/start-here.png b/tools/pkg/chamesle-artwork/files/usr/share/icons/Chamesle/16x16/places/start-here.png Binary files differ. diff --git a/tools/pkg/chamesle-artwork/files/usr/share/icons/Chamesle/22x22/places/start-here.png b/tools/pkg/chamesle-artwork/files/usr/share/icons/Chamesle/22x22/places/start-here.png Binary files differ. diff --git a/tools/pkg/chamesle-artwork/files/usr/share/icons/Chamesle/24x24/places/start-here.png b/tools/pkg/chamesle-artwork/files/usr/share/icons/Chamesle/24x24/places/start-here.png Binary files differ. diff --git a/tools/pkg/chamesle-artwork/files/usr/share/icons/Chamesle/256x256/places/start-here.png b/tools/pkg/chamesle-artwork/files/usr/share/icons/Chamesle/256x256/places/start-here.png Binary files differ. diff --git a/tools/pkg/chamesle-artwork/files/usr/share/icons/Chamesle/32x32/places/start-here.png b/tools/pkg/chamesle-artwork/files/usr/share/icons/Chamesle/32x32/places/start-here.png Binary files differ. diff --git a/tools/pkg/chamesle-artwork/files/usr/share/icons/Chamesle/48x48/places/start-here.png b/tools/pkg/chamesle-artwork/files/usr/share/icons/Chamesle/48x48/places/start-here.png Binary files differ. diff --git a/tools/pkg/chamesle-artwork/files/usr/share/icons/Chamesle/64x64/places/start-here.png b/tools/pkg/chamesle-artwork/files/usr/share/icons/Chamesle/64x64/places/start-here.png Binary files differ. diff --git a/tools/pkg/chamesle-artwork/recipe b/tools/pkg/chamesle-artwork/recipe @@ -1,6 +1,6 @@ name=chamesle-artwork version=0.7.0 -rel=0 +rel=1 desc="Chamesle wallpapers, icon theme and login screen" url=https://chamesle.org license=GPL-3.0-or-later diff --git a/tools/pkg/chamesle-kde/files/usr/share/icons/hicolor/128x128/apps/chamesle-start.png b/tools/pkg/chamesle-kde/files/usr/share/icons/hicolor/128x128/apps/chamesle-start.png Binary files differ. diff --git a/tools/pkg/chamesle-kde/files/usr/share/icons/hicolor/16x16/apps/chamesle-start.png b/tools/pkg/chamesle-kde/files/usr/share/icons/hicolor/16x16/apps/chamesle-start.png Binary files differ. diff --git a/tools/pkg/chamesle-kde/files/usr/share/icons/hicolor/22x22/apps/chamesle-start.png b/tools/pkg/chamesle-kde/files/usr/share/icons/hicolor/22x22/apps/chamesle-start.png Binary files differ. diff --git a/tools/pkg/chamesle-kde/files/usr/share/icons/hicolor/24x24/apps/chamesle-start.png b/tools/pkg/chamesle-kde/files/usr/share/icons/hicolor/24x24/apps/chamesle-start.png Binary files differ. diff --git a/tools/pkg/chamesle-kde/files/usr/share/icons/hicolor/256x256/apps/chamesle-start.png b/tools/pkg/chamesle-kde/files/usr/share/icons/hicolor/256x256/apps/chamesle-start.png Binary files differ. diff --git a/tools/pkg/chamesle-kde/files/usr/share/icons/hicolor/32x32/apps/chamesle-start.png b/tools/pkg/chamesle-kde/files/usr/share/icons/hicolor/32x32/apps/chamesle-start.png Binary files differ. diff --git a/tools/pkg/chamesle-kde/files/usr/share/icons/hicolor/48x48/apps/chamesle-start.png b/tools/pkg/chamesle-kde/files/usr/share/icons/hicolor/48x48/apps/chamesle-start.png Binary files differ. diff --git a/tools/pkg/chamesle-kde/files/usr/share/icons/hicolor/64x64/apps/chamesle-start.png b/tools/pkg/chamesle-kde/files/usr/share/icons/hicolor/64x64/apps/chamesle-start.png Binary files differ. diff --git a/tools/pkg/chamesle-kde/recipe b/tools/pkg/chamesle-kde/recipe @@ -1,6 +1,6 @@ name=chamesle-kde version=0.7.0 -rel=0 +rel=1 desc="The Chamesle look for KDE Plasma: the Matterhorn, Breeze with a dark taskbar, Inter and the Chamesle start button" url=https://chamesle.org license=GPL-3.0-or-later diff --git a/tools/pkg/chamesle-plymouth/files/usr/share/plymouth/themes/chamesle/logo.png b/tools/pkg/chamesle-plymouth/files/usr/share/plymouth/themes/chamesle/logo.png Binary files differ. diff --git a/tools/pkg/chamesle-plymouth/recipe b/tools/pkg/chamesle-plymouth/recipe @@ -1,6 +1,6 @@ name=chamesle-plymouth version=0.8.0 -rel=1 +rel=2 desc="The Chamesle boot screen: the logo with a spinner under it, and a blue screen when the system can't start" url=https://chamesle.org license=GPL-3.0-or-later