Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
beasy-mobile
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
4
Issues
4
List
Board
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
G
beasy-mobile
Commits
854a7723
Commit
854a7723
authored
Apr 23, 2024
by
g-ouattara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
basic app theme, default from documentation. will be updated later
parent
54e0a092
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
0 deletions
+43
-0
AppTheme.tsx
src/themes/AppTheme.tsx
+43
-0
No files found.
src/themes/AppTheme.tsx
0 → 100644
View file @
854a7723
import
{
createTheme
}
from
"@shopify/restyle"
;
const
palette
=
{
purpleLight
:
"#8C6FF7"
,
purplePrimary
:
"#5A31F4"
,
purpleDark
:
"#3F22AB"
,
greenLight
:
"#56DCBA"
,
greenPrimary
:
"#0ECD9D"
,
greenDark
:
"#0A906E"
,
black
:
"#0B0B0B"
,
white
:
"#F0F2F3"
,
};
const
theme
=
createTheme
({
colors
:
{
mainBackground
:
palette
.
white
,
cardPrimaryBackground
:
palette
.
purplePrimary
,
},
spacing
:
{
s
:
8
,
m
:
16
,
l
:
24
,
xl
:
40
,
},
textVariants
:
{
header
:
{
fontWeight
:
"bold"
,
fontSize
:
34
,
},
body
:
{
fontSize
:
16
,
lineHeight
:
24
,
},
defaults
:
{
// We can define a default text variant here.
},
},
});
export
type
AppTheme
=
typeof
theme
;
export
default
theme
;
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