Skip to content

Commit

Permalink
docs: use semi single quote (#2980)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lmmmmmm-bb committed Aug 13, 2023
1 parent 401510f commit b47b207
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/config/shortcuts.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Shortcuts
description: The shortcuts functionality that UnoCSS provides is similar to Windi CSSs one.
description: The shortcuts functionality that UnoCSS provides is similar to Windi CSS's one.
---

# Shortcuts
Expand Down
2 changes: 1 addition & 1 deletion docs/config/variants.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ With this, we could have `m-2` applied only when users hover over the element.

## Going further

The variant system is very powerful and cant be covered fully in this guide, you can check [the default presets implementation](https://github.com/unocss/unocss/tree/main/packages/preset-mini/src/_variants) to see more advanced usages.
The variant system is very powerful and can't be covered fully in this guide, you can check [the default preset's implementation](https://github.com/unocss/unocss/tree/main/packages/preset-mini/src/_variants) to see more advanced usages.
2 changes: 1 addition & 1 deletion docs/integrations/vite.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ This mode will generate a CSS sheet for each code chunk on build, great for MPA.

## Edit classes in DevTools

Because of limitation of "on-demand" where the DevTools dont know those you havent used in your source code yet. So if you want to try how things work by directly changing the classes in DevTools, just add the following lines to your main entry.
Because of limitation of "on-demand" where the DevTools don't know those you haven't used in your source code yet. So if you want to try how things work by directly changing the classes in DevTools, just add the following lines to your main entry.

```ts
import 'uno.css'
Expand Down
6 changes: 3 additions & 3 deletions docs/presets/attributify.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ import { presetAttributify } from 'unocss'

## Attributify Mode

Imagine you have this button using Tailwinds utilities. When the list gets longer, it becomes really hard to read and maintain.
Imagine you have this button using Tailwind's utilities. When the list gets longer, it becomes really hard to read and maintain.

```html
<button class="bg-blue-400 hover:bg-blue-500 text-sm text-white font-mono font-light py-2 px-4 rounded border-2 border-blue-200 dark:bg-blue-500 dark:hover:bg-blue-600">
Expand Down Expand Up @@ -92,7 +92,7 @@ Can be written as:

## Valueless attributify

In addition to Windi CSSs attributify mode, this preset also supports valueless attributes.
In addition to Windi CSS's attributify mode, this preset also supports valueless attributes.

For example,

Expand All @@ -112,7 +112,7 @@ Note: If you are using JSX, `<div foo>` might be transformed to `<div foo={true}

## Properties conflicts

If the name of the attributes mode ever conflicts with the elements or components properties, you can add `un-` prefix to be specific to UnoCSSs attributify mode.
If the name of the attributes mode ever conflicts with the elements' or components' properties, you can add `un-` prefix to be specific to UnoCSS's attributify mode.

For example:

Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/utils/escape.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function escapeSelector(str: string): string {
const firstCodeUnit = str.charCodeAt(0)
while (++index < length) {
codeUnit = str.charCodeAt(index)
// Note: theres no need to special-case astral symbols, surrogate
// Note: there's no need to special-case astral symbols, surrogate
// pairs, or lone surrogates.

// If the character is NULL (U+0000), then the REPLACEMENT CHARACTER
Expand Down

0 comments on commit b47b207

Please sign in to comment.