Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
frontend
Commits
d2bdbbdd
Commit
d2bdbbdd
authored
Jun 10, 2022
by
tom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
border radiuses
parent
8cab2595
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
27 additions
and
12 deletions
+27
-12
AccountNavLink.tsx
components/AccountNav/AccountNavLink.tsx
+1
-1
Page.tsx
components/Page/Page.tsx
+1
-1
fonts.ts
theme/fonts.ts
+0
-8
borders.ts
theme/foundations/borders.ts
+11
-0
typography.ts
theme/foundations/typography.ts
+10
-0
index.ts
theme/index.ts
+4
-2
No files found.
components/AccountNav/AccountNavLink.tsx
View file @
d2bdbbdd
...
...
@@ -21,7 +21,7 @@ const AccountNavLink = ({ text, pathname, icon }: Props) => {
p=
"15px 20px"
color=
{
isActive
?
'
white
'
:
'
black
'
}
bgColor=
{
isActive
?
'
green.700
'
:
'
transparent
'
}
borderRadius=
"
10px
"
borderRadius=
"
base
"
>
<
HStack
spacing=
"4"
>
<
Icon
as=
{
icon
}
boxSize=
"5"
/>
...
...
components/Page/Page.tsx
View file @
d2bdbbdd
...
...
@@ -19,7 +19,7 @@ const Page = ({ children }: Props) => {
alignItems=
"stretch"
>
<
AccountNav
/>
<
Box
borderRadius=
"
10px
"
w=
"100%"
overflow=
"hidden"
bgColor=
"white"
>
{
children
}
</
Box
>
<
Box
borderRadius=
"
base
"
w=
"100%"
overflow=
"hidden"
bgColor=
"white"
>
{
children
}
</
Box
>
</
HStack
>
</
LightMode
>
);
...
...
theme/fonts.ts
deleted
100644 → 0
View file @
8cab2595
import
{
theme
}
from
'
@chakra-ui/react
'
;
const
fonts
=
{
heading
:
`Inter,
${
theme
.
fonts
.
heading
}
`
,
body
:
`Inter,
${
theme
.
fonts
.
body
}
`
,
}
export
default
fonts
;
theme/foundations/borders.ts
0 → 100644
View file @
d2bdbbdd
const
borders
=
{
radii
:
{
none
:
'
0
'
,
sm
:
'
4px
'
,
base
:
'
10px
'
,
lg
:
'
30px
'
,
full
:
'
9999px
'
,
},
}
export
default
borders
;
theme/foundations/typography.ts
0 → 100644
View file @
d2bdbbdd
import
{
theme
}
from
'
@chakra-ui/react
'
;
const
typography
=
{
fonts
:
{
heading
:
`Inter,
${
theme
.
fonts
.
heading
}
`
,
body
:
`Inter,
${
theme
.
fonts
.
body
}
`
,
},
}
export
default
typography
;
theme/index.ts
View file @
d2bdbbdd
import
{
extendTheme
}
from
'
@chakra-ui/react
'
;
import
fonts
from
'
./fonts
'
;
import
typography
from
'
./foundations/typography
'
;
import
borders
from
'
./foundations/borders
'
;
const
overrides
=
{
fonts
,
...
typography
,
...
borders
,
}
export
default
extendTheme
(
overrides
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment