Skip to content

Commit 894c594

Browse files
add setup figma access token menu on home
1 parent 07f7b47 commit 894c594

3 files changed

Lines changed: 17 additions & 1 deletion

File tree

editor/components/home/home-side-bar-tree.tsx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,20 @@ const preset_pages: PresetPage[] = [
8989
},
9090
],
9191
},
92+
{
93+
id: "Figma",
94+
name: "Figma",
95+
path: "",
96+
depth: 0,
97+
children: [
98+
{
99+
id: "setup-figma-pat",
100+
name: "Set Access Token",
101+
path: "/preferences/access-tokens",
102+
depth: 1,
103+
},
104+
],
105+
},
92106
];
93107

94108
export function HomeSidebarTree() {

editor/pages/preferences/access-tokens.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@ const RootWrapperPreferencesAccessTokens = styled.div`
4444
flex-direction: column;
4545
align-items: start;
4646
gap: 200px;
47-
background-color: rgba(255, 255, 255, 1);
47+
background-color: white;
4848
box-sizing: border-box;
49+
min-height: 100vh;
4950
padding: 120px 100px 40px;
5051
`;
5152

editor/pages/preferences/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ export default function PreferencesHomePage() {
1313

1414
const _Root = styled.div`
1515
padding: 24px;
16+
background-color: white;
1617
`;

0 commit comments

Comments
 (0)