-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/badge #394
Feat/badge #394
Changes from 11 commits
1aa5df4
a77a160
4663efd
8767739
bc2ef70
624cd16
c36e864
ed4339b
da728f7
9703be4
444551e
83417e1
f3efbd6
2ec4b72
46bba73
cb0f56b
abc3293
e0c9d8e
20be4ed
860b45d
6e80953
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,388 @@ | ||
|
||
<div data-sketch-artboard="Badge" class="artboard"> | ||
<h1 class="title--artboard">Overview</h1> | ||
|
||
<h2 class="title--artboard-section">Badge Eyecatcher</h2> | ||
<div class="agent-states--grid" data-category="Text only"> | ||
<div class="agent-states--item"> | ||
<p class="agent-states--label">Magenta - Large</p> | ||
<scale-badge size="big" color="magenta" rotation="0"> | ||
<div> | ||
<div | ||
style=" | ||
text-align: center; | ||
font-size: 20px; | ||
font-family: TeleNeo; | ||
color: white; | ||
font-weight: 400; | ||
" | ||
> | ||
Für nur | ||
</div> | ||
<div | ||
style=" | ||
text-align: center; | ||
font-size: 60px; | ||
font-family: TeleNeo; | ||
color: white; | ||
font-weight: 700; | ||
" | ||
> | ||
<span> 15 € </span> | ||
</div> | ||
</div> | ||
</scale-badge> | ||
</div> | ||
<div class="agent-states--item"> | ||
<p class="agent-states--label">White - Large</p> | ||
<scale-badge size="big" color="white" rotation="0"> | ||
<div> | ||
<div | ||
style=" | ||
text-align: center; | ||
font-size: 20px; | ||
font-family: TeleNeo; | ||
color: black; | ||
font-weight: 400; | ||
" | ||
> | ||
Für nur | ||
</div> | ||
<div | ||
style=" | ||
text-align: center; | ||
font-size: 60px; | ||
font-family: TeleNeo; | ||
color: black; | ||
font-weight: 700; | ||
" | ||
> | ||
<span> 15 € </span> | ||
</div> | ||
</div> | ||
</scale-badge> | ||
</div> | ||
<div class="agent-states--item"> | ||
<p class="agent-states--label">Black - Large</p> | ||
<scale-badge size="big" color="black" rotation="0"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. big should be large instead |
||
<div> | ||
<div | ||
style=" | ||
text-align: center; | ||
font-size: 20px; | ||
font-family: TeleNeo; | ||
color: white; | ||
font-weight: 400; | ||
" | ||
> | ||
Für nur | ||
</div> | ||
<div | ||
style=" | ||
text-align: center; | ||
font-size: 60px; | ||
font-family: TeleNeo; | ||
color: white; | ||
font-weight: 700; | ||
" | ||
> | ||
<span> 15 € </span> | ||
</div> | ||
</div> | ||
</scale-badge> | ||
</div> | ||
<div class="agent-states--item"> | ||
<p class="agent-states--label">Colored - Large</p> | ||
<scale-badge size="big" color="blue" rotation="0"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. big should be large instead |
||
<div> | ||
<div | ||
style=" | ||
text-align: center; | ||
font-size: 20px; | ||
font-family: TeleNeo; | ||
color: white; | ||
font-weight: 400; | ||
" | ||
> | ||
Für nur | ||
</div> | ||
<div | ||
style=" | ||
text-align: center; | ||
font-size: 60px; | ||
font-family: TeleNeo; | ||
color: white; | ||
font-weight: 700; | ||
" | ||
> | ||
<span> 15 € </span> | ||
</div> | ||
</div> | ||
</scale-badge> | ||
</div> | ||
</div> | ||
|
||
|
||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. do we really need all these linebreaks? |
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<h2 class="title--artboard-section"></h2> | ||
<div class="agent-states--grid" data-category="Text only"> | ||
<div class="agent-states--item"> | ||
<p class="agent-states--label">Magenta - Small</p> | ||
<scale-badge size="small" color="magenta" rotation="0"> | ||
<div> | ||
<div | ||
style=" | ||
text-align: center; | ||
font-size: 20px; | ||
font-family: TeleNeo; | ||
color: white; | ||
font-weight: 400; | ||
" | ||
> | ||
Für nur | ||
</div> | ||
<div | ||
style=" | ||
text-align: center; | ||
font-size: 60px; | ||
font-family: TeleNeo; | ||
color: white; | ||
font-weight: 700; | ||
" | ||
> | ||
<span> 15 € </span> | ||
</div> | ||
</div> | ||
</scale-badge> | ||
</div> | ||
<div class="agent-states--item"> | ||
<p class="agent-states--label">White - small</p> | ||
<scale-badge size="small" color="white" rotation="0"> | ||
<div> | ||
<div | ||
style=" | ||
text-align: center; | ||
font-size: 20px; | ||
font-family: TeleNeo; | ||
color: black; | ||
font-weight: 400; | ||
" | ||
> | ||
Für nur | ||
</div> | ||
<div | ||
style=" | ||
text-align: center; | ||
font-size: 60px; | ||
font-family: TeleNeo; | ||
color: black; | ||
font-weight: 700; | ||
" | ||
> | ||
<span> 15 € </span> | ||
</div> | ||
</div> | ||
</scale-badge> | ||
</div> | ||
<div class="agent-states--item"> | ||
<p class="agent-states--label">Black - Small</p> | ||
<scale-badge size="small" color="black" rotation="0"> | ||
<div> | ||
<div | ||
style=" | ||
text-align: center; | ||
font-size: 20px; | ||
font-family: TeleNeo; | ||
color: white; | ||
font-weight: 400; | ||
" | ||
> | ||
Für nur | ||
</div> | ||
<div | ||
style=" | ||
text-align: center; | ||
font-size: 60px; | ||
font-family: TeleNeo; | ||
color: white; | ||
font-weight: 700; | ||
" | ||
> | ||
<span> 15 € </span> | ||
</div> | ||
</div> | ||
</scale-badge> | ||
</div> | ||
<div class="agent-states--item"> | ||
<p class="agent-states--label">Colored - small</p> | ||
<scale-badge size="small" color="blue" rotation="0"> | ||
<div> | ||
<div | ||
style=" | ||
text-align: center; | ||
font-size: 20px; | ||
font-family: TeleNeo; | ||
color: white; | ||
font-weight: 400; | ||
" | ||
> | ||
Für nur | ||
</div> | ||
<div | ||
style=" | ||
text-align: center; | ||
font-size: 60px; | ||
font-family: TeleNeo; | ||
color: white; | ||
font-weight: 700; | ||
" | ||
> | ||
<span> 15 € </span> | ||
</div> | ||
</div> | ||
</scale-badge> | ||
</div> | ||
</div> | ||
|
||
<h2 class="title--artboard-section"></h2> | ||
<div class="agent-states--grid" data-category="Text only"> | ||
<div class="agent-states--item"> | ||
<p class="agent-states--label">Rotation 0˚ Default</p> | ||
<scale-badge size="big" color="magenta" rotation="0"> | ||
<div> | ||
<div | ||
style=" | ||
text-align: center; | ||
font-size: 20px; | ||
font-family: TeleNeo; | ||
color: white; | ||
font-weight: 400; | ||
" | ||
> Für nur | ||
</div> | ||
<div | ||
style=" | ||
text-align: center; | ||
font-size: 60px; | ||
font-family: TeleNeo; | ||
color: white; | ||
font-weight: 700; | ||
" | ||
> <span> 15 € </span> | ||
</div> | ||
</div> | ||
</scale-badge> | ||
</div> | ||
<div class="agent-states--item"> | ||
<p class="agent-states--label">Rotation 30˚ </p> | ||
<scale-badge size="big" color="blue" rotation="30"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. big should be large instead |
||
<div> | ||
<div | ||
style=" | ||
text-align: center; | ||
font-size: 20px; | ||
font-family: TeleNeo; | ||
color: black; | ||
font-weight: 400; | ||
" | ||
> Für nur | ||
</div> | ||
<div | ||
style=" | ||
text-align: center; | ||
font-size: 60px; | ||
font-family: TeleNeo; | ||
color: black; | ||
font-weight: 700; | ||
" | ||
> <span> 15 € </span> | ||
</div> | ||
</div> | ||
</scale-badge> | ||
</div> | ||
<div class="agent-states--item"> | ||
<p class="agent-states--label">Rotation 90˚ </p> | ||
<scale-badge size="big" color="black" rotation="90"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. big should be large instead |
||
<div> | ||
<div | ||
style=" | ||
text-align: center; | ||
font-size: 20px; | ||
font-family: TeleNeo; | ||
color: white; | ||
font-weight: 400; | ||
" | ||
> Für nur | ||
</div> | ||
<div | ||
style=" | ||
text-align: center; | ||
font-size: 60px; | ||
font-family: TeleNeo; | ||
color: white; | ||
font-weight: 700; | ||
" | ||
> | ||
<span> 15 € </span> | ||
</div> | ||
</div> | ||
</scale-badge> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<script src="/symbol_names.js"></script> | ||
<script> | ||
Array.from(document.querySelectorAll('scale-badge')).forEach((btn, i) => { | ||
btn.dataset.sketchSymbol = `Badge / ${order( | ||
1, | ||
getCategoryName(btn) | ||
)} / ${order( | ||
2, | ||
btn.dataset.hasIcon ? 'With Icon' : 'Without Icon' | ||
)} / ${order(4, getStateName(btn))}`; | ||
}); | ||
</script> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
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.
big should be large instead