vitto / a-pollo Goto Github PK
View Code? Open in Web Editor NEW:art: The visual CSS style guide for teams
Home Page: http://vitto.github.io/a-pollo/
License: MIT License
:art: The visual CSS style guide for teams
Home Page: http://vitto.github.io/a-pollo/
License: MIT License
It seems it doesn't count single days but it duplicates them in some case, it needs to be checked.
https://github.com/vitto/a-pollo/blob/master/lib/formatter.js
The problem is here:
https://github.com/vitto/a-pollo/blob/master/hexo/themes/a-pollo/layout/_partial/menu-left.ejs#L33
It needs to be fixed.
The meaning of insert style attribute in HTML example is to prevent unwanted default behavior to ease widget visualization inside style guide only, so it should be removed from code snippet.
/*@pollo
@name: Club
@auth: [Vittorio Vittori](http://vit.to)
@category: News
@date: 2016-03-21T12:27:33+01:00
@text: This widget has position absolute positioning and it's not nice inside the style guide
@html: <span class="news-club" style="position:static;">
<i class="serie-a serie-a--inter"></i>
</span>
*/
There are cases where style
attribute should be shown, maybe could be the case to add a new doc tag, something like @style: true
(false
by default).
This could be useful for background images of styled avatars.
This works:
/*@pollo
@name: Avatar
@auth: [Vittorio Vittori](http://vit.to)
@category: Users
@date: 2016-03-10T11:43:58+01:00
@text: Default avatar used for registered users only, NOT FOR AUTHORS
@html: <a class="avatar" href="#user-profile-page"></a>
*/
This NOT working:
/*@pollo
@name: Avatar
@auth: [Vittorio Vittori](http://vit.to)
@category: Users
@date: 2016-03-10T11:43:58+01:00
@text: Default avatar used for registered users only, NOT FOR AUTHORS
@html: <a class="avatar" href="#user-profile-page" style="background-image:url(http://placehold.it/80);"></a>
*/
To prevent the problem i'm using use_markdown
set to true
which renders a template fragment from markdown.js code that should be removed to let the desginers / developers fully bake their theme without be forced to use non customizable html template fragment in widgets pages.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.