Skip to content

Commit

Permalink
Merge pull request #206 from cosmology-tech/fix/theme-provider-flashi…
Browse files Browse the repository at this point in the history
…ng-custom-theme

fix: improve
  • Loading branch information
yyyyaaa authored Oct 14, 2024
2 parents f2bc89d + e219c00 commit 0b03877
Show file tree
Hide file tree
Showing 9 changed files with 11,831 additions and 20,262 deletions.
4 changes: 4 additions & 0 deletions apps/react-nextjs-pages-router/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ export default function Home() {
<Button intent="primary">Hello</Button>

<TextField id="validator" label="Validator" value="Cosmology" />

<Box bg="$primary100" width="200px" height="200px">
<Text color="$text">Custom theme</Text>
</Box>
</Stack>
</Box>
</main>
Expand Down
3 changes: 2 additions & 1 deletion apps/vue-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"@vanilla-extract/css": "^1.15.5",
"@vanilla-extract/css-utils": "^0.1.4",
"@vanilla-extract/recipes": "^0.5.5",
"@vanilla-extract/private": "^1.0.6",
"@vanilla-extract/vite-plugin": "^4.0.4",
"@vitejs/plugin-vue": "^5.0.4",
"animejs": "^3.2.1",
Expand All @@ -40,4 +41,4 @@
"vue-tsc": "^1.8.22",
"zustand": "^4.5.2"
}
}
}
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"story:vue": "pnpm run --stream --filter '@interchain-ui/vue' sb",
"lerna": "lerna run",
"pub:beta": "lerna publish --no-private --preid beta",
"prepublishOnly": "pnpm run clear:cache && pnpm run c:react",
"prepublishOnly": "pnpm run clear:cache && pnpm run c:react && pnpm run c:vue",
"clear": "pnpm run clear:cache & pnpm run clear:builds && pnpm run clear:artifacts & pnpm run clear:node_modules",
"clear:artifacts": "find ./packages -name src -type d | grep -vE 'react-no-ssr|parcel-optimizer-unlink-css|compiler|vue-codemod' | xargs rm -rf",
"clear:builds": "find ./packages -name dist -type d | grep -vE 'react-no-ssr|parcel-optimizer-unlink-css|compiler|vue-codemod' | xargs rm -rf",
Expand Down Expand Up @@ -114,6 +114,7 @@
"@vanilla-extract/css": "^1.15.5",
"@vanilla-extract/css-utils": "^0.1.4",
"@vanilla-extract/recipes": "^0.5.5",
"@vanilla-extract/private": "^1.0.6",
"animejs": "^3.2.2",
"bignumber.js": "^9.1.2",
"clsx": "^2.1.1",
Expand All @@ -132,4 +133,4 @@
"chore": "Chore"
}
}
}
}
3 changes: 2 additions & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
"@vanilla-extract/css-utils": "^0.1.4",
"@vanilla-extract/dynamic": "^2.1.2",
"@vanilla-extract/recipes": "^0.5.5",
"@vanilla-extract/private": "^1.0.6",
"animejs": "^3.2.2",
"bignumber.js": "^9.1.2",
"client-only": "^0.0.1",
Expand Down Expand Up @@ -157,4 +158,4 @@
"vite-plugin-replace": "^0.1.1"
},
"gitHead": "05adf69046d07d6f764b96cf54cbaa492de06d95"
}
}
1 change: 1 addition & 0 deletions packages/react/stories/marketing/Timeline.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ export const Default: Story = {
timestamp: "June 2023",
customContent: (
<Box
p="$8"
display="flex"
gap="$8"
justifyContent="center"
Expand Down
4 changes: 3 additions & 1 deletion packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
"build:preview": "vite preview",
"clean": "rimraf ./dist",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore",
"ci": "pn run lint && pn run build",
"format": "prettier --write src/",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
Expand All @@ -75,6 +76,7 @@
"@vanilla-extract/css-utils": "^0.1.4",
"@vanilla-extract/dynamic": "^2.1.2",
"@vanilla-extract/recipes": "^0.5.5",
"@vanilla-extract/private": "^1.0.6",
"animejs": "^3.2.2",
"bignumber.js": "^9.1.2",
"clsx": "^2.1.1",
Expand Down Expand Up @@ -141,4 +143,4 @@
"registry": "https://registry.npmjs.org"
},
"gitHead": "05adf69046d07d6f764b96cf54cbaa492de06d95"
}
}
Loading

0 comments on commit 0b03877

Please sign in to comment.