Skip to content

Commit

Permalink
feat: panda preset package, ref leather-io/issues#62
Browse files Browse the repository at this point in the history
  • Loading branch information
pete-watters committed May 29, 2024
1 parent 755448f commit 36e5238
Show file tree
Hide file tree
Showing 11 changed files with 759 additions and 556 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@
"@chromatic-com/storybook": "1.2.23",
"@leather-wallet/prettier-config": "0.4.0",
"@leather-wallet/rpc": "0.3.9",
"@leather-wallet/panda-preset": "0.0.5",
"@ls-lint/ls-lint": "2.2.3",
"@mdx-js/loader": "3.0.0",
"@pandacss/dev": "0.32.0",
Expand Down
19 changes: 1 addition & 18 deletions panda.config.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
import { defineConfig } from '@pandacss/dev';

import { breakpoints } from './theme/breakpoints';
import { globalCss } from './theme/global/global';
import { keyframes } from './theme/keyframes';
import { buttonRecipe } from './theme/recipes/button-recipe';
import { linkRecipe } from './theme/recipes/link-recipe';
import { semanticTokens } from './theme/semantic-tokens';
import { tokens } from './theme/tokens';
import { textStyles } from './theme/typography';

export default defineConfig({
preflight: true,
Expand All @@ -18,24 +11,14 @@ export default defineConfig({

prefix: 'leather',

presets: [],
presets: ['@leather-wallet/panda-preset'],

studio: { logo: '💼' },

jsxFramework: 'react',

strictTokens: false,

theme: {
extend: {
semanticTokens,
tokens,
keyframes,
textStyles,
breakpoints,
recipes: { button: buttonRecipe, link: linkRecipe },
},
},
outdir: 'leather-styles',
outExtension: 'js',
minify: true,
Expand Down
Loading

0 comments on commit 36e5238

Please sign in to comment.