@@ -225,6 +225,28 @@ <h3>Button Color Language</h3>
225225 < p > The discipline of making the databrowser navigation of folders and lists
226226 and people and meetings be essentially monochrome has meant that resources
227227 like pictures and icons </ p >
228+ < h3 > Icon shapes</ h3 >
229+ < p > Icons should be simple, a black drawing on a transparent
230+ background. All should be monochrome black on transparent exact for
231+ the few green, red or blue corresponding to the button color language
232+ above. </ p >
233+ < p > We use< a href ="https://thenounproject.com/ "> the Noun project</ a > as an
234+ excellent resource. We pay a fee so that there is no obligation to give
235+ attribution of the authorship, but still a way to extract all the
236+ authors and list them as credits with links back would be awesome.</ p >
237+ < p > Icons should use SVG, not PNG or JPEG or GIF. Currently they
238+ are all in a single module in solid-ui but ways of making that more
239+ modular are possible in future.</ p >
240+ < p > Icons are used for panes (views), actions, and object. The
241+ graphical form representing an object should be taken, in order or
242+ preference, from:</ p >
243+ < ol >
244+ < li > A foaf:icon for the thing</ li >
245+ < li > Any other image for the thing itself from data, such as foaf:image,
246+ vcard:photo, etc, etc</ li >
247+ < li > An icon corresponding to the class of the thing, like Person, Group,
248+ Meeting, etc</ li >
249+ </ ol >
228250 < h3 > Labels: use the ontology</ h3 >
229251 < p > The goal is of course to make everything as accessible as possible with
230252 people with different abilities, using different
@@ -319,7 +341,54 @@ <h2>Making up panes: Widgets and Forms</h2>
319341 and forms make out of widgets.</ p >
320342 < p > A form is defined in the RDF data model. Typically a form is made by hand
321343 in Turtle, or it can be edited using the form-editing form.</ p >
322- < h3 > To Be Continued</ h3 >
344+ < p > < br >
345+ </ p >
346+ < h2 > Fonts, Font Size</ h2 >
347+ < h3 > No Style Sheets</ h3 >
348+ < p > The classic way to make a web app is with an HTML markup file, a CSS
349+ style sheet and a JS script. When you build modular web apps
350+ with modularity in different levels./ But CSS style sheets have the
351+ problem that they are global. Global in the sense if the document,
352+ that you can't attach them (2018) to a subtree, only the whole document.
353+ (Never mind shadow DOMs). The problem of distinguishing which
354+ parts of the style sheet should apply to which parts of the tree, which
355+ types of element, and the elements created by each widget, leads ttheo,
356+ in big UI frameworks, a huge complex language of classes which are
357+ attached to elements.</ p >
358+ < p > The databrowser does have a global style sheet, and it sets classes for
359+ some early panes, but now the goal is to reduce the dependency on it to
360+ zero. </ p >
361+ < h3 > Font Size</ h3 >
362+ < p > Legibility is really important. If your over-cute font means that
363+ ageing people can't read it, drop it and go with something normal. </ p >
364+ < p > - Where you don't need to specify something, inherit it from enclosing
365+ DOM elements.</ p >
366+ < p > Font, font size, color, background color, </ p >
367+ < p > - Where a widget must have a certain style, inject it directly from the
368+ JS script.</ p >
369+ < p > There is style module which has some JS variables for things like input
370+ element style so that can be shared through the code, rather than using
371+ global CSS which typically involves a lot of complexity and hard
372+ coordination between CSS writers and JS writers.</ p >
373+ < h2 > Conclusion</ h2 >
374+ < p > That's it, folks.</ p >
375+ < p > < em > Edited with BlueGriffon with thanks to @glazou</ em > </ p >
376+ < p > < br >
377+ </ p >
378+ < p > < br >
379+ </ p >
380+ < p > < br >
381+ </ p >
382+ < p > < br >
383+ </ p >
384+ < p > < br >
385+ </ p >
386+ < p > < br >
387+ </ p >
388+ < p > < br >
389+ </ p >
390+ < p > < br >
391+ </ p >
323392 < p > < br >
324393 </ p >
325394 </ body >
0 commit comments