Skip to content

Commit 719be2f

Browse files
authored
Update border radius styles for consistency improvements (facebook#4411)
* style: Update custom theme styles for improved consistency and readability * revert changes * revert unrelated change
1 parent 3638ed0 commit 719be2f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

website/src/css/customTheme.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,13 @@
3030
--ifm-code-border-radius: 3px;
3131
--ifm-blockquote-color: var(--ifm-font-color-base);
3232
--ifm-blockquote-font-size: 16px;
33+
--ifm-blockquote-border-radius: var(--ifm-global-radius);
3334
--ifm-table-head-color: var(--subtle);
3435
--ifm-link-hover-decoration: none;
3536
--ifm-navbar-background-color: var(--deepdark);
3637
--ifm-pre-line-height: 1.5;
3738
--ifm-tabs-padding-vertical: 6px;
3839
--ifm-color-warning: #ffe564;
39-
--ifm-alert-border-width: 0;
40-
--ifm-alert-border-radius: 0;
4140
--ifm-alert-color: var(--ifm-font-color-base);
4241
--ifm-pagination-nav-color-hover: var(--ifm-color-emphasis-300);
4342
--ifm-table-border-width: 0.005rem;
@@ -268,6 +267,7 @@ hr {
268267
background-color: var(--rn-note-background);
269268
border-left: 8px solid var(--ifm-color-warning);
270269
padding: 15px 30px 15px 15px;
270+
border-radius: var(--ifm-blockquote-border-radius);
271271

272272
code {
273273
background-color: rgba(0, 0, 0, 0.07);
@@ -1402,6 +1402,7 @@ div[class*="announcementBarContent"] {
14021402
padding: 24px 48px 24px 24px;
14031403
margin-bottom: 24px;
14041404
border-left: 8px solid #6170af;
1405+
border-radius: var(--ifm-alert-border-radius);
14051406

14061407
h2,
14071408
h3 {

0 commit comments

Comments
 (0)