GlossProject / gloss.theme

The Gloss Theme
3 stars 3 forks source link

Need to work out the best approach for dynamically "tranforming buttons" #8

Closed pigeonflight closed 10 years ago

pigeonflight commented 10 years ago

The screenshot shows how plone buttons look when they are unstyled in a theme image

Plone provides the following buttons for the interface image

Need a rule that transforms the plone classes: context, standalone and destructive and plain plain submit and plain buttons to some know styles:

For bootstrap 3 buttons it would look like this: context -> primary (btn btn-primary) standalone -> info (btn btn-info) destructive -> danger (btn btn-danger) plain submit/button -> default (btn btn-default)

For webflow, we can start by just dynamically applying the button class it would look like this: context -> primary (button) standalone -> info (button) destructive -> danger (button) plain submit/button -> default (button)

pigeonflight commented 10 years ago

created and pushed new button rules.