Skip to content

Commit b04cfe7

Browse files
committed
Increase the border radius for panel components and modals to standardize UI aesthetics
1 parent 210af12 commit b04cfe7

4 files changed

Lines changed: 4 additions & 3 deletions

File tree

‎packages/ui/src/components/editor/panel/Enter/Enter.module.scss‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
var(--padding-8px);
88
background-color: var(--vscode-button-background);
99
color: var(--vscode-button-foreground);
10-
border-radius: var(--border-radius-6px);
10+
border-radius: var(--border-radius-10px);
1111

1212
&:hover {
1313
background-color: var(--vscode-button-hoverBackground);

‎packages/ui/src/components/editor/panel/HomeLinkButton/HomeLinkButton.module.scss‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
gap: var(--padding-8px);
66
padding: 0 var(--padding-12px) 0 var(--padding-8px);
77
height: 34px;
8-
border-radius: var(--padding-6px);
8+
border-radius: var(--padding-10px);
99

1010
&:hover {
1111
text-decoration: none;

‎packages/ui/src/components/editor/panel/modals/Modal/Modal.module.scss‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
.container {
6060
position: relative;
6161
z-index: 1;
62-
border-radius: var(--border-radius-10px);
62+
border-radius: var(--border-radius-12px);
6363
border: 1px solid var(--vscode-sideBarSectionHeader-border);
6464
width: 100%;
6565
max-width: 320px;

‎packages/ui/src/styles/foundation/_variables.scss‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
--border-radius-6px: 6px;
3434
--border-radius-8px: 8px;
3535
--border-radius-10px: 10px;
36+
--border-radius-12px: 12px;
3637
--border-radius-999px: 999px;
3738

3839
--font-weight-500: 500;

0 commit comments

Comments
 (0)