From 50edbf0cfa234a62c6254c95d82aded960aafeda Mon Sep 17 00:00:00 2001 From: upsiflu Date: Wed, 18 Dec 2024 16:58:27 +0100 Subject: [PATCH] feat(ui): document default color choice for buttons --- front/ui-docs/components/ui/button.md | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/front/ui-docs/components/ui/button.md b/front/ui-docs/components/ui/button.md index fa8b7d15e..45321eae7 100644 --- a/front/ui-docs/components/ui/button.md +++ b/front/ui-docs/components/ui/button.md @@ -1,6 +1,7 @@ @@ -23,14 +24,30 @@ In addition, use [Colors] and [Variants] Buttons come in different types depending on the type of action they represent. +Find [a complete overview of recommended styles on the color page](../../using-color#links-and-buttons). + +### Default + + + +```vue-html + +``` + + + + + + + ### Primary Primary buttons represent **positive** actions such as uploading, confirming, and accepting changes. -::: info -This is the default type. If you don't specify a type, a primary button is rendered. -::: - ```vue-html