Implement ProgCode identity and real shared reading UI kit
Build and deploy / deploy (push) Successful in 2m39s

This commit is contained in:
huncode committed 2026-10-27 15:19:49 +03:00
1 parent 99c848189e
commit 12562baeb5
2040 files changed
+184656 -181

No files matched your search

@@ -0,0 +1,98 @@
{
"light body": {
"foreground": "#242521",
"background": "#f6f4ef",
"ratio": 14.03,
"method": "WCAG relative sRGB luminance"
},
"light secondary": {
"foreground": "#62665c",
"background": "#f6f4ef",
"ratio": 5.34,
"method": "WCAG relative sRGB luminance"
},
"light link": {
"foreground": "#a13e20",
"background": "#f6f4ef",
"ratio": 5.92,
"method": "WCAG relative sRGB luminance"
},
"light focus": {
"foreground": "#a13e20",
"background": "#fffefa",
"ratio": 6.45,
"method": "WCAG relative sRGB luminance"
},
"dark body": {
"foreground": "#eeeee5",
"background": "#1c211e",
"ratio": 14.0,
"method": "WCAG relative sRGB luminance"
},
"dark secondary": {
"foreground": "#b2b9ae",
"background": "#1c211e",
"ratio": 8.12,
"method": "WCAG relative sRGB luminance"
},
"dark link": {
"foreground": "#f1a17d",
"background": "#1c211e",
"ratio": 7.88,
"method": "WCAG relative sRGB luminance"
},
"dark focus": {
"foreground": "#f1a17d",
"background": "#252c27",
"ratio": 6.9,
"method": "WCAG relative sRGB luminance"
},
"light success": {
"foreground": "#276345",
"background": "#e6eee6",
"ratio": 6.0,
"method": "WCAG relative sRGB luminance"
},
"light error": {
"foreground": "#942f24",
"background": "#f6e6df",
"ratio": 6.43,
"method": "WCAG relative sRGB luminance"
},
"dark success": {
"foreground": "#b4dcbd",
"background": "#223a2b",
"ratio": 8.15,
"method": "WCAG relative sRGB luminance"
},
"dark error": {
"foreground": "#ffd0c1",
"background": "#4b2b25",
"ratio": 9.0,
"method": "WCAG relative sRGB luminance"
},
"light secondary on subtle": {
"foreground": "#62665c",
"background": "#eae7de",
"ratio": 4.75,
"method": "WCAG relative sRGB luminance"
},
"dark secondary on subtle": {
"foreground": "#b2b9ae",
"background": "#2c342e",
"ratio": 6.38,
"method": "WCAG relative sRGB luminance"
},
"light control boundary": {
"foreground": "#7d8577",
"background": "#fffefa",
"ratio": 3.79,
"method": "WCAG relative sRGB luminance"
},
"dark control boundary": {
"foreground": "#829184",
"background": "#252c27",
"ratio": 4.31,
"method": "WCAG relative sRGB luminance"
}
}
@@ -0,0 +1,7 @@
### Result
["Особенности Vibe.d","Если вы меняете .dt-шаблон в статически компилируемом варианте Diet, нужно пересобрать использующий его код. Компиляция шаблона в D.","Особенности Vibe.d","Если вы меняете .dt-шаблон в статически компилируемом варианте Diet, нужно пересобрать использующий его код. Компиляция шаблона в D."]
### Ran Playwright code
```js
await (async page=>{await page.goto('http://127.0.0.1:53424/identity-preview.html');await page.setViewportSize({width:1440,height:1000});await page.screenshot({path:'/tmp/progcode-identity-proposal-preview-coherent-1440.png',fullPage:true,scale:'css'});await page.setViewportSize({width:320,height:900});await page.screenshot({path:'/tmp/progcode-identity-proposal-preview-coherent-320.png',fullPage:true,scale:'css'});return await page.locator('.sample').allTextContents();}
)(page);
```
Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

@@ -0,0 +1,10 @@
### Result
[[{"width":16,"height":16,"src":"favicon-concept-16.svg"},{"width":32,"height":32,"src":"favicon-concept-32.svg"},{"width":48,"height":48,"src":"favicon-concept-48.svg"}],[{"width":16,"height":16,"src":"favicon-concept-16.svg"},{"width":32,"height":32,"src":"favicon-concept-32.svg"},{"width":48,"height":48,"src":"favicon-concept-48.svg"}]]
### Ran Playwright code
```js
await (async page=>{await page.goto('http://127.0.0.1:53424/identity-preview.html');await page.setViewportSize({width:1440,height:1000});await page.locator('.sizes').nth(0).screenshot({path:'/tmp/progcode-native-sizes-light.png',scale:'css'});await page.locator('.sizes').nth(1).screenshot({path:'/tmp/progcode-native-sizes-dark.png',scale:'css'});await page.setViewportSize({width:320,height:900});await page.screenshot({path:'/tmp/progcode-identity-320.png',fullPage:true});return await page.locator('.sizes').evaluateAll(es=>es.map(e=>[...e.querySelectorAll('img')].map(i=>({width:i.getBoundingClientRect().width,height:i.getBoundingClientRect().height,src:i.getAttribute('src')}))));}
)(page);
```
### Page
- Page URL: http://127.0.0.1:53424/identity-preview.html
- Page Title: ProgCode · identity concept
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" role="img" aria-labelledby="title"><title id="title">ProgCode — p и курсор</title><rect width="16" height="16" rx="3" fill="#242a24"/><path fill="#fffaf0" fill-rule="evenodd" d="M4 3h5a3 3 0 0 1 0 6H6v4H4V3zm2 2v2h3a1 1 0 0 0 0-2H6z"/><path fill="#f1a17d" d="M9 11h4v2H9z"/></svg>

