Skip to content

Commit

Permalink
Remove outdated focus style description from preflight page (#1551)
Browse files Browse the repository at this point in the history
This PR removes the description about the outdated focus style that was removed in PR #4780.
  • Loading branch information
heavymery committed Mar 17, 2023
1 parent d8940d9 commit be3029d
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/pages/docs/preflight.mdx
Expand Up @@ -196,21 +196,6 @@ When you run into situations like this, you can work around them by overriding t

---

## Buttons have a default outline

To ensure that we provide accessible styles out of the box, we made sure
that buttons have a default outline. You can of course override this by
applying `focus:ring` or similar utilities to your buttons.

```css
button:focus {
outline: 1px dotted;
outline: 5px auto -webkit-focus-ring-color;
}
```

---

## Extending Preflight

If you'd like to add your own base styles on top of Preflight, simply add them to your CSS using the `@layer base` directive:
Expand Down

1 comment on commit be3029d

@vercel
Copy link

@vercel vercel bot commented on be3029d Mar 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.