Skip to content

Commit

Permalink
feat: ProseImg radii token (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdrtsky authored Jul 4, 2023
1 parent f1232bc commit 5f71945
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion components/global/ProseImg.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ const refinedSrc = computed(() => {
<style lang="ts" scoped>
css({
img: {
margin: '{prose.img.margin}'
margin: '{prose.img.margin}',
borderRadius: '{prose.img.borderRadius}',
}
})
</style>
3 changes: 2 additions & 1 deletion tokens.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,8 @@ export default defineTheme({
fontWeight: '{typography.fontWeight.semibold}'
},
img: {
margin: '{typography.verticalMargin.base} 0'
margin: '{typography.verticalMargin.base} 0',
borderRadius: '{typography.radii.full}'
},
a: {
textDecoration: 'none',
Expand Down

1 comment on commit 5f71945

@vercel
Copy link

@vercel vercel bot commented on 5f71945 Jul 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

typography – ./

typography-git-main-nuxtlabs.vercel.app
typography-nuxtlabs.vercel.app
typography.nuxt.space

Please sign in to comment.