Basics
Die Basics bilden die grundlegenden Designelemente und -prinzipien, die die visuellen und funktionalen Standards für Ihr Designsystem setzen. Sie legen die wichtigsten Regeln und Richtlinien fest, an die sich alle Controls und Components halten sollten.
Zum Beispiel gehört Typografie (Schriftarten, -größen und -abstände), Farbschemas (Primär- und Sekundärfarben sowie Text- und Hintergrundfarben) und Layoutprinzipien (Grid und Spacing). Diese Elemente sorgen für ein einheitliches Erscheinungsbild im gesamten Gestaltungssystem.
Typography
h1 - Heading 1
h2 - Heading 2
h3 - Heading 3
h4 - Heading 4
h5 - Heading 5
h6 - Heading 6
Lorem ipsum dolor sit, amet consectetur adipisicing elit. Fuga voluptas hic consectetur repellendus necessitatibus quis autem eaque. Vero sunt quibusdam eaque maiores ab mollitia necessitatibus quisquam minus, iste beatae provident tempore quaerat ad aliquam ut numquam aut placeat. Suscipit deleniti, ab ratione facere eos harum illum hic vitae quas cum?
Lorem ipsum dolor sit, amet consectetur adipisicing elit. Fuga voluptas hic consectetur repellendus necessitatibus quis autem eaque. Vero sunt quibusdam eaque maiores ab mollitia necessitatibus quisquam minus, iste beatae provident tempore quaerat ad aliquam ut numquam aut placeat. Suscipit deleniti, ab ratione facere eos harum illum hic vitae quas cum?
Lorem ipsum dolor sit, amet consectetur adipisicing elit. Fuga voluptas hic consectetur repellendus necessitatibus quis autem eaque. Vero sunt quibusdam eaque maiores ab mollitia necessitatibus quisquam minus, iste beatae provident tempore quaerat ad aliquam ut numquam aut placeat. Suscipit deleniti, ab ratione facere eos harum illum hic vitae quas cum?
Lorem ipsum dolor sit, amet consectetur adipisicing elit. Fuga voluptas hic consectetur repellendus necessitatibus quis autem eaque. Vero sunt quibusdam eaque maiores ab mollitia necessitatibus quisquam minus, iste beatae provident tempore quaerat ad aliquam ut numquam aut placeat. Suscipit deleniti, ab ratione facere eos harum illum hic vitae quas cum?
Lorem ipsum dolor sit, amet consectetur adipisicing elit. Fuga voluptas hic consectetur repellendus necessitatibus quis autem eaque. Vero sunt quibusdam eaque maiores ab mollitia necessitatibus quisquam minus, iste beatae provident tempore quaerat ad aliquam ut numquam aut placeat. Suscipit deleniti, ab ratione facere eos harum illum hic vitae quas cum?
Colors
Borders
Shadows
Icons
-
tk-icon-access-time
-
tk-icon-add-shopping-cart
-
tk-icon-add
-
tk-icon-arrow-back
-
tk-icon-arrow-downward
-
tk-icon-arrow-forward
-
tk-icon-arrow-upward
-
tk-icon-assignment
-
tk-icon-basket
-
tk-icon-bolt
-
tk-icon-box
-
tk-icon-build
-
tk-icon-calendar
-
tk-icon-call
-
tk-icon-camera
-
tk-icon-cargo
-
tk-icon-cart
-
tk-icon-check
-
tk-icon-chevron-left
-
tk-icon-chevron-right
-
tk-icon-comment
-
tk-icon-content-cut
-
tk-icon-content-paste
-
tk-icon-cross
-
tk-icon-dashboard_customize
-
tk-icon-document-pdf
-
tk-icon-edit
-
tk-icon-email
-
tk-icon-error
-
tk-icon-expand-less
-
tk-icon-expand-more
-
tk-icon-file-download
-
tk-icon-file-kanban
-
tk-icon-file-upload
-
tk-icon-file-xls
-
tk-icon-filter
-
tk-icon-fire-extinguisher
-
tk-icon-first-page
-
tk-icon-grid
-
tk-icon-group-add
-
tk-icon-history
-
tk-icon-inbox
-
tk-icon-inclination
-
tk-icon-info
-
tk-icon-inventory
-
tk-icon-keyboard-backspace
-
tk-icon-keyboard-escape
-
tk-icon-keyboard-return
-
tk-icon-keyboard-tab
-
tk-icon-last-page
-
tk-icon-link
-
tk-icon-list
-
tk-icon-local-offer
-
tk-icon-login
-
tk-icon-menu
-
tk-icon-minimize
-
tk-icon-more
-
tk-icon-not-disturb
-
tk-icon-percent
-
tk-icon-person
-
tk-icon-question-mark
-
tk-icon-remove
-
tk-icon-save
-
tk-icon-screw
-
tk-icon-search
-
tk-icon-shopping-bag
-
tk-icon-short-text
-
tk-icon-sort
-
tk-icon-star-filled
-
tk-icon-star
-
tk-icon-store
-
tk-icon-success
-
tk-icon-sync
-
tk-icon-tile
-
tk-icon-timelapse
-
tk-icon-topseller
-
tk-icon-trash
-
tk-icon-tune
-
tk-icon-undo
-
tk-icon-update
-
tk-icon-user-circle
-
tk-icon-verified
-
tk-icon-view-carousel
-
tk-icon-visibility-off
-
tk-icon-visibility
-
tk-icon-warning
Grid
Die $spacer-size-list
oder in diesem Context $size
bildet das 4pt Grid System dar.
$size |
Wert |
$size
0
|
Wert 0 |
$size
1
|
Wert 4px |
$size
2
|
Wert 8px |
$size
3
|
Wert 12px |
$size
...
|
Wert ... |
.spacer-[boundary][side]-$size
Boundary | Property |
Boundary
m
|
Property
margin
|
Boundary
p
|
Property
padding
|
Sides | Property |
Sides
t
|
Property
[boundary]-top
|
Sides
r
|
Property
[boundary]-right
|
Sides
b
|
Property
[boundary]-bottom
|
Sides
l
|
Property
[boundary]-left
|
Sides
v
|
Property
[boundary]-block
|
Sides
h
|
Property
[boundary]-inline
|
Tile-Title
Lorem ipsum dolor sit amet consectetur adipisicing elit. Blanditiis dolor officia maxime aut eveniet necessitatibus illum voluptatibus accusamus eaque nobis?
Tile-Title
Lorem ipsum dolor sit amet consectetur adipisicing elit. Blanditiis dolor officia maxime aut eveniet necessitatibus illum voluptatibus accusamus eaque nobis?
Tile-Title
Lorem ipsum dolor sit amet consectetur adipisicing elit. Blanditiis dolor officia maxime aut eveniet necessitatibus illum voluptatibus accusamus eaque nobis?
Tile-Title
Lorem ipsum dolor sit amet consectetur adipisicing elit. Blanditiis dolor officia maxime aut eveniet necessitatibus illum voluptatibus accusamus eaque nobis?
Tile-Title
Lorem ipsum dolor sit amet consectetur adipisicing elit. Blanditiis dolor officia maxime aut eveniet necessitatibus illum voluptatibus accusamus eaque nobis?
Tile-Title
Lorem ipsum dolor sit amet consectetur adipisicing elit. Blanditiis dolor officia maxime aut eveniet necessitatibus illum voluptatibus accusamus eaque nobis?
Tile-Title
Lorem ipsum dolor sit amet consectetur adipisicing elit. Blanditiis dolor officia maxime aut eveniet necessitatibus illum voluptatibus accusamus eaque nobis?
Tile-Title
Lorem ipsum dolor sit amet consectetur adipisicing elit. Blanditiis dolor officia maxime aut eveniet necessitatibus illum voluptatibus accusamus eaque nobis?
Tile-Title
Lorem ipsum dolor sit amet consectetur adipisicing elit. Blanditiis dolor officia maxime aut eveniet necessitatibus illum voluptatibus accusamus eaque nobis?
Tile-Title
Lorem ipsum dolor sit amet consectetur adipisicing elit. Blanditiis dolor officia maxime aut eveniet necessitatibus illum voluptatibus accusamus eaque nobis?
Tile-Title
Lorem ipsum dolor sit amet consectetur adipisicing elit. Blanditiis dolor officia maxime aut eveniet necessitatibus illum voluptatibus accusamus eaque nobis?
Tile-Title
Lorem ipsum dolor sit amet consectetur adipisicing elit. Blanditiis dolor officia maxime aut eveniet necessitatibus illum voluptatibus accusamus eaque nobis?
Klasse | Property |
Klasse
.flex
|
Property
display: flex;
|
Klasse
.flex--gap-$size
|
Property
gap: $size;
|
Klasse
.flex--gap-x-$size
|
Property
column-gap: $size;
|
Klasse
.flex--gap-y-$size
|
Property
row-gap: $size;
|
Klasse
.flex--row
|
Property
flex-direction: row;
|
Klasse
.flex--row-reverse
|
Property
flex-direction: row-reverse;
|
Klasse
.flex--col
|
Property
flex-direction: column;
|
Klasse
.flex--col-reverse
|
Property
flex-direction: column-reverse;
|
Klasse
.flex--wrap
|
Property
flex-wrap: wrap;
|
Klasse
.flex--wrap-reverse
|
Property
flex-wrap: wrap-reverse;
|
Klasse
.flex--nowrap
|
Property
flex-wrap: nowrap;
|
Klasse
.flex--justify-normal
|
Property
justify-content: normal;
|
Klasse
.flex--justify-start
|
Property
justify-content: flex-start;
|
Klasse
.flex--justify-end
|
Property
justify-content: flex-end;
|
Klasse
.flex--justify-center
|
Property
justify-content: center;
|
Klasse
.flex--justify-between
|
Property
justify-content: space-between;
|
Klasse
.flex--justify-around
|
Property
justify-content: space-around;
|
Klasse
.flex--justify-evenly
|
Property
justify-content: space-evenly;
|
Klasse
.flex--justify-stretch
|
Property
justify-content: stretch;
|
Klasse
.flex--items-start
|
Property
align-items: flex-start;
|
Klasse
.flex--items-end
|
Property
align-items: flex-end;
|
Viewport
<tk-viewport>
Mit dieser Web Component hat man die Möglichkeit mit einer anderen Web Component einen Event Listener zu erstellen, um Informationen zu erhalten, wenn die Breakpoints erreicht werden beim Verändern des Viewports. Das Viewport Web Component ist im Window-Objekt initialisiert und kann somit von überall aus zugegriffen werden.
breakpoints: Map<Breakpoint, number>
Type: Breakpoint | Wert |
Type: Breakpoint xs | Wert 576 |
Type: Breakpoint s | Wert 768 |
Type: Breakpoint m | Wert 992 |
Type: Breakpoint l | Wert 1200 |
Type: Breakpoint xl | Wert 1440 |
Data-Attribut | TypeScript-Type | Default | Beschreibung |
Data-Attribut
data-tk-resize-event-name
|
TypeScript-Type string | Default tk-viewport-resize | Beschreibung |
Der Output des Events ist ein CustomEvent
. Ein CustomEvent
bietet das zusätzliche Property detail
an. Im detail
ist folgendes enthalten:
Output | TypeScript-Type | Beschreibung |
Output
width
|
TypeScript-Type number | Beschreibung Die aktuelle Viewport Breite |
Output
breakpoint
|
TypeScript-Type Breakpoint | Beschreibung Der aktuelle Breakpoint in Mobile First. |