mw.ui: button: Update usage instructions for neutral and quiet buttons
authorPrateek Saxena <prtksxna@gmail.com>
Mon, 5 Jan 2015 12:08:01 +0000 (17:38 +0530)
committerPrateek Saxena <prtksxna@gmail.com>
Mon, 5 Jan 2015 12:08:01 +0000 (17:38 +0530)
Bug: T75252
Change-Id: If18d4773f491d465309662a7decd8466673002fe

resources/src/mediawiki.ui/components/buttons.less

index 6ba7bf7..f88f3ee 100644 (file)
@@ -17,6 +17,8 @@
 
 // Neutral button styling
 //
+// These are the main actions on the page/workflow. The page should have only one of progressive, constructive and desctructive buttons, the rest being quiet.
+//
 // Markup:
 // <div>
 //   <button class="mw-ui-button">.mw-ui-button</button>
 
        // Quiet buttons
        //
-       // Use quiet buttons when they are less important and alongside other constructive/progressive/destructive buttons.
-       // Use of quiet buttons is not recommended on mobile/tablet due to lack of hover state.
+       // Use quiet buttons when they are less important and alongside other constructive, progressive or destructive buttons. It should be used for an action that exits the user from the current view/workflow.
+       // Its use is  not recommended on mobile/tablet due to lack of hover state.
        //
        // Markup:
        // <div>