Skip to content

Commit 6ecc2ea

Browse files
authored
Merge pull request #958 from uploadcare/feat/radius-classes
border-radius shorthand classes
2 parents 062163f + 1bd9783 commit 6ecc2ea

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

src/blocks/themes/uc-basic/theme.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,4 +292,22 @@
292292
--uc-background-dark: oklch(10% 0 0);
293293
--uc-foreground-dark: oklch(100% 0 0);
294294
}
295+
296+
:where(.uc-radius-none) {
297+
--uc-radius: 0;
298+
}
299+
300+
:where(.uc-radius-small) {
301+
--uc-radius: 5px;
302+
}
303+
304+
:where(.uc-radius-medium) {
305+
--uc-radius: 8px;
306+
307+
/* Equals the default radius so it can be forced when necessary. */
308+
}
309+
310+
:where(.uc-radius-large) {
311+
--uc-radius: 16px;
312+
}
295313
}

0 commit comments

Comments
 (0)