Skip to content

Commit

Permalink
fix: add breakpoint images from Tokens repo (#1344)
Browse files Browse the repository at this point in the history
* feat: create new breakpoints folder under assets and add images from Tokens repo

* fix: change path to breakpoint images
  • Loading branch information
marionnegp authored Jan 11, 2024
1 parent 32a97c6 commit c43af9c
Show file tree
Hide file tree
Showing 13 changed files with 119 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_plugins/tokens.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function table({ tokens, name = '', docs, options } = {}) {
${isColor && token.path.includes('text') ? 'Aa'
: isFont ? (docs?.example ?? token.attributes?.aliases?.[0] ?? 'Aa')
: name === 'breakpoint' ? `
<img src="assets/device-${token.name}.svg" role="presentation">`
<img src="/assets/breakpoints/device-${token.name}.svg" role="presentation">`
: docs?.example ?? ''}
</samp>
</td>
Expand Down
8 changes: 8 additions & 0 deletions docs/assets/breakpoints/device-rh-breakpoint-2xl.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions docs/assets/breakpoints/device-rh-breakpoint-2xs-max.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions docs/assets/breakpoints/device-rh-breakpoint-lg-max.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions docs/assets/breakpoints/device-rh-breakpoint-lg.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions docs/assets/breakpoints/device-rh-breakpoint-md-max.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions docs/assets/breakpoints/device-rh-breakpoint-md.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions docs/assets/breakpoints/device-rh-breakpoint-sm-max.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions docs/assets/breakpoints/device-rh-breakpoint-sm.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions docs/assets/breakpoints/device-rh-breakpoint-xl-max.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions docs/assets/breakpoints/device-rh-breakpoint-xl.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions docs/assets/breakpoints/device-rh-breakpoint-xs-max.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions docs/assets/breakpoints/device-rh-breakpoint-xs.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c43af9c

Please sign in to comment.