Sha256: 734525e69d68d09a061b2ec00de0138ee46fdcdfc313955dd0ff172ada7601d3

Contents?: true

Size: 1.04 KB

Versions: 2

Compression:

Stored size: 1.04 KB

Contents

name: Flat Green
description: |
  Part of page level button set. Set also includes larger 'flat gray' buttons. Green is always primary. Gray is secondary.

  Rules
  ==

  * Only one button set per page.
  * Only one primary button per set.
  * Primary always appears on the far left.
  * Labels to follow label standards set on 'language' page where applicable.
  * Keep button text short (one or two words).
  * Limit button sets to two buttons or three when absolutely required. 'Back' buttons still appear on the right since they are secondary.
usage: |
  Primary
  ==

  * Business workflow (i.e. submit, return, approve).
  * Forward and back navigation within a set of related screens (i.e. back, next, cancel).
  * Modals.

  Do not use
  ==

  * When actions are repeated on the same screen (i.e. Calculate Eligibility) --- use flat blue and smaller flat gray buttons instead.
  * Mini forms. When buttons serve a singular, application-wide purpose (Add note) --- use small when icons have been defined for the same purpose (Edit, delete)
category: :buttons

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
undercase-0.2.57 lib/undercase/patterns/cc_button_flat_green.yml
undercase-0.2.29 lib/undercase/patterns/cc_button_flat_green.yml