Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy v6.0.0 #7658

Merged
merged 113 commits into from
Sep 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
a3c105a
Create index.md
qbzzt Jul 26, 2022
5a1543f
Update index.md
qbzzt Jul 27, 2022
0dc63f2
Update index.md
qbzzt Jul 27, 2022
37bd368
Update index.md
qbzzt Jul 27, 2022
e795bcd
Update index.md
qbzzt Jul 27, 2022
84782bc
Update index.md
qbzzt Jul 27, 2022
29401d5
Update index.md
qbzzt Jul 27, 2022
148d4e0
Update index.md
qbzzt Jul 29, 2022
ee44914
Update index.md
qbzzt Jul 29, 2022
9f6f3d0
Update index.md
qbzzt Jul 29, 2022
9323757
Update index.md
qbzzt Jul 29, 2022
f7e0dd3
Update index.md
qbzzt Jul 30, 2022
e8919b5
Update index.md
qbzzt Jul 30, 2022
58f48b7
Update index.md
qbzzt Jul 31, 2022
361df9b
The source code.
qbzzt Jul 31, 2022
6012531
Update index.md
qbzzt Jul 31, 2022
21b32af
Update index.md
qbzzt Jul 31, 2022
47b7870
Update src/content/developers/tutorials/erc20-with-safety-rails/index.md
qbzzt Aug 2, 2022
b232f2e
Delete ERC20-safety-rails-Remix.zip
qbzzt Aug 2, 2022
7907854
Update index.md
qbzzt Aug 2, 2022
15f375d
Add files via upload
qbzzt Aug 2, 2022
ee9d2ed
Update index.md
qbzzt Aug 2, 2022
66304f0
draft desci listing policy
jmcook1186 Aug 3, 2022
bef3a5c
Merge branch 'dev' of https://github.com/ethereum/ethereum-org-websit…
jmcook1186 Aug 3, 2022
8361531
typo
jmcook1186 Aug 3, 2022
3791ab3
Apply suggestions from code review
jmcook1186 Aug 3, 2022
5609ed6
delete dydx as it is leaving ethereum
EvanVanNessEth Aug 6, 2022
d72276d
migrate Link to use chakra
pettinarip Aug 1, 2022
e82c63d
fix footer link
pettinarip Aug 1, 2022
d40a004
remove active styles as we are not using them
pettinarip Aug 2, 2022
80ef4d0
fix typing issues
pettinarip Aug 2, 2022
ed06eb8
fix styles on wrapped Links
pettinarip Aug 11, 2022
e3f03e2
initial refactor of Buttons and ButtonLinks
pettinarip Aug 13, 2022
89dd33f
Merge branch 'dev' into chakra-buttonlink-component
pettinarip Aug 14, 2022
032a1bc
fix button styles
pettinarip Aug 15, 2022
321e53d
fix types
pettinarip Aug 15, 2022
bb06888
revert dir prop
pettinarip Aug 15, 2022
72b33f5
remove old comments
pettinarip Aug 15, 2022
416ee6a
remove constants file since it was causing an error in the build
pettinarip Aug 15, 2022
08bf701
enable chakra resetCSS flag
pettinarip Aug 15, 2022
4a473d2
implement button outline-color variant
pettinarip Aug 15, 2022
c23aa97
adopt design system colors
pettinarip Aug 15, 2022
575f4f2
Merge branch 'dev' into chakra-buttonlink-component
pettinarip Aug 16, 2022
8f8ae9b
fix intl links
pettinarip Aug 16, 2022
963a128
use existing variants
pettinarip Aug 16, 2022
11176a0
cleanup
pettinarip Aug 16, 2022
fbfe7a6
fix bad use of ButtonLink
pettinarip Aug 18, 2022
9fb65ff
use primaryHover color on primary shadow
pettinarip Aug 22, 2022
bffac7b
fix outline size as defined in the design sys
pettinarip Aug 22, 2022
017479c
more adjustments on button styles
pettinarip Aug 22, 2022
921889c
fix social buttons in footer
pettinarip Aug 22, 2022
7911694
use new chakra button in buttondropdown
pettinarip Aug 22, 2022
0c96ebb
refactor comments
pettinarip Aug 23, 2022
07ccf07
update migration guide
pettinarip Aug 23, 2022
b51b172
fix static files urls & rename plugin acordingly
pettinarip Aug 25, 2022
e81291e
change outline bg color to transparent
pettinarip Aug 25, 2022
b0550d7
upgrade react 18
pettinarip Aug 27, 2022
da1b3c3
upgrade gatsby-plugin-mdx & fix mismatches issues in hydration step
pettinarip Aug 27, 2022
f0d06dd
fix types
pettinarip Aug 28, 2022
8ff5f1f
upgrade react types
pettinarip Aug 28, 2022
638459e
Fixed error related to Arbitrum Nova description
emmanuel-awosika Aug 28, 2022
2ba7def
upgrade react types & libs
pettinarip Aug 28, 2022
3c22522
fix instantsearch types
pettinarip Aug 28, 2022
c5efa4b
ts ignore react-intl provider
pettinarip Aug 28, 2022
2773463
turn FAST_DEV flag on again
pettinarip Aug 29, 2022
7febb93
fix search results
pettinarip Aug 29, 2022
348cbf6
more upgrades
pettinarip Aug 29, 2022
4ccc509
Merge branch 'dev' into react-18
pettinarip Aug 29, 2022
9cbeaac
Update src/content/developers/tutorials/erc20-with-safety-rails/index.md
minimalsm Aug 29, 2022
da1e20c
fix red color name
pettinarip Aug 29, 2022
5a5899c
remove dydx
corwintines Aug 29, 2022
6b170cf
Merge branch 'dev' into EvanVanNessEth-deletedydx
corwintines Aug 29, 2022
0d718ea
add margins on the arrow icon for external links
pettinarip Aug 29, 2022
9365546
add scale animation on glossary icon
pettinarip Aug 29, 2022
bd6d056
Merge pull request #7605 from emmanuel-awosika/patch-26
minimalsm Aug 30, 2022
31dff50
docs: update README.md [skip ci]
allcontributors[bot] Aug 30, 2022
32c9529
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Aug 30, 2022
3ddbc94
Merge pull request #7629 from ethereum/all-contributors/add-vvladd
minimalsm Aug 30, 2022
9d92666
Merge pull request #7287 from ethereum/jc-desci-policy
jmcook1186 Aug 30, 2022
f71233b
Merge pull request #7580 from ethereum/broken-links
minimalsm Aug 30, 2022
23d6bf1
change focus styles on Links
pettinarip Aug 30, 2022
f3aebdd
Merge branch 'dev' into pr/7585
corwintines Aug 30, 2022
81660c6
remove dydx strings
corwintines Aug 30, 2022
ed6cc7c
Merge branch 'EvanVanNessEth-deletedydx' of https://github.com/EvanVa…
corwintines Aug 30, 2022
8102b6e
fix action card outline on focus
pettinarip Aug 30, 2022
fd1bb29
Merge pull request #7617 from ethereum/react-18
pettinarip Aug 30, 2022
32b69e4
Merge branch 'dev' into chakra-buttonlink-component
pettinarip Aug 30, 2022
6008fbe
fix old style prop name
pettinarip Aug 30, 2022
5a40de1
set link outline styles as auto
pettinarip Aug 31, 2022
3372f93
tmp fix on header anchors styles
pettinarip Aug 31, 2022
d1855b4
revert hidden outline in ActionCard
pettinarip Aug 31, 2022
624c026
fix incorrect order in nested html tags
pettinarip Aug 31, 2022
dc2c603
fix hydration issue on Emoji
pettinarip Aug 31, 2022
1f7ec83
Fix misspellings of Ethereum
lukassim Sep 1, 2022
7ea359b
Update community-events.json
Sergey1997 Sep 1, 2022
593a84c
Merge pull request #7438 from ethereum/chakra-buttonlink-component
pettinarip Sep 1, 2022
5d8ee60
fix bad propname to partial active links
pettinarip Sep 1, 2022
e6ea610
Removed missing resource
SavPhill Sep 1, 2022
ceaaf5c
Merge pull request #7585 from EvanVanNessEth/EvanVanNessEth-deletedydx
corwintines Sep 1, 2022
6b56a2c
Merge branch 'dev' into fix-hydration-issues
pettinarip Sep 1, 2022
f719596
Unmark status.im as a hardware wallet
Pandapip1 Sep 1, 2022
3147044
docs: update README.md [skip ci]
allcontributors[bot] Sep 1, 2022
5485a32
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Sep 1, 2022
cefb222
Merge pull request #7652 from ethereum/all-contributors/add-SavPhill
corwintines Sep 1, 2022
853e94f
Merge pull request #7650 from SavPhill/patch-2
corwintines Sep 1, 2022
863b8bc
Merge pull request #7649 from ethereum/fix-partial-links
corwintines Sep 1, 2022
c5934d9
Merge pull request #7651 from Pandapip1/patch-4
corwintines Sep 1, 2022
dd6c18a
Merge pull request #7642 from ethereum/fix-hydration-issues
corwintines Sep 1, 2022
8128d18
Merge pull request #7646 from Sergey1997/patch-3
corwintines Sep 1, 2022
3efe232
Merge pull request #7644 from ethereum/fix-common-errors
corwintines Sep 1, 2022
0d27b5e
Merge pull request #7257 from qbzzt/erc20-safety-rails
corwintines Sep 1, 2022
72c6faf
v6.0.0
corwintines Sep 1, 2022
e437fac
Merge pull request #7657 from ethereum/v6-0-0
corwintines Sep 1, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -8546,6 +8546,25 @@
"contributions": [
"ideas"
]
},
{
"login": "vvladd",
"name": "Vlad Kokhan",
"avatar_url": "https://avatars.githubusercontent.com/u/13506999?v=4",
"profile": "https://github.com/vvladd",
"contributions": [
"doc",
"translation"
]
},
{
"login": "SavPhill",
"name": "Phill",
"avatar_url": "https://avatars.githubusercontent.com/u/38789408?v=4",
"profile": "https://github.com/SavPhill",
"contributions": [
"content"
]
}
],
"contributorsPerLine": 7,
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1360,6 +1360,10 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<td align="center"><a href="https://www.aracki.me"><img src="https://avatars.githubusercontent.com/u/6129986?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Ivan Aracki</b></sub></a><br /><a href="#ideas-Aracki" title="Ideas, Planning, & Feedback">🤔</a></td>
<td align="center"><a href="https://alphabeta.top/"><img src="https://avatars.githubusercontent.com/u/64178062?v=4?s=100" width="100px;" alt=""/><br /><sub><b>屠虫少年</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=always0e0w" title="Documentation">📖</a> <a href="#translation-always0e0w" title="Translation">🌍</a></td>
<td align="center"><a href="http://stackoverflow.com/users/5062825/ramansb"><img src="https://avatars.githubusercontent.com/u/13969478?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Ramandeep</b></sub></a><br /><a href="#ideas-RamanSB" title="Ideas, Planning, & Feedback">🤔</a></td>
<td align="center"><a href="https://github.com/vvladd"><img src="https://avatars.githubusercontent.com/u/13506999?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Vlad Kokhan</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=vvladd" title="Documentation">📖</a> <a href="#translation-vvladd" title="Translation">🌍</a></td>
</tr>
<tr>
<td align="center"><a href="https://github.com/SavPhill"><img src="https://avatars.githubusercontent.com/u/38789408?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Phill</b></sub></a><br /><a href="#content-SavPhill" title="Content">🖋</a></td>
</tr>
</table>

