Skip to content

Commit

Permalink
Showing 15 changed files with 586 additions and 346 deletions.
4 changes: 4 additions & 0 deletions apps/mobile/babel.config.js
Original file line number Diff line number Diff line change
@@ -10,6 +10,10 @@ module.exports = function (api) {
"module-resolver",
{
alias: {
"es-toolkit/compat": path.resolve(
__dirname,
"../../node_modules/es-toolkit/dist/compat/index.js",
),
"es-toolkit": path.resolve(__dirname, "../../node_modules/es-toolkit/dist/index.js"),
},
extensions: [".js", ".jsx", ".ts", ".tsx"],
2 changes: 2 additions & 0 deletions apps/mobile/package.json
Original file line number Diff line number Diff line change
@@ -16,6 +16,7 @@
"dependencies": {
"@better-auth/expo": "1.0.23-beta.2",
"@expo/vector-icons": "^14.0.2",
"@follow/components": "workspace:*",
"@follow/constants": "workspace:*",
"@follow/hooks": "workspace:*",
"@follow/shared": "workspace:*",
@@ -83,6 +84,7 @@
"drizzle-kit": "0.30.1",
"eas-cli": "14.2.0",
"expo-drizzle-studio-plugin": "0.1.1",
"postcss": "8.4.49",
"react-test-renderer": "18.3.1"
}
}
8 changes: 8 additions & 0 deletions apps/mobile/postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = {
plugins: {
tailwindcss: {
config: "./tailwind.dom.config.ts",
},
autoprefixer: {},
},
}
14 changes: 14 additions & 0 deletions apps/mobile/src/components/common/Html.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
"use dom"
import "@follow/components/assets/colors-media.css"
import "@follow/components/assets/tailwind.css"

import type { HtmlProps } from "@follow/components"
import { Html } from "@follow/components"

export default function HtmlRender({
content,
dom,
...options
}: { dom?: import("expo/dom").DOMProps } & HtmlProps) {
return <Html content={content} {...options} />
}
9 changes: 9 additions & 0 deletions apps/mobile/tailwind.dom.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import type { Config } from "tailwindcss"

import { baseTwConfig } from "../../configs/tailwind.base.config"

export default {
...baseTwConfig,
darkMode: "media",
content: ["../../packages/**/*.{ts,tsx}"],
} satisfies Config
4 changes: 2 additions & 2 deletions apps/renderer/package.json
Original file line number Diff line number Diff line change
@@ -103,12 +103,12 @@
"sonner": "1.7.1",
"tldts": "6.1.66",
"unified": "11.0.5",
"unist-util-visit-parents": "^6.0.1",
"unist-util-visit-parents": "5.1.3",
"use-context-selector": "2.0.0",
"use-pull-to-refresh": "2.4.1",
"use-sync-external-store": "1.4.0",
"usehooks-ts": "3.1.0",
"vfile": "6.0.3",
"vfile": "5.3.7",
"web-push": "3.6.7",
"zod": "3.23.8",
"zustand": "5.0.2"
Loading
Oops, something went wrong.

0 comments on commit 313ad9b

Please sign in to comment.