-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/1.0.0-alpha.6'
- Loading branch information
Showing
9 changed files
with
244 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,75 @@ | ||
--- | ||
sidebar: auto | ||
prev: false | ||
next: ./grid.html | ||
--- | ||
|
||
# Debug Outline | ||
|
||
@todo | ||
The debug outline plugins helps you visualise you HTML structure by adding colored outlines to all of them. | ||
|
||
## Configuration | ||
|
||
The plugin can be configured with the `theme.debugOutline` property: | ||
|
||
```js{3} | ||
module.exports = { | ||
theme: { | ||
debugOutline: false, | ||
}, | ||
}; | ||
``` | ||
|
||
### `debugOutline` | ||
|
||
- Type: `Boolean` | ||
- Default: `false` | ||
|
||
Whether the plugin is active or not. | ||
|
||
## Examples | ||
|
||
<Preview> | ||
<div class="debug"> | ||
<div class="grid"> | ||
<div class="grid-row mb-2"> | ||
<div class="grid-col-3"> | ||
<div class="h-4 text-grey-600 bg-white flex items-center justify-center">3</div> | ||
</div> | ||
<div class="grid-col-3"> | ||
<div class="h-4 text-grey-600 bg-white flex items-center justify-center">3</div> | ||
</div> | ||
<div class="grid-col-3"> | ||
<div class="h-4 text-grey-600 bg-white flex items-center justify-center">3</div> | ||
</div> | ||
<div class="grid-col-3"> | ||
<div class="h-4 text-grey-600 bg-white flex items-center justify-center">3</div> | ||
</div> | ||
</div> | ||
<div class="grid-row mb-2"> | ||
<div class="grid-col-4"> | ||
<div class="h-4 text-grey-600 bg-white flex items-center justify-center">4</div> | ||
</div> | ||
<div class="grid-col-4"> | ||
<div class="h-4 text-grey-600 bg-white flex items-center justify-center">4</div> | ||
</div> | ||
<div class="grid-col-4"> | ||
<div class="h-4 text-grey-600 bg-white flex items-center justify-center">4</div> | ||
</div> | ||
</div> | ||
<div class="grid-row mb-2"> | ||
<div class="grid-col-6"> | ||
<div class="h-4 text-grey-600 bg-white flex items-center justify-center">6</div> | ||
</div> | ||
<div class="grid-col-6"> | ||
<div class="h-4 text-grey-600 bg-white flex items-center justify-center">6</div> | ||
</div> | ||
</div> | ||
<div class="grid-row mb-2"> | ||
<div class="grid-col-12"> | ||
<div class="h-4 text-grey-600 bg-white flex items-center justify-center">12</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</Preview> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
--- | ||
sidebar: auto | ||
prev: ./grid.html | ||
next: false | ||
--- | ||
|
||
# Typography <Badge>Third party</Badge> | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.