From 09cd007af82954d0f042718ec6e6cca96e1d1e2b Mon Sep 17 00:00:00 2001 From: Selemondev <106826371+selemondev@users.noreply.github.com> Date: Wed, 18 Jan 2023 04:55:21 +0300 Subject: [PATCH] docs: fix typo (#121) --- docs/guide/components/alert.md | 2 +- docs/guide/components/badge.md | 6 +++--- docs/guide/features/arbitrary-sizes.md | 8 +++---- docs/guide/features/dx-focused.md | 10 ++++----- docs/guide/features/presets.md | 14 ++++++------ docs/guide/features/theme.md | 8 +++---- docs/guide/getting-started/customization.md | 12 +++++------ docs/guide/getting-started/index.md | 14 ++++++------ docs/guide/getting-started/installation.md | 24 ++++++++++----------- docs/index.md | 8 +++---- docs/ui/introduction.md | 10 ++++----- 11 files changed, 58 insertions(+), 58 deletions(-) diff --git a/docs/guide/components/alert.md b/docs/guide/components/alert.md index 3b225529..08288080 100644 --- a/docs/guide/components/alert.md +++ b/docs/guide/components/alert.md @@ -68,7 +68,7 @@ You can customize close icon using `append-icon` prop. ::::card v-model support -Alert also support `v-model` to show and hide alert based on model value. +Alert also supports `v-model` to show and hide alert based on model value. :::code DemoAlertVModelSupport <<< @/components/demos/alert/DemoAlertVModelSupport.vue{4,9} diff --git a/docs/guide/components/badge.md b/docs/guide/components/badge.md index a4211d1e..2378454e 100644 --- a/docs/guide/components/badge.md +++ b/docs/guide/components/badge.md @@ -18,7 +18,7 @@ Default variant for badge is `standard` ::::card Content -Use the prop `content` to pass numeric values, if you want to use other data different than a number use the slot `content` instead +Use the prop `content` to pass numeric values, if you want to use other data different than a number, use the slot `content` instead :::code DemoBadgeContent <<< @/components/demos/badge/DemoBadgeContent.vue{3,8} @@ -40,7 +40,7 @@ You can use v-model to control hiding/showing the badge ::::card Color -You can use `color` prop to change the badge color. +You can use the `color` prop to change the badge color. :::code DemoBadgeColor <<< @/components/demos/badge/DemoBadgeColor.vue{5,11,17,23,29} @@ -86,7 +86,7 @@ Change the `max` prop to cap the numeric value of the content Use `overlap` prop to adjust the position of the badge, if you need more refined adjustments you can use the `offsetX` or `offsetY` props. -By default of `overlap` prop is `true`. +By default `overlap` prop is `true`. :::code DemoBadgeOverlap <<< @/components/demos/badge/DemoBadgeOverlap.vue{10,18-19} diff --git a/docs/guide/features/arbitrary-sizes.md b/docs/guide/features/arbitrary-sizes.md index 91b88cfa..6c935d08 100644 --- a/docs/guide/features/arbitrary-sizes.md +++ b/docs/guide/features/arbitrary-sizes.md @@ -2,7 +2,7 @@ Just like plain CSS or UnoCSS, Anu also provides flexibility with component sizing. You are not limited to sizes like `sm`, `lg`, `xl`, etc. With Anu you can have infinity sizes that auto adjust the font as well. -Anu mostly uses `em` unit for applying padding, height, width, etc. You can leverage this to create custom size we want just using font size utilities. +Anu mostly uses `em` unit for applying padding, height, width, etc. You can leverage this to create custom sizes as you want by just using font size utilities. Button @@ -18,11 +18,11 @@ Anu mostly uses `em` unit for applying padding, height, width, etc. You can leve ``` :::info -When using arbitrary font sizes, UnoCSS don't add `line-height` along with `font-size` property so if you have line height issue, do consider adding line height styles as well. +When using arbitrary font sizes, UnoCSS doesn't add `line-height` along with `font-size` property, so if you have line height issue, do consider adding line height styles as well. ::: :::tip Predefined Sizes -You can also create your own predefined sizes like `size` prop in other frameworks using custom class & shortcuts. +You can also create your own predefined sizes like `size` prop in other frameworks using custom classes & shortcuts. ```vue ``` -Now, create a new shortcut for this `'btn': '[&.size-xl]-p-8',`. You can also take it further with dynamic shortcuts and other UnoCSS features. +Now you can create a new shortcut for this `'btn': '[&.size-xl]-p-8',`. You can also take it further with dynamic shortcuts and other UnoCSS features. ::: diff --git a/docs/guide/features/dx-focused.md b/docs/guide/features/dx-focused.md index 92b14533..2769265d 100644 --- a/docs/guide/features/dx-focused.md +++ b/docs/guide/features/dx-focused.md @@ -23,11 +23,11 @@ const items = [ > _DX => Developer Experience_ -Frameworks are nice, they helps you write more maintainable and less code. In long run, developer experience does matter. +Frameworks are nice, they help you write more maintainable and less code. In the long run, developer experience does matter. ## Configurable Array -Assume you have list like below and want to just change the size of the avatar/icon in list. +Assume you have a list as shown below and you want to just change the size of the avatar/icon in the list.
@@ -127,7 +127,7 @@ const items = [ With Anu's atomic behavior, you can pass the existing props like `title`, `subtitle`, etc to certain components creating UI quickly without extra hassle. -Below code will create drawer with title & subtitle. This is because `ADrawer` uses `ACard` component that in turns uses `ATypography` component. +The code below will create a drawer with title & subtitle. This is because `ADrawer` uses `ACard` component that in turns uses `ATypography` component. ```vue