-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(list): use dark mode aware color (#3015)
Co-authored-by: reslear <[email protected]>
- Loading branch information
1 parent
03022cb
commit 7d9e1fe
Showing
6 changed files
with
87 additions
and
77 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,21 @@ | ||
```html | ||
<ion-list [inset]="true"> | ||
<ion-item> | ||
<ion-label>Pokémon Yellow</ion-label> | ||
</ion-item> | ||
<ion-item> | ||
<ion-label>Mega Man X</ion-label> | ||
</ion-item> | ||
<ion-item> | ||
<ion-label>The Legend of Zelda</ion-label> | ||
</ion-item> | ||
<ion-item> | ||
<ion-label>Pac-Man</ion-label> | ||
</ion-item> | ||
<ion-item> | ||
<ion-label>Super Mario World</ion-label> | ||
</ion-item> | ||
</ion-list> | ||
<ion-content color="light"> | ||
<ion-list [inset]="true"> | ||
<ion-item> | ||
<ion-label>Pokémon Yellow</ion-label> | ||
</ion-item> | ||
<ion-item> | ||
<ion-label>Mega Man X</ion-label> | ||
</ion-item> | ||
<ion-item> | ||
<ion-label>The Legend of Zelda</ion-label> | ||
</ion-item> | ||
<ion-item> | ||
<ion-label>Pac-Man</ion-label> | ||
</ion-item> | ||
<ion-item> | ||
<ion-label>Super Mario World</ion-label> | ||
</ion-item> | ||
</ion-list> | ||
</ion-content> | ||
``` |
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,19 +1,21 @@ | ||
```html | ||
<ion-list inset="true"> | ||
<ion-item> | ||
<ion-label>Pokémon Yellow</ion-label> | ||
</ion-item> | ||
<ion-item> | ||
<ion-label>Mega Man X</ion-label> | ||
</ion-item> | ||
<ion-item> | ||
<ion-label>The Legend of Zelda</ion-label> | ||
</ion-item> | ||
<ion-item> | ||
<ion-label>Pac-Man</ion-label> | ||
</ion-item> | ||
<ion-item> | ||
<ion-label>Super Mario World</ion-label> | ||
</ion-item> | ||
</ion-list> | ||
<ion-content color="light"> | ||
<ion-list inset="true"> | ||
<ion-item> | ||
<ion-label>Pokémon Yellow</ion-label> | ||
</ion-item> | ||
<ion-item> | ||
<ion-label>Mega Man X</ion-label> | ||
</ion-item> | ||
<ion-item> | ||
<ion-label>The Legend of Zelda</ion-label> | ||
</ion-item> | ||
<ion-item> | ||
<ion-label>Pac-Man</ion-label> | ||
</ion-item> | ||
<ion-item> | ||
<ion-label>Super Mario World</ion-label> | ||
</ion-item> | ||
</ion-list> | ||
</ion-content> | ||
``` |
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,30 +1,32 @@ | ||
```html | ||
<template> | ||
<ion-list :inset="true"> | ||
<ion-item> | ||
<ion-label>Pokémon Yellow</ion-label> | ||
</ion-item> | ||
<ion-item> | ||
<ion-label>Mega Man X</ion-label> | ||
</ion-item> | ||
<ion-item> | ||
<ion-label>The Legend of Zelda</ion-label> | ||
</ion-item> | ||
<ion-item> | ||
<ion-label>Pac-Man</ion-label> | ||
</ion-item> | ||
<ion-item> | ||
<ion-label>Super Mario World</ion-label> | ||
</ion-item> | ||
</ion-list> | ||
<ion-content color="light"> | ||
<ion-list :inset="true"> | ||
<ion-item> | ||
<ion-label>Pokémon Yellow</ion-label> | ||
</ion-item> | ||
<ion-item> | ||
<ion-label>Mega Man X</ion-label> | ||
</ion-item> | ||
<ion-item> | ||
<ion-label>The Legend of Zelda</ion-label> | ||
</ion-item> | ||
<ion-item> | ||
<ion-label>Pac-Man</ion-label> | ||
</ion-item> | ||
<ion-item> | ||
<ion-label>Super Mario World</ion-label> | ||
</ion-item> | ||
</ion-list> | ||
</ion-content> | ||
</template> | ||
|
||
<script lang="ts"> | ||
import { IonItem, IonLabel, IonList } from '@ionic/vue'; | ||
import { IonContent, IonItem, IonLabel, IonList } from '@ionic/vue'; | ||
import { defineComponent } from 'vue'; | ||
export default defineComponent({ | ||
components: { IonItem, IonLabel, IonList }, | ||
components: { IonContent, IonItem, IonLabel, IonList }, | ||
}); | ||
</script> | ||
``` |
7d9e1fe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
ionic-docs – ./
ionic-docs-git-main-ionic1.vercel.app
ionic-docs-ionic1.vercel.app
ionic-docs-gqykycf8t.vercel.app