Tags kleurenset zes kleuren & drie tinten
Kleurensets voor tags.
Benodigde stappen:
- Voeg de benodigde bestanden toe aan het project.
- Voor een overzicht van de benodigde en optionele bestanden zie: Bijbehorende bestanden.
- Voeg de benodigde class toe op de gewenste elementen. Voor meer informatie over het implementeren zie de voorbeelden.
Voorbeelden
Kleuren met drie tinten
Voorbeeld waarbij gebruik wordt gemaakt van de volledige kleurenset met zes basiskleuren en drie tinten per kleur.
Visueel voorbeeld
Licht | Medium | Donker |
---|---|---|
HTML-voorbeeld
<div class="horizontal-scroll">
<table class="tags">
<caption>Kleuren en types-overzicht:</caption>
<thead>
<tr>
<th scope="col">Licht</th>
<th scope="col">Medium</th>
<th scope="col">Donker</th>
</tr>
</thead>
<tbody>
<tr>
<td><p class="tags-color-1-light">Label</p></td>
<td><p class="tags-color-1-medium">Label</p></td>
<td><p class="tags-color-1-dark">Label</p></td>
</tr>
<tr>
<td><p class="tags-color-2-light">Label</p></td>
<td><p class="tags-color-2-medium">Label</p></td>
<td><p class="tags-color-2-dark">Label</p></td>
</tr>
<tr>
<td><p class="tags-color-3-light">Label</p></td>
<td><p class="tags-color-3-medium">Label</p></td>
<td><p class="tags-color-3-dark">Label</p></td>
</tr>
<tr>
<td><p class="tags-color-4-light">Label</p></td>
<td><p class="tags-color-4-medium">Label</p></td>
<td><p class="tags-color-4-dark">Label</p></td>
</tr>
<tr>
<td><p class="tags-color-5-light">Label</p></td>
<td><p class="tags-color-5-medium">Label</p></td>
<td><p class="tags-color-5-dark">Label</p></td>
</tr>
<tr>
<td><p class="tags-color-6-light">Label</p></td>
<td><p class="tags-color-6-medium">Label</p></td>
<td><p class="tags-color-6-dark">Label</p></td>
</tr>
</tbody>
</table>
</div>
Kleuren en types
Voorbeeld waarbij gebruik wordt gemaakt van de volledige kleurenset en de beschikbare border-styles.
Visueel voorbeeld
Licht | Medium | Donker |
---|---|---|
HTML-voorbeeld
<div class="horizontal-scroll">
<table class="tags">
<caption>Kleuren en types-overzicht:</caption>
<thead>
<tr>
<th scope="col">Licht</th>
<th scope="col">Medium</th>
<th scope="col">Donker</th>
</tr>
</thead>
<tbody>
<tr>
<td><p class="tags-color-1-light plain">Label</p></td>
<td><p class="tags-color-1-medium plain">Label</p></td>
<td><p class="tags-color-1-dark plain">Label</p></td>
</tr>
<tr>
<td><p class="tags-color-1-light solid">Label</p></td>
<td><p class="tags-color-1-medium solid">Label</p></td>
<td><p class="tags-color-1-dark solid">Label</p></td>
</tr>
<tr>
<td><p class="tags-color-1-light dashed">Label</p></td>
<td><p class="tags-color-1-medium dashed">Label</p></td>
<td><p class="tags-color-1-dark dashed">Label</p></td>
</tr>
<tr>
<td><p class="tags-color-1-light dotted">Label</p></td>
<td><p class="tags-color-1-medium dotted">Label</p></td>
<td><p class="tags-color-1-dark dotted">Label</p></td>
</tr>
<tr>
<td><p class="tags-color-2-light plain">Label</p></td>
<td><p class="tags-color-2-medium plain">Label</p></td>
<td><p class="tags-color-2-dark plain">Label</p></td>
</tr>
<tr>
<td><p class="tags-color-2-light solid">Label</p></td>
<td><p class="tags-color-2-medium solid">Label</p></td>
<td><p class="tags-color-2-dark solid">Label</p></td>
</tr>
<tr>
<td><p class="tags-color-2-light dashed">Label</p></td>
<td><p class="tags-color-2-medium dashed">Label</p></td>
<td><p class="tags-color-2-dark dashed">Label</p></td>
</tr>
<tr>
<td><p class="tags-color-2-light dotted">Label</p></td>
<td><p class="tags-color-2-medium dotted">Label</p></td>
<td><p class="tags-color-2-dark dotted">Label</p></td>
</tr>
<tr>
<td><p class="tags-color-3-light plain">Label</p></td>
<td><p class="tags-color-3-medium plain">Label</p></td>
<td><p class="tags-color-3-dark plain">Label</p></td>
</tr>
<tr>
<td><p class="tags-color-3-light solid">Label</p></td>
<td><p class="tags-color-3-medium solid">Label</p></td>
<td><p class="tags-color-3-dark solid">Label</p></td>
</tr>
<tr>
<td><p class="tags-color-3-light dashed">Label</p></td>
<td><p class="tags-color-3-medium dashed">Label</p></td>
<td><p class="tags-color-3-dark dashed">Label</p></td>
</tr>
<tr>
<td><p class="tags-color-3-light dotted">Label</p></td>
<td><p class="tags-color-3-medium dotted">Label</p></td>
<td><p class="tags-color-3-dark dotted">Label</p></td>
</tr>
<tr>
<td><p class="tags-color-4-light plain">Label</p></td>
<td><p class="tags-color-4-medium plain">Label</p></td>
<td><p class="tags-color-4-dark plain">Label</p></td>
</tr>
<tr>
<td><p class="tags-color-4-light solid">Label</p></td>
<td><p class="tags-color-4-medium solid">Label</p></td>
<td><p class="tags-color-4-dark solid">Label</p></td>
</tr>
<tr>
<td><p class="tags-color-4-light dashed">Label</p></td>
<td><p class="tags-color-4-medium dashed">Label</p></td>
<td><p class="tags-color-4-dark dashed">Label</p></td>
</tr>
<tr>
<td><p class="tags-color-4-light dotted">Label</p></td>
<td><p class="tags-color-4-medium dotted">Label</p></td>
<td><p class="tags-color-4-dark dotted">Label</p></td>
</tr>
<tr>
<td><p class="tags-color-5-light plain">Label</p></td>
<td><p class="tags-color-5-medium plain">Label</p></td>
<td><p class="tags-color-5-dark plain">Label</p></td>
</tr>
<tr>
<td><p class="tags-color-5-light solid">Label</p></td>
<td><p class="tags-color-5-medium solid">Label</p></td>
<td><p class="tags-color-5-dark solid">Label</p></td>
</tr>
<tr>
<td><p class="tags-color-5-light dashed">Label</p></td>
<td><p class="tags-color-5-medium dashed">Label</p></td>
<td><p class="tags-color-5-dark dashed">Label</p></td>
</tr>
<tr>
<td><p class="tags-color-5-light dotted">Label</p></td>
<td><p class="tags-color-5-medium dotted">Label</p></td>
<td><p class="tags-color-5-dark dotted">Label</p></td>
</tr>
<tr>
<td><p class="tags-color-6-light plain">Label</p></td>
<td><p class="tags-color-6-medium plain">Label</p></td>
<td><p class="tags-color-6-dark plain">Label</p></td>
</tr>
<tr>
<td><p class="tags-color-6-light solid">Label</p></td>
<td><p class="tags-color-6-medium solid">Label</p></td>
<td><p class="tags-color-6-dark solid">Label</p></td>
</tr>
<tr>
<td><p class="tags-color-6-light dashed">Label</p></td>
<td><p class="tags-color-6-medium dashed">Label</p></td>
<td><p class="tags-color-6-dark dashed">Label</p></td>
</tr>
<tr>
<td><p class="tags-color-6-light dotted">Label</p></td>
<td><p class="tags-color-6-medium dotted">Label</p></td>
<td><p class="tags-color-6-dark dotted">Label</p></td>
</tr>
</tbody>
</table>
</div>
Bijbehorende bestanden
Voor meer informatie over importeren en instellen van componenten. Zie: Componenten gebruiken en styling toevoegen
Importeer component via npm
CSS-voorbeeld:
Het voorbeeld maakt gebruik van de kleurenset tag-colors-soft
. Dit is
optioneel. De variabelen binnen tags-6-3 kunnen naar keuze met kleuren (hex codes) of
variabelen uit kleurensets gevuld worden.
Bij het gebruik van variabelen uit kleurensets dient de kleurenset altijd eerst ingeladen te worden zodat de variabelen uit die set beschikbaar zijn voor het tags-6-3-bestand.Zie onderstaand voorbeeld voor meer informatie.
/* Color sets */
@use "@minvws/manon/tag-colors-soft";
/* Tags */
@use "@minvws/manon/tag";
@use "@minvws/manon/tags";
@use "@minvws/manon/tags-6-3";
Instelbare variabelen
Variabele | CSS-attribuut | Manon ingestelde waarde | Breekpunt | Class |
---|---|---|---|---|
--tags-color-1-light-background-color | background-color | var(--tags-soft-blue-light-background-color) | - | - |
--tags-color-1-light-text-color | text-color | var(--tags-soft-blue-light-text-color) | - | - |
--tags-color-1-light-border-color | border-color | var(--tags-soft-blue-light-border-color) | - | - |
--tags-color-1-medium-background-color | background-color | var(--tags-soft-blue-medium-background-color) | - | - |
--tags-color-1-medium-text-color | text-color | var(--tags-soft-blue-medium-text-color) | - | - |
--tags-color-1-medium-border-color | border-color | var(--tags-soft-blue-medium-border-color) | - | - |
--tags-color-1-dark-background-color | background-color | var(--tags-soft-blue-dark-background-color) | - | - |
--tags-color-1-dark-text-color | text-color | var(--tags-soft-blue-dark-text-color) | - | - |
--tags-color-1-dark-border-color | border-color | var(--tags-soft-blue-dark-border-color) | - | - |
--tags-color-2-light-background-color | background-color | var(--tags-soft-green-light-background-color) | - | - |
--tags-color-2-light-text-color | text-color | var(--tags-soft-green-light-text-color) | - | - |
--tags-color-2-light-border-color | border-color | var(--tags-soft-green-light-border-color) | - | - |
--tags-color-2-medium-background-color | background-color | var(--tags-soft-green-medium-background-color) | - | - |
--tags-color-2-medium-text-color | text-color | var(--tags-soft-green-medium-text-color) | - | - |
--tags-color-2-medium-border-color | border-color | var(--tags-soft-green-medium-border-color) | - | - |
--tags-color-2-dark-background-color | background-color | var(--tags-soft-green-dark-background-color) | - | - |
--tags-color-2-dark-text-color | text-color | var(--tags-soft-green-dark-text-color) | - | - |
--tags-color-2-dark-border-color | border-color | var(--tags-soft-green-dark-border-color) | - | - |
--tags-color-3-light-background-color | background-color | var(--tags-soft-yellow-light-background-color) | - | - |
--tags-color-3-light-text-color | text-color | var(--tags-soft-yellow-light-text-color) | - | - |
--tags-color-3-light-border-color | border-color | var(--tags-soft-yellow-light-border-color) | - | - |
--tags-color-3-medium-background-color | background-color | var(--tags-soft-yellow-medium-background-color) | - | - |
--tags-color-3-medium-text-color | text-color | var(--tags-soft-yellow-medium-text-color) | - | - |
--tags-color-3-medium-border-color | border-color | var(--tags-soft-yellow-medium-border-color) | - | - |
--tags-color-3-dark-background-color | background-color | var(--tags-soft-yellow-dark-background-color) | - | - |
--tags-color-3-dark-text-color | text-color | var(--tags-soft-yellow-dark-text-color) | - | - |
--tags-color-3-dark-border-color | border-color | var(--tags-soft-yellow-dark-border-color) | - | - |
--tags-color-4-light-background-color | background-color | var(--tags-soft-orange-light-background-color) | - | - |
--tags-color-4-light-text-color | text-color | var(--tags-soft-orange-light-text-color) | - | - |
--tags-color-4-light-border-color | border-color | var(--tags-soft-orange-light-border-color) | - | - |
--tags-color-4-medium-background-color | background-color | var(--tags-soft-orange-medium-background-color) | - | - |
--tags-color-4-medium-text-color | text-color | var(--tags-soft-orange-medium-text-color) | - | - |
--tags-color-4-medium-border-color | border-color | var(--tags-soft-orange-medium-border-color) | - | - |
--tags-color-4-dark-background-color | background-color | var(--tags-soft-orange-dark-background-color) | - | - |
--tags-color-4-dark-text-color | text-color | var(--tags-soft-orange-dark-text-color) | - | - |
--tags-color-4-dark-border-color | border-color | var(--tags-soft-orange-dark-border-color) | - | - |
--tags-color-5-light-background-color | background-color | var(--tags-soft-red-light-background-color) | - | - |
--tags-color-5-light-text-color | text-color | var(--tags-soft-red-light-text-color) | - | - |
--tags-color-5-light-border-color | border-color | var(--tags-soft-red-light-border-color) | - | - |
--tags-color-5-medium-background-color | background-color | var(--tags-soft-red-medium-background-color) | - | - |
--tags-color-5-medium-text-color | text-color | var(--tags-soft-red-medium-text-color) | - | - |
--tags-color-5-medium-border-color | border-color | var(--tags-soft-red-medium-border-color) | - | - |
--tags-color-5-dark-background-color | background-color | var(--tags-soft-red-dark-background-color) | - | - |
--tags-color-5-dark-text-color | text-color | var(--tags-soft-red-dark-text-color) | - | - |
--tags-color-5-dark-border-color | border-color | var(--tags-soft-red-dark-border-color) | - | - |
--tags-color-6-light-background-color | background-color | var(--tags-soft-violet-light-background-color) | - | - |
--tags-color-6-light-text-color | text-color | var(--tags-soft-violet-light-text-color) | - | - |
--tags-color-6-light-border-color | border-color | var(--tags-soft-violet-light-border-color) | - | - |
--tags-color-6-medium-background-color | background-color | var(--tags-soft-violet-medium-background-color) | - | - |
--tags-color-6-medium-text-color | text-color | var(--tags-soft-violet-medium-text-color) | - | - |
--tags-color-6-medium-border-color | border-color | var(--tags-soft-violet-medium-border-color) | - | - |
--tags-color-6-dark-background-color | background-color | var(--tags-soft-violet-dark-background-color) | - | - |
--tags-color-6-dark-text-color | text-color | var(--tags-soft-violet-dark-text-color) | - | - |
--tags-color-6-dark-border-color | border-color | var(--tags-soft-violet-dark-border-color) | - | - |