Implement ProgCode identity and real shared reading UI kit
Build and deploy / deploy (push) Successful in 2m39s
Build and deploy / deploy (push) Successful in 2m39s
This commit is contained in:
1 parent
99c848189e
commit
12562baeb5
2040 files changed
+184656
-181
No files matched your search
@@ -0,0 +1,10 @@
|
||||
### Result
|
||||
{"lead":{"color":"rgb(238, 238, 229)","bg":"rgb(44, 52, 46)"},"deck":{"color":"rgb(178, 185, 174)","bg":"rgb(28, 33, 30)"},"link":{"color":"rgb(241, 161, 125)","bg":"rgb(28, 33, 30)"}}
|
||||
### Ran Playwright code
|
||||
```js
|
||||
await (async page=>{await page.setViewportSize({width:390,height:900});await page.goto('http://127.0.0.1:65019/');await page.getByRole('combobox',{name:'Тема'}).selectOption('dark');await page.screenshot({path:'/tmp/progcode-ds-designer0340/dark-home-first.png',fullPage:true});const d=await page.locator('.lead-story h2').evaluate(e=>({color:getComputedStyle(e).color,bg:getComputedStyle(e.closest('.lead-story')).backgroundColor}));await page.goto('http://127.0.0.1:65019/articles/'+encodeURIComponent('о-tilix-и-d-интервью-с-геральдом-нанном')+'/');await page.screenshot({path:'/tmp/progcode-ds-designer0340/dark-article-first.png'});return {lead:d,deck:await page.locator('.article-deck').evaluate(e=>({color:getComputedStyle(e).color,bg:getComputedStyle(document.body).backgroundColor})),link:await page.locator('.article-content a').first().evaluate(e=>({color:getComputedStyle(e).color,bg:getComputedStyle(document.body).backgroundColor}))};}
|
||||
)(page);
|
||||
```
|
||||
### Page
|
||||
- Page URL: http://127.0.0.1:65019/articles/%D0%BE-tilix-%D0%B8-d-%D0%B8%D0%BD%D1%82%D0%B5%D1%80%D0%B2%D1%8C%D1%8E-%D1%81-%D0%B3%D0%B5%D1%80%D0%B0%D0%BB%D1%8C%D0%B4%D0%BE%D0%BC-%D0%BD%D0%B0%D0%BD%D0%BD%D0%BE%D0%BC/
|
||||
- Page Title: О Tilix и D: интервью с Геральдом Нанном — ProgCode
|
||||
Reference in new issue
Block a user