generated from agustinusnathaniel/nextarter-chakra
-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(theme): update theme color (#75)
- Loading branch information
1 parent
2baade1
commit 3fc860e
Showing
11 changed files
with
71 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import type { DeepPartial, Theme } from "@chakra-ui/react"; | ||
|
||
export const colors: DeepPartial<Theme["colors"]> = { | ||
gray: { | ||
50: "#e8e9e9", | ||
100: "#d1d2d2", | ||
200: "#a3a5a5", | ||
300: "#747978", | ||
400: "#464c4b", | ||
500: "#181f1e", | ||
600: "#131918", | ||
700: "#0e1312", | ||
800: "#0a0c0c", | ||
900: "#050606", | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import type { ComponentStyleConfig } from "@chakra-ui/react"; | ||
|
||
export const Button: ComponentStyleConfig = { | ||
baseStyle: { | ||
borderRadius: 24, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { Button } from "./button"; | ||
import { Input } from "./input"; | ||
|
||
export const components = { | ||
Button, | ||
Input, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import type { ComponentStyleConfig } from "@chakra-ui/react"; | ||
|
||
export const Input: ComponentStyleConfig = { | ||
sizes: { | ||
lg: { | ||
field: { | ||
borderRadius: 24, | ||
}, | ||
}, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import type { ThemeConfig } from "@chakra-ui/react"; | ||
|
||
export const config: ThemeConfig = { | ||
disableTransitionOnChange: false, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import type { DeepPartial, Theme } from "@chakra-ui/react"; | ||
|
||
export const fonts: DeepPartial<Theme["fonts"]> = { | ||
heading: "Outfit, sans-serif", | ||
body: "Outfit, sans-serif", | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { extendTheme } from "@chakra-ui/react"; | ||
|
||
import { colors } from "./colors"; | ||
import { components } from "./components"; | ||
import { config } from "./config"; | ||
import { fonts } from "./fonts"; | ||
|
||
const customTheme = extendTheme({ | ||
fonts, | ||
colors, | ||
components, | ||
config, | ||
}); | ||
|
||
export default customTheme; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3fc860e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
pub-apis – ./
publicapis.sznm.dev
pub-apis-git-main-sozonome.vercel.app
pub-apis-sozonome.vercel.app
pub-apis.vercel.app
pubapis.sznm.dev
pub-apis.sznm.dev
public-apis.sznm.dev