After

Width:  |  Height:  |  Size: 372 B

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="180" height="180" viewBox="0 0 16 16" role="img" aria-labelledby="title"><title id="title">ProgCode — p и курсор</title><rect width="16" height="16" rx="3" fill="#242a24"/><path fill="#fffaf0" fill-rule="evenodd" d="M4 3h5a3 3 0 0 1 0 6H6v4H4V3zm2 2v2h3a1 1 0 0 0 0-2H6z"/><path fill="#f1a17d" d="M9 11h4v2H9z"/></svg>

After

Width:  |  Height:  |  Size: 374 B

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 16 16" role="img" aria-labelledby="title"><title id="title">ProgCode — p и курсор</title><rect width="16" height="16" rx="3" fill="#242a24"/><path fill="#fffaf0" fill-rule="evenodd" d="M4 3h5a3 3 0 0 1 0 6H6v4H4V3zm2 2v2h3a1 1 0 0 0 0-2H6z"/><path fill="#f1a17d" d="M9 11h4v2H9z"/></svg>

After

Width:  |  Height:  |  Size: 372 B

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 16 16" role="img" aria-labelledby="title"><title id="title">ProgCode — p и курсор</title><rect width="16" height="16" rx="3" fill="#242a24"/><path fill="#fffaf0" fill-rule="evenodd" d="M4 3h5a3 3 0 0 1 0 6H6v4H4V3zm2 2v2h3a1 1 0 0 0 0-2H6z"/><path fill="#f1a17d" d="M9 11h4v2H9z"/></svg>

After

Width:  |  Height:  |  Size: 372 B

@@ -0,0 +1 @@
<!doctype html><html lang="ru"><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>ProgCode · identity concept</title><style>*{box-sizing:border-box}body{margin:0;background:#f6f4ef;color:#242521;font:16px/1.6 Arial}main{max-width:1100px;margin:auto;padding:32px}.pair{display:grid;grid-template-columns:1fr 1fr;gap:24px}.panel{padding:28px;border:1px solid #b8bdb1;background:#fffefa}.dark{color:#eeeee5;background:#1c211e;border-color:#829184}h1{font-size:28px;line-height:1.2}h2{font-size:20px}figure{margin:24px 0}figcaption{font-size:13px}.sizes{display:flex;gap:28px;align-items:center}.sizes img{image-rendering:auto;display:block}label{font:12px monospace}.sample{font:19px/1.72 Georgia;max-width:65ch}a{color:#a13e20;text-decoration-thickness:1px;text-underline-offset:3px}.dark a{color:#f1a17d}.native{padding:24px;background:#eae7de}.dark .native{background:#252c27}.swatches{display:flex;gap:8px;flex-wrap:wrap}.swatches i{width:32px;height:32px;border:1px solid #829184}.note{font-size:13px;color:#62665c}.dark .note{color:#b2b9ae}@media(max-width:700px){main{padding:16px}.pair{grid-template-columns:1fr}.panel{padding:20px}}</style><main><p>КОНЦЕПТ · НЕ PRODUCTION · НЕТ УТВЕРЖДЕНИЯ</p><h1>ProgCode: мысль в коде, курсор в заметке</h1><div class="pair"><section class="panel light"><h2>light</h2><img src="logo-concept-light.svg" width="224" height="44" alt="Векторный знак ProgCode"><figure class="native"><div class="sizes"><div><img src="favicon-concept-16.svg" width="16" height="16" alt="p и курсор, 16px"><label>16 px</label></div><div><img src="favicon-concept-32.svg" width="32" height="32" alt="p и курсор, 32px"><label>32 px</label></div><div><img src="favicon-concept-48.svg" width="48" height="48" alt="p и курсор, 48px"><label>48 px</label></div></div><figcaption>Один силуэт P, отдельный курсор. Без мелкого текста.</figcaption></figure><p class="sample">Особенности Vibe.d</p><p class="sample">Если вы меняете <code>.dt</code>-шаблон в статически компилируемом варианте Diet, нужно пересобрать использующий его код. <a href="#">Компиляция шаблона в D</a>.</p><p class="note">23 мая 2017 г. · D · 13 мин чтения</p></section><section class="panel dark"><h2>dark</h2><img src="logo-concept-dark.svg" width="224" height="44" alt="Векторный знак ProgCode"><figure class="native"><div class="sizes"><div><img src="favicon-concept-16.svg" width="16" height="16" alt="p и курсор, 16px"><label>16 px</label></div><div><img src="favicon-concept-32.svg" width="32" height="32" alt="p и курсор, 32px"><label>32 px</label></div><div><img src="favicon-concept-48.svg" width="48" height="48" alt="p и курсор, 48px"><label>48 px</label></div></div><figcaption>Один силуэт P, отдельный курсор. Без мелкого текста.</figcaption></figure><p class="sample">Особенности Vibe.d</p><p class="sample">Если вы меняете <code>.dt</code>-шаблон в статически компилируемом варианте Diet, нужно пересобрать использующий его код. <a href="#">Компиляция шаблона в D</a>.</p><p class="note">23 мая 2017 г. · D · 13 мин чтения</p></section></div><p>Предложение символа и чтения; финальные решения требуют дизайнерского, CD и CM ревью на реальных страницах.</p></main></html>
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="224" height="44" viewBox="0 0 224 44" role="img" aria-labelledby="title"><title id="title">ProgCode</title><rect x="2" y="6" width="32" height="32" rx="6" fill="#242a24"/><g transform="translate(2 6) scale(2)"><path fill="#fffaf0" fill-rule="evenodd" d="M4 3h5a3 3 0 0 1 0 6H6v4H4V3zm2 2v2h3a1 1 0 0 0 0-2H6z"/><path fill="#f1a17d" d="M9 11h4v2H9z"/></g><g transform="translate(48 15)" fill="none" stroke="#eeeee5" stroke-width="2.7" stroke-linecap="round" stroke-linejoin="round"><path transform="translate(0 0)" d="M0 23V2H7C18 2 18 16 7 16H0"/><path transform="translate(21 0)" d="M0 16V2M0 8C1 2 6 1 10 3"/><path transform="translate(36 0)" d="M7 2C-3 2 -3 16 7 16C17 16 17 2 7 2Z"/><path transform="translate(57 0)" d="M14 2V18C14 25 2 25 0 21M14 5C7 -3 -5 4 0 13C4 19 12 16 14 11"/><path transform="translate(80 0)" d="M13 4C3 -3 -5 7 0 13C3 17 9 17 13 14"/><path transform="translate(102 0)" d="M7 2C-3 2 -3 16 7 16C17 16 17 2 7 2Z"/><path transform="translate(123 0)" d="M14 -5V16M14 5C7 -3 -5 4 0 13C4 19 12 16 14 11"/><path transform="translate(146 0)" d="M0 9H14C14 -1 -2 -1 -1 10C0 17 10 18 14 13"/></g><path fill="#f1a17d" d="M211 32h10v3h-10z"/></svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="224" height="44" viewBox="0 0 224 44" role="img" aria-labelledby="title"><title id="title">ProgCode</title><rect x="2" y="6" width="32" height="32" rx="6" fill="#242a24"/><g transform="translate(2 6) scale(2)"><path fill="#fffaf0" fill-rule="evenodd" d="M4 3h5a3 3 0 0 1 0 6H6v4H4V3zm2 2v2h3a1 1 0 0 0 0-2H6z"/><path fill="#f1a17d" d="M9 11h4v2H9z"/></g><g transform="translate(48 15)" fill="none" stroke="#242521" stroke-width="2.7" stroke-linecap="round" stroke-linejoin="round"><path transform="translate(0 0)" d="M0 23V2H7C18 2 18 16 7 16H0"/><path transform="translate(21 0)" d="M0 16V2M0 8C1 2 6 1 10 3"/><path transform="translate(36 0)" d="M7 2C-3 2 -3 16 7 16C17 16 17 2 7 2Z"/><path transform="translate(57 0)" d="M14 2V18C14 25 2 25 0 21M14 5C7 -3 -5 4 0 13C4 19 12 16 14 11"/><path transform="translate(80 0)" d="M13 4C3 -3 -5 7 0 13C3 17 9 17 13 14"/><path transform="translate(102 0)" d="M7 2C-3 2 -3 16 7 16C17 16 17 2 7 2Z"/><path transform="translate(123 0)" d="M14 -5V16M14 5C7 -3 -5 4 0 13C4 19 12 16 14 11"/><path transform="translate(146 0)" d="M0 9H14C14 -1 -2 -1 -1 10C0 17 10 18 14 13"/></g><path fill="#a63f20" d="M211 32h10v3h-10z"/></svg>

After

Width:  |  Height:  |  Size: 1.2 KiB