Expand Down
18 changes: 16 additions & 2 deletions docs/chakra-migration-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,24 @@ const Text = styled.p`
```tsx
import { Icon } from "@chakra-ui/react"
import { BsQuestionSquareFill } from "react-icons/bs"
;<Icon as={BsQuestionSquareFill} />

<Icon as={BsQuestionSquareFill} />
```

- [Deprecated]`src/components/SharedStyledComponents` - we are not using this anymore, use Chakra components instead.
- [Deprecated]`src/components/SharedStyledComponents` - we are not using this anymore, replace everything with Chakra components.

```tsx
// before
import { ButtonPrimary, ButtonSecondary } from "../SharedStyledComponents"

// now
import Button from "../Button" // <-- use the new Button component built with Chakra

// use our primary button (uses the default `solid` variant)
<Button />
// or the outline version
<Button variant="outline" />
```

## Do you have any other question?

Expand Down
6 changes: 3 additions & 3 deletions gatsby-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ const config: GatsbyConfig = {
// See: https://www.gatsbyjs.org/docs/mdx/plugins/
gatsbyRemarkPlugins: [
{
// Local plugin to adjust the images urls of the translated md files
resolve: path.resolve(`./plugins/gatsby-remark-image-urls`),
// Local plugin to adjust the images & links urls of the translated md files
resolve: path.resolve(`./plugins/gatsby-remark-fix-static-urls`),
},
{
resolve: `gatsby-remark-autolink-headers`,
Expand Down Expand Up @@ -203,7 +203,7 @@ const config: GatsbyConfig = {
{
resolve: "@chakra-ui/gatsby-plugin",
options: {
resetCSS: false,
resetCSS: true,
isUsingColorMode: true,
},
},
Expand Down
4 changes: 4 additions & 0 deletions gatsby-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,10 @@ export const onCreatePage: GatsbyNode<any, Context>["onCreatePage"] = async ({
}
}

if (!page.context) {
return
}

const isTranslated = page.context.locale !== defaultLanguage
const hasNoContext = page.context.isOutdated === undefined

Expand Down
43 changes: 21 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ethereum-org-website",
"version": "5.4.0",
"version": "6.0.0",
"description": "Website of ethereum.org",
"main": "index.js",
"repository": "[email protected]:ethereum/ethereum-org-website.git",
Expand All @@ -10,7 +10,7 @@
"dependencies": {
"@apollo/client": "^3.3.13",
"@chakra-ui/gatsby-plugin": "^3.0.1",
"@chakra-ui/react": "^1.0.0",
"@chakra-ui/react": "^2.2.8",
"@emotion/react": "^11.9.3",
"@emotion/styled": "^11.9.3",
"@formatjs/intl-locale": "^2.4.14",
Expand All @@ -24,50 +24,50 @@
"clipboard": "^2.0.6",
"cross-fetch": "^3.1.5",
"dotenv": "^8.2.0",
"embla-carousel-react": "^6.2.0",
"embla-carousel-react": "^7.0.0",
"ethereum-blockies-base64": "^1.0.2",
"focus-trap-react": "^8.11.2",
"focus-trap-react": "^10.0.0",
"framer-motion": "^6.5.1",
"gatsby": "^4.15.0",
"gatsby": "^4.21.1",
"gatsby-plugin-emotion": "^7.19.0",
"gatsby-plugin-gatsby-cloud": "^4.20.0",
"gatsby-plugin-image": "^2.0.0",
"gatsby-plugin-manifest": "^4.10.1",
"gatsby-plugin-image": "^2.21.0",
"gatsby-plugin-manifest": "^4.21.0",
"gatsby-plugin-matomo": "^0.9.0",
"gatsby-plugin-mdx": "^2.14.1",
"gatsby-plugin-mdx": "^3.0.0",
"gatsby-plugin-netlify": "^5.0.1",
"gatsby-plugin-react-helmet": "^5.0.0",
"gatsby-plugin-react-helmet-canonical-urls": "^1.4.0",
"gatsby-plugin-react-svg": "^3.1.0",
"gatsby-plugin-robots-txt": "^1.7.1",
"gatsby-plugin-sharp": "^4.10.0",
"gatsby-plugin-sitemap": "^5.0.0",
"gatsby-remark-autolink-headers": "^5.0.0",
"gatsby-remark-copy-linked-files": "^5.0.0",
"gatsby-remark-images": "^6.0.0",
"gatsby-plugin-sharp": "^4.21.0",
"gatsby-plugin-sitemap": "^5.21.0",
"gatsby-remark-autolink-headers": "^5.21.0",
"gatsby-remark-copy-linked-files": "^5.21.0",
"gatsby-remark-images": "^6.21.0",
"gatsby-remark-reading-time": "^1.1.0",
"gatsby-source-filesystem": "^4.0.0",
"gatsby-source-filesystem": "^4.21.1",
"gatsby-theme-i18n": "^3.0.0",
"gatsby-theme-i18n-react-intl": "^3.0.0",
"gatsby-transformer-csv": "^4.0.0",
"gatsby-transformer-gitinfo": "^1.1.0",
"gatsby-transformer-json": "^4.11.0",
"gatsby-transformer-remark": "^3.0.0",
"gatsby-transformer-sharp": "^4.10.0",
"gatsby-transformer-sharp": "^4.21.0",
"is-relative-url": "^3.0.0",
"lodash": "^4.17.21",
"luxon": "^1.24.1",
"netlify-lambda": "^2.0.3",
"polished": "^4.1.4",
"prism-react-renderer": "^1.1.1",
"prismjs": "^1.27.0",
"react": "17.0.2",
"react": "^18.0.0",
"react-countdown": "^2.3.2",
"react-dom": "17.0.2",
"react-dom": "^18.0.0",
"react-emoji-render": "^1.2.4",
"react-helmet": "^6.1.0",
"react-icons": "^4.3.1",
"react-instantsearch-dom": "^6.6.0",
"react-instantsearch-dom": "^6.32.0",
"react-intl": "^3.12.1",
"react-select": "^4.3.0",
"recharts": "^2.1.9",
Expand All @@ -81,9 +81,9 @@
"@types/luxon": "^2.3.2",
"@types/mdx-js__react": "^1.5.5",
"@types/node": "^17.0.23",
"@types/react": "^17.0.39",
"@types/react-dom": "^17.0.11",
"@types/react-instantsearch-dom": "^6.12.3",
"@types/react": "^18.0.17",
"@types/react-dom": "^18.0.6",
"@types/react-instantsearch-core": "^6.26.2",
"@types/styled-system": "^5.1.15",
"babel-preset-gatsby": "^2.14.0",
"github-slugger": "^1.3.0",
Expand All @@ -93,7 +93,6 @@
"minimist": "^1.2.6",
"prettier": "^2.2.1",
"pretty-quick": "^3.1.0",
"react-test-renderer": "^17.0.1",
"ts-node": "^10.9.1",
"typescript": "^4.6.3"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ const visitWithParents = require("unist-util-visit-parents")
const isRelativeUrl = require("is-relative-url")

/**
* Modify the images urls on translated md files to point to the source ones.
* Modify the images & links urls on translated md files to point to the source
* ones.
*
* E.g.
* Before
Expand All @@ -27,12 +28,18 @@ module.exports = ({ markdownNode, markdownAST }) => {
return markdownAST
}

// loop for each image node in the mdx file
visitWithParents(markdownAST, ["image"], (node) => {
// loop for each node in the mdx file
visitWithParents(markdownAST, ["image", "link"], (node) => {
const isRelativeToMdFile = isRelativeUrl(node.url)
if (isRelativeToMdFile) {
const fileName = path.basename(node.url)
node.url = `${relativePath}/${fileName}`
const ext = path.extname(node.url)

// ignore things that are not files, e.g. a hashed link '#anchor'
if (ext === "") {
return
}

node.url = path.join(relativePath, node.url)
}
})

Expand Down
74 changes: 74 additions & 0 deletions src/@chakra-ui/gatsby-plugin/components/Button.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
import type { ComponentStyleConfig } from "@chakra-ui/theme"

const commonOutline = {
border: "1px",
color: "text",
bg: "transparent",
borderColor: "text",
_hover: {
color: "primary",
bg: "background",
borderColor: "primary",
},
_active: {
color: "primary",
bg: "primaryLight",
borderColor: "primary",
},
_focus: {
color: "primary",
borderColor: "background",
},
_disabled: {
color: "disabled",
borderColor: "disabled",
opacity: 1,
},
}

export const Button: ComponentStyleConfig = {
baseStyle: {
fontWeight: "normal",
borderRadius: "base",
_hover: {
textDecoration: "none",
boxShadow: "primary",
},
_focus: {
boxShadow: "outline",
outline: 0,
},
},
sizes: {
md: {
h: 42,
},
},
variants: {
// solid is the default variant used by chakra
solid: {
color: "buttonColor",
bg: "primary",
border: 0,
_hover: {
bg: "primary",
opacity: 0.8,
},
_active: {
bg: "primaryHover",
},
_disabled: {
bg: "disabled",
opacity: 1,
},
},
outline: {
...commonOutline,
},
"outline-color": {
...commonOutline,
color: "primary",
borderColor: "primary",
},
},
}
15 changes: 15 additions & 0 deletions src/@chakra-ui/gatsby-plugin/components/Link.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import type { ComponentStyleConfig } from "@chakra-ui/theme"

export const Link: ComponentStyleConfig = {
baseStyle: {
color: "primary",
textDecoration: "underline",
_focus: {
boxShadow: "none",
},
_focusVisible: {
boxShadow: "none",
outline: "auto",
},
},
}
2 changes: 2 additions & 0 deletions src/@chakra-ui/gatsby-plugin/components/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export * from "./Link"
export * from "./Button"
3 changes: 2 additions & 1 deletion src/@chakra-ui/gatsby-plugin/foundations/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const colors = {
grey: {
100: "#f7f7f7",
300: "#d4d4d4",
400: "#b0b0b0",
500: "#646464",
700: "#222222",
900: "#141414",
Expand All @@ -21,7 +22,7 @@ const colors = {
800: "#451900",
},
red: {
600: "#b80000",
500: "#b80000",
},
green: {
500: "#109e62",
Expand Down
4 changes: 4 additions & 0 deletions src/@chakra-ui/gatsby-plugin/foundations/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import colors from "./colors"
import shadows from "./shadows"

// Check the following link to see all the possible options:
// https://github.com/chakra-ui/chakra-ui/blob/main/packages/theme/src/foundations/index.ts
const foundations = {
colors,
shadows,
}

export default foundations
7 changes: 7 additions & 0 deletions src/@chakra-ui/gatsby-plugin/foundations/shadows.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
const shadows = {
// using css variables bc shadows do not support color tokens yet
primary: "4px 4px 0px 0px var(--eth-colors-primaryLight)",
outline: "0 0 0 4px var(--eth-colors-primaryHover)",
}

export default shadows
6 changes: 3 additions & 3 deletions src/@chakra-ui/gatsby-plugin/semanticTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ const semanticTokens = {

// Design System colors
primary: { _light: "blue.500", _dark: "orange.500" },
primaryLight: { _light: "blue.100", _dark: "orange.100" },
primaryDark: { _light: "blue.700", _dark: "orange.800" },
primaryHover: { _light: "blue.300", _dark: "orange.300" },
primaryLight: { _light: "blue.100", _dark: "orange.100" },
body: { _light: "grey.700", _dark: "grey.100" },
bodyLight: { _light: "grey.500", _dark: "grey.100" },
disabled: { _light: "grey.300", _dark: "grey.500" },
disabled: { _light: "grey.400", _dark: "grey.500" },
background: { _light: "white", _dark: "grey.700" },
success: "green.500",
error: "red.600",
error: "red.500",
attention: "yellow.200",
},
}
Expand Down
Loading