0.14.5 • Published 5 years ago

goose-css v0.14.5

Weekly downloads
20
License
MIT
Repository
github
Last release
5 years ago

Goose

The base of a Spruce component library. It aims to describe the functions of UI components semantically, and without knowledge of how styles will visually appear.

Components

npm.io List

Core modifiers: divided ordered unordered nested

Lists of items. Lists have child elements List_item.

Neither the List or List_item elements should have margins by default. Margins can be applied using a margin modifier with an optional SI suffix.

npm.io Overlay

npm.io Typography

Too Complex. (Are they molecules?)

npm.io Lightbox

npm.io Navigation

npm.io Login

npm.io Breadcrumbs

The representation of one branch of a tree hierarchy

Todo: Confused modifiers

These are perhaps too bound to specific visual or design choices and will need to be worked upon before being accepted or rejected from goose.

  • flood - Fills the width and height of the parent element.
  • spread - Fills the width of the parent element.

Goose Box Model

               Boundary
              +--------------------------------+-------------------------------------+
              |                                ^                                     |  ^
              |                                |                                     |  | Size
              |                                | Padding                             |  |
              |                                |                                     |  |
              |                                v                                     |  |
              |         +----------------------+-----------------------------+       |  |
              |         |                                                    |       |  |
              |         |    ####   ####  #    # ##### ###### #    # #####   |       |  |
 Margin       |         |   #    # #    # ##   #   #   #      ##   #   #     |       |  |
              |         |   #      #    # # #  #   #   #####  # #  #   #     |       |  |
<-----------+ |         |   #      #    # #  # #   #   #      #  # #   #     |       |  |
              |         |   #    # #    # #   ##   #   #      #   ##   #     |       |  |
              |         |    ####   ####  #    #   #   ###### #    #   #     |       |  |
              |         |                                                    |       |  |
              |         +----------------------------------------------------+       |  |
              |                                                                      |  |
              |                                                                      |  |
              |                                                                      |  |
              |                                                                      |  |
              |                                                                      |  v
              +----------------------------------------------------------------------+
   

Categorical State Modifiers

Importance

primary
tertiary

Interactions

active
focus
disabled
waiting
hover

Connotation (suffixable)

positive
negative
warning
edit
0.14.5

5 years ago

0.14.4

6 years ago

0.14.3

6 years ago

0.14.2

6 years ago

0.14.0

6 years ago

0.13.0

6 years ago

0.12.0

6 years ago

0.11.0

6 years ago

0.10.0

6 years ago

0.9.1

7 years ago

0.8.1

7 years ago

0.8.0

7 years ago

0.7.0

7 years ago

0.6.0

7 years ago

0.5.1

7 years ago

0.5.0

7 years ago

0.4.0

7 years ago

0.3.1

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago