Re: collective.mtrsetup in core ?
Sean Upton <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.devel |
|---|---|
| Message-ID | <CANjV-2PmMj90w7x3okzuYPiE4RDV72iYmMSLf443yoK=E4t5qA@mail.gmail.com> |
On Tue, Dec 3, 2013 at 11:04 AM, Rok Garbas <[email protected]> wrote: > since we are really trying to make default theme extra slim, awesome and modern > in all aspects of it, i would be sad to see that we would use images for icons. +1 -- this would an an improvement over the current mix of sprites for built-in types and images for add-on types. Could we treat what getIcon() returns as semantic cues for a portion of the HTML classname? Maybe allow for add-ons to ship their own CSS and glyph fonts (or image replacements -- is there any way to provide a backward-compatibility polyfill to make-at-runtime an image replacement for add-ons not yet participating in this regime)? > we could have icons by applying some css using bootstrap 3 glyphicons[1] as > shown here with font-awesome[2]. This stuff looks good, could we have some standardized/documented process to add additional icons to the font resource in incremental ways over time? > i would prefer more optimized solution and future proof then going for some > fancy looking icons. i mean fast will always be sexy :) I like the idea of shipping a font with glyphs for built-in-types, common file and/or mime types. Could there still be some way to support backward-compatibility for many add-ons with types still using image-based icons? Add-ons providing content types might follow markup conventions used by core, but would provide their own CSS and (font | png | svg) resources necessary for text, image replacements. Diazo themes could implement their own schemes for these with far more graceful results than overriding 16x16 PNGs (e.g. a theme using larger SVG icons with CSS image replacement, falling back to the glyphs at same larger size when no SVG resource was available). Sean ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk