-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2700 from db-ui/docs-improve-globally
docs: replace some code formatting by bold formatting
- Loading branch information
Showing
8 changed files
with
53 additions
and
53 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
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
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,26 +1,26 @@ | ||
# Icons | ||
|
||
- We use icon fonts as `woff2` files for all our icons. | ||
- We use icon fonts as **woff2** files for all our icons. | ||
- We auto generate these files out of `.svg` files. | ||
- A lot of our [components](../../components/readme) have an `icon` property you can pass in. | ||
|
||
## How to include icons | ||
|
||
For `CSS`, `SCSS` and `Tailwind` you don't have to include a specific file, just follow the documentation for [foundations](../../foundations/readme). | ||
For **CSS**, **SCSS** and **Tailwind** you don't have to include a specific file, just follow the documentation for [foundations](../../foundations/readme). | ||
|
||
### How to use | ||
|
||
We're providing an [overview for all of our icons](./overview). | ||
|
||
You can add an icon before or after a tag, by adding an `data-` attribute to your HTML code, like for example: | ||
|
||
| Variant | Data | | ||
| ------- | :------------------------------------: | | ||
| before | `data-icon="icon-from-overview"` | | ||
| after | `data-icon-after="icon-from-overview"` | | ||
| Variant | Data | | ||
| -------- | :------------------------------------: | | ||
| `before` | `data-icon="icon-from-overview"` | | ||
| `after` | `data-icon-after="icon-from-overview"` | | ||
|
||
## Custom Icons | ||
|
||
If you have custom icons and want to use them for foundations and/or in components, you need to generate a `woff2` file. | ||
If you have custom icons and want to use them for foundations and/or in components, you need to generate a **woff2** file. | ||
|
||
[More information](./CustomIcons.md) |
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