chharvey / chharvey.github.io

My personal web site.
https://chharvey.github.io/
MIT License
4 stars 1 forks source link

architect "Message" objects #30

Closed chharvey closed 10 years ago

chharvey commented 10 years ago

Fix the css architecture of .Label objects.

First, change terminology. The overall abstracting concept is a "Message". There are two types of Messages: Labels, (longer blocks of text) and Tags (short indications). Change these classnames to .Msg, .Lbl, and .Tag respectively.

Next, there should be no superclass .Msg (formerly, .Label). The only messages are labels and tags, so make .msg an interface and have .Lbl and .Tag implement that interface. Thus in HTML there need not be a classname "Msg".

Somehow fix all the interfaces and mixins in _labels.less. It's way too confusing.

chharvey commented 10 years ago

Re-opening this issue

Find a way to resolve conflict between .Tag message Objects (warning, success, etc.) and .Tag code Objects in HTML.

Adding GitHub Issue Labels: feature-hotfix, priority-high

chharvey commented 10 years ago