Skip to content

Commit 558fd34

Browse files
lenasmayoralexnm
andauthored
Facelift: Modals UI review on Dashboard (#6943)
* Adjust colors and type style of notification menu on Dashboard * Adjust Preference Modal type and styles * Revert change on element.js * fix: use buttons for sidebar Co-authored-by: Alex Moldovan <[email protected]>
1 parent ebdffda commit 558fd34

File tree

16 files changed

+48
-37
lines changed

16 files changed

+48
-37
lines changed

packages/app/src/app/components/Notifications/Content.tsx

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,9 @@ export const NotificationsContent = props => {
112112
return (
113113
<Element
114114
css={css({
115-
backgroundColor: 'sideBar.background',
115+
backgroundColor: 'menuList.background',
116116
fontFamily: 'Inter',
117117
width: 321,
118-
borderWidth: 1,
119-
borderStyle: 'solid',
120-
borderColor: 'sideBar.border',
121118
})}
122119
{...props}
123120
>
@@ -126,13 +123,11 @@ export const NotificationsContent = props => {
126123
css={css({
127124
display: 'grid',
128125
gridTemplateColumns: '1fr 60px',
129-
borderWidth: 0,
130-
borderBottomWidth: 1,
131-
borderStyle: 'solid',
132-
borderColor: 'sideBar.border',
133126
})}
134127
>
135-
<Text weight="bold">Notifications</Text>
128+
<Text weight="regular" size={4}>
129+
Notifications
130+
</Text>
136131
<Element>
137132
{userNotifications.notifications ? <Filters /> : null}
138133
</Element>

packages/app/src/app/pages/common/Modals/Common/Alert.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export const Alert: FunctionComponent<Props> = ({
3333
{...props}
3434
>
3535
{title && (
36-
<Text weight="bold" block size={6} paddingBottom={2}>
36+
<Text weight="regular" block size={5} paddingBottom={4}>
3737
{title}
3838
</Text>
3939
)}

packages/app/src/app/pages/common/Modals/DeploymentModal/index.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,13 @@ export const DeploymentModal: FunctionComponent = () => {
3535
>
3636
{url ? (
3737
<Element marginBottom={4}>
38-
<Text weight="bold" block size={4} align="center" paddingBottom={4}>
38+
<Text
39+
weight="regular"
40+
block
41+
size={4}
42+
align="center"
43+
paddingBottom={4}
44+
>
3945
Deployed!
4046
</Text>
4147
<Link variant="muted" block size={3} align="center" href={url}>

packages/app/src/app/pages/common/Modals/MoveSandboxFolderModal/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export const MoveSandboxFolderModal: FunctionComponent = () => {
7575
gap={6}
7676
direction="vertical"
7777
>
78-
<Text size={6} weight="bold">
78+
<Text size={6} weight="regular">
7979
Move {modals.moveSandboxModal.sandboxIds.length}{' '}
8080
{modals.moveSandboxModal.sandboxIds.length > 1 ? 'items' : 'item'}
8181
</Text>

packages/app/src/app/pages/common/Modals/PilotPaymentModal/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export const PilotPaymentModal: FunctionComponent = () => {
7878
})}
7979
>
8080
<Element>
81-
<Text block marginBottom={6} size={4} weight="bold">
81+
<Text block marginBottom={6} size={4} weight="regular">
8282
Payment Info
8383
</Text>
8484

packages/app/src/app/pages/common/Modals/PreferencesModal/Appearance/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { EditorTheme } from './EditorTheme';
88

99
export const Appearance: FunctionComponent = () => (
1010
<div>
11-
<Text block marginBottom={6} size={4} weight="bold">
11+
<Text block marginBottom={6} size={4} weight="regular">
1212
Appearance
1313
</Text>
1414

packages/app/src/app/pages/common/Modals/PreferencesModal/CodeFormatting/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { Prettier } from './Prettier';
66

77
export const CodeFormatting: FunctionComponent = () => (
88
<>
9-
<Text block marginBottom={4} size={4} variant="muted" weight="bold">
9+
<Text block marginBottom={4} size={4} variant="muted" weight="regular">
1010
Prettier Settings{' '}
1111
<a
1212
href="https://prettier.io/docs/en/options.html"

packages/app/src/app/pages/common/Modals/PreferencesModal/Editor/Editor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { VimModeSettings } from './VimModeSettings';
88

99
export const Editor: React.FC = () => (
1010
<>
11-
<Text block marginBottom={6} size={4} weight="bold">
11+
<Text block marginBottom={6} size={4} weight="regular">
1212
Editor
1313
</Text>
1414

packages/app/src/app/pages/common/Modals/PreferencesModal/Experiments/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { ContainerLSP } from './ContainerLSP';
77

88
export const Experiments: FunctionComponent = () => (
99
<>
10-
<Text block marginBottom={6} size={4} weight="bold">
10+
<Text block marginBottom={6} size={4} weight="regular">
1111
Experiments
1212
</Text>
1313

packages/app/src/app/pages/common/Modals/PreferencesModal/Integrations/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { Container } from './elements';
88

99
export const Integrations: FunctionComponent = () => (
1010
<div>
11-
<Text block marginBottom={6} size={4} weight="bold">
11+
<Text block marginBottom={6} size={4} weight="regular">
1212
Integrations
1313
</Text>
1414

0 commit comments

Comments
 (0)