Skip to content

Commit

Permalink
style: add image radius modifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
artKozinets committed Nov 22, 2024
1 parent 8335a42 commit 4bab38a
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,61 @@ main .section.highlight {
border-radius: 9999px;
}

/* Image Radius */
.image-rounded-2xs {
img {
border-radius: var(--shape-border-radius-1);
}
}

.image-rounded-xs {
img {
border-radius: var(--shape-border-radius-2);
}
}

.image-rounded-s {
img {
border-radius: var(--shape-border-radius-3);
}
}

.image-rounded-m {
img {
border-radius: var(--shape-border-radius-4);
}
}

.image-rounded-l {
img {
border-radius: var(--shape-border-radius-5);
}
}

.image-rounded-xl {
img {
border-radius: var(--shape-border-radius-6);
}
}

.image-rounded-2xl {
img {
border-radius: var(--shape-border-radius-7);
}
}

.image-rounded-3xl {
img {
border-radius: var(--shape-border-radius-8);
}
}

.image-rounded-full {
img {
border-radius: 9999px;
}
}

/* Background */
.bg-neutral-50 {
background-color: var(--color-neutral-50);
Expand Down

0 comments on commit 4bab38a

Please sign in to comment.