GlossProject / gloss.theme

The Gloss Theme
3 stars 3 forks source link

WIP: New naming convention #28

Open pigeonflight opened 7 years ago

pigeonflight commented 7 years ago

The new naming convention will be loosely influenced by naming of compounds in chemistry.

For the purpose of Gloss the closest to what might be called a compound we call a "thing" As long as it can be consistently isolated as something that performs a discrete layout function or semantic function then it can be "thing".

Also we're in the search for a qualifier that easily distinguishes something whose purpose is simply to provide "style hook" vs "content assignment" role. (a style hook is a gl class which allows you to influence the look and feel of your layout). (An content assigment hook allows you to influence where content is placed in your layout)

Things we have identified and named so far:

form things

Things involved in the building of forms -form-button -form-input -form-label -form-label-indicator

content things

Things involved in the major structure of content -content -body-content -description-content -title-content -below-body-content -above-body-content

message things

-message -message-label

Things we've identified but haven't settled on a proper name:

-callout