mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 09:51:36 +00:00
fix: outline text in thumbnail svg, fix invalid path (#1457)
Closes https://github.com/carbon-design-system/carbon-platform/issues/986
This commit is contained in:
parent
c747b3f392
commit
94ea06bfbc
2 changed files with 26 additions and 17 deletions
|
@ -2,7 +2,7 @@
|
|||
library:
|
||||
id: carbon-components-svelte
|
||||
name: Carbon Svelte
|
||||
description: Svelte implementation of Carbon Components.
|
||||
description: Build user interfaces with Carbon's core components.
|
||||
externalDocsUrl: https://carbon-components-svelte.onrender.com
|
||||
inherits: carbon-styles
|
||||
assets:
|
||||
|
@ -269,7 +269,7 @@ assets:
|
|||
type: component
|
||||
platform: web
|
||||
framework: svelte
|
||||
thumbnailPath: './thumbnails/inline-loading.svg'
|
||||
thumbnailPath: './thumbnails/inline-notification.svg'
|
||||
demoLinks:
|
||||
- type: storybook
|
||||
name: Storybook
|
||||
|
|
|
@ -1,15 +1,24 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="320px" height="180px" viewBox="0 0 320 180" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>button-set</title>
|
||||
<g id="button-set" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<rect id="Rectangle-Copy-2" fill="#393939" x="56" y="74" width="104" height="32"></rect>
|
||||
<rect id="Rectangle-Copy-4" fill="#FFFFFF" x="159" y="74" width="1" height="32"></rect>
|
||||
<rect id="Rectangle-Copy-3" fill="#0E62FE" x="160" y="74" width="104" height="32"></rect>
|
||||
<text id="Cancel" font-family="IBMPlexSans, IBM Plex Sans" font-size="12" font-weight="normal" fill="#F4F4F4">
|
||||
<tspan x="68" y="95">Cancel</tspan>
|
||||
</text>
|
||||
<text id="Submit" font-family="IBMPlexSans, IBM Plex Sans" font-size="12" font-weight="normal" fill="#FFFFFF">
|
||||
<tspan x="172" y="95">Submit</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</svg>
|
||||
<svg width="640" height="360" viewBox="0 0 640 360" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="button-set">
|
||||
<rect width="320" height="180" transform="scale(2)"/>
|
||||
<rect id="Rectangle Copy 2" x="112" y="148" width="208" height="64" fill="#393939"/>
|
||||
<rect id="Rectangle Copy 4" x="318" y="148" width="2" height="64"/>
|
||||
<rect id="Rectangle Copy 3" x="320" y="148" width="208" height="64" fill="#0E62FE"/>
|
||||
<g id="Cancel">
|
||||
<path d="M144.137 190.288C146.921 190.288 148.961 188.824 150.017 186.472L148.409 185.464C147.737 187.288 146.273 188.488 144.137 188.488C141.257 188.488 139.553 186.4 139.553 182.968V180.472C139.553 177.04 141.257 174.76 144.137 174.76C146.201 174.76 147.593 175.888 148.265 177.616L149.897 176.632C148.841 174.304 146.921 172.96 144.137 172.96C139.913 172.96 137.393 176.128 137.393 181.72C137.393 187.312 139.913 190.288 144.137 190.288Z" fill="#F4F4F4"/>
|
||||
<path d="M163.027 190V188.32H161.611V181.504C161.611 178.888 159.835 177.328 156.859 177.328C154.627 177.328 153.139 178.432 152.467 179.752L153.619 180.832C154.291 179.704 155.275 178.984 156.763 178.984C158.731 178.984 159.691 179.944 159.691 181.696V182.92H157.243C153.643 182.92 151.963 184.216 151.963 186.544C151.963 188.848 153.499 190.288 156.115 190.288C157.843 190.288 159.163 189.496 159.691 187.984H159.811C159.955 189.136 160.531 190 161.947 190H163.027ZM156.427 188.656C154.939 188.656 153.979 187.96 153.979 186.736V186.232C153.979 185.032 154.963 184.36 157.147 184.36H159.691V186.4C159.691 187.672 158.323 188.656 156.427 188.656Z" fill="#F4F4F4"/>
|
||||
<path d="M167.687 190V181.408C167.687 179.824 169.175 179.056 170.711 179.056C172.559 179.056 173.519 180.184 173.519 182.392V190H175.439V182.056C175.439 179.056 173.831 177.328 171.287 177.328C169.439 177.328 168.383 178.24 167.783 179.632H167.687V177.616H165.767V190H167.687Z" fill="#F4F4F4"/>
|
||||
<path d="M184.016 190.288C186.368 190.288 187.976 189.136 188.768 187.36L187.376 186.424C186.704 187.84 185.576 188.584 184.016 188.584C181.736 188.584 180.56 187.024 180.56 184.864V182.752C180.56 180.592 181.736 179.032 184.016 179.032C185.528 179.032 186.584 179.776 187.04 181.048L188.648 180.232C187.928 178.528 186.464 177.328 184.016 177.328C180.536 177.328 178.496 179.848 178.496 183.808C178.496 187.768 180.536 190.288 184.016 190.288Z" fill="#F4F4F4"/>
|
||||
<path d="M195.993 190.288C198.321 190.288 200.097 189.136 200.889 187.456L199.521 186.472C198.873 187.84 197.673 188.608 196.113 188.608C193.809 188.608 192.441 187 192.441 184.864V184.288H201.345V183.376C201.345 179.872 199.305 177.328 195.993 177.328C192.633 177.328 190.425 179.872 190.425 183.808C190.425 187.744 192.633 190.288 195.993 190.288ZM195.993 178.936C197.961 178.936 199.281 180.4 199.281 182.584V182.848H192.441V182.68C192.441 180.52 193.905 178.936 195.993 178.936Z" fill="#F4F4F4"/>
|
||||
<path d="M208.253 190V188.32H206.429V172.24H204.509V188.008C204.509 189.16 205.229 190 206.549 190H208.253Z" fill="#F4F4F4"/>
|
||||
</g>
|
||||
<g id="Submit">
|
||||
<path d="M350.936 190.288C354.536 190.288 356.696 188.32 356.696 185.248C356.696 182.752 355.28 181.312 352.016 180.568L350.648 180.256C348.536 179.776 347.504 179.056 347.504 177.472C347.504 175.672 348.824 174.736 350.96 174.736C352.904 174.736 354.176 175.528 355.088 176.8L356.6 175.696C355.352 173.92 353.576 172.96 351.056 172.96C347.768 172.96 345.512 174.568 345.512 177.544C345.512 180.112 347.192 181.456 350.24 182.152L351.608 182.464C353.816 182.968 354.704 183.76 354.704 185.344C354.704 187.264 353.408 188.512 351.008 188.512C349.064 188.512 347.672 187.672 346.496 186.112L345.008 187.36C346.352 189.184 348.248 190.288 350.936 190.288Z" fill="white"/>
|
||||
<path d="M367.617 190H369.537V177.616H367.617V186.184C367.617 187.816 366.129 188.56 364.617 188.56C362.769 188.56 361.785 187.432 361.785 185.224V177.616H359.865V185.56C359.865 188.56 361.497 190.288 364.041 190.288C366.105 190.288 367.041 189.16 367.521 187.984H367.617V190Z" fill="white"/>
|
||||
<path d="M373.626 190H375.546V187.984H375.642C376.386 189.52 377.562 190.288 379.266 190.288C382.362 190.288 384.306 187.768 384.306 183.808C384.306 179.848 382.362 177.328 379.266 177.328C377.562 177.328 376.29 178.072 375.642 179.632H375.546V172.24H373.626V190ZM378.738 188.56C376.986 188.56 375.546 187.648 375.546 186.04V181.432C375.546 180.064 376.986 179.056 378.738 179.056C380.898 179.056 382.242 180.544 382.242 182.752V184.864C382.242 187.072 380.898 188.56 378.738 188.56Z" fill="white"/>
|
||||
<path d="M389.468 190V181.408C389.468 179.824 390.908 179.056 392.42 179.056C394.244 179.056 395.084 180.184 395.084 182.392V190H397.004V181.408C397.004 179.824 398.396 179.056 399.908 179.056C401.78 179.056 402.62 180.208 402.62 182.392V190H404.54V182.056C404.54 179.056 403.028 177.328 400.508 177.328C398.396 177.328 397.196 178.504 396.74 179.848H396.692C396.02 178.072 394.532 177.328 392.9 177.328C390.98 177.328 390.116 178.36 389.564 179.632H389.468V177.616H387.548V190H389.468Z" fill="white"/>
|
||||
<path d="M409.461 174.712C410.277 174.712 410.637 174.28 410.637 173.632V173.32C410.637 172.672 410.277 172.24 409.461 172.24C408.645 172.24 408.285 172.672 408.285 173.32V173.632C408.285 174.28 408.645 174.712 409.461 174.712ZM408.501 190H410.421V177.616H408.501V190Z" fill="white"/>
|
||||
<path d="M419.637 190V188.32H417.117V179.296H419.829V177.616H417.117V174.184H415.389V176.488C415.389 177.328 415.125 177.616 414.309 177.616H413.157V179.296H415.197V187.96C415.197 189.16 415.917 190 417.237 190H419.637Z" fill="white"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 978 B After Width: | Height: | Size: 5.3 KiB |
Loading…
Add table
Add a link
Reference in a new issue