Skip to content

Commit

Permalink
Add HUG
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfdsilva committed Jan 29, 2024
1 parent ccf5d24 commit 078db46
Show file tree
Hide file tree
Showing 5 changed files with 444 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"@chakra-ui/gatsby-plugin": "^3.1.3",
"@chakra-ui/react": "^2.8.2",
"@devseed-ui/collecticons-chakra": "^0.1.0-beta",
"@devseed-ui/hug-chakra": "^0.1.0-beta",
"@emotion/react": "^11.11.3",
"@emotion/styled": "^11.11.0",
"@mdx-js/react": "^2.3.0",
Expand Down
6 changes: 6 additions & 0 deletions src/@chakra-ui/gatsby-plugin/theme.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { extendTheme } from '@chakra-ui/react';
import { extendHugConfig } from '@devseed-ui/hug-chakra';
import { createColorPalette } from './color-palette';

const theme = {
Expand Down Expand Up @@ -141,6 +142,11 @@ const theme = {
}
}
}
},
config: {
...extendHugConfig({
layoutMax: 'container.xl'
})
}
};

Expand Down
Loading

0 comments on commit 078db46

Please sign in to comment.