Files
huncode 12562baeb5
Build and deploy / deploy (push) Successful in 2m39s
Implement ProgCode identity and real shared reading UI kit
2026-10-27 15:19:49 +03:00

11 lines
1.2 KiB
Plaintext

### 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