Patch Metro config loading for Windows paths

This commit is contained in:
Fhj0607
2026-04-22 11:47:25 +02:00
parent f6e587ab14
commit 9c5d5c2d3d
5 changed files with 287 additions and 275 deletions

View File

@@ -7,7 +7,66 @@ module.exports = {
],
presets: [require('nativewind/preset')],
theme: {
extend: {},
extend: {
colors: {
app: {
bg: "var(--color-bg)",
surface: "var(--color-surface)",
subtle: "var(--color-subtle)",
border: "var(--color-border)",
},
text: {
main: "var(--color-text-main)",
secondary: "var(--color-text-secondary)",
muted: "var(--color-text-muted)",
inverse: "var(--color-text-inverse)",
},
accent: {
DEFAULT: "var(--color-accent)",
soft: "var(--color-accent-soft)",
hover: "var(--color-accent-hover)",
},
status: {
success: "var(--color-success)",
warning: "var(--color-warning)",
danger: "var(--color-danger)",
},
subject: {
blue: {
bg: "var(--subject-blue-bg)",
text: "var(--subject-blue-text)",
},
emerald: {
bg: "var(--subject-emerald-bg)",
text: "var(--subject-emerald-text)",
},
amber: {
bg: "var(--subject-amber-bg)",
text: "var(--subject-amber-text)",
},
violet: {
bg: "var(--subject-violet-bg)",
text: "var(--subject-violet-text)",
},
cyan: {
bg: "var(--subject-cyan-bg)",
text: "var(--subject-cyan-text)",
},
rose: {
bg: "var(--subject-rose-bg)",
text: "var(--subject-rose-text)",
},
slate: {
bg: "var(--subject-slate-bg)",
text: "var(--subject-slate-text)",
},
},
},
},
},
plugins: [],
};