diff --git a/.cursor/rules/no-random-colors b/.cursor/rules/no-random-colors new file mode 100644 index 0000000..182827a --- /dev/null +++ b/.cursor/rules/no-random-colors @@ -0,0 +1,6 @@ +--- +description: +globs: +alwaysApply: true +--- +If you are modifying the UI, do not add random colors that are not controlled by src/lib/themes.ts file. \ No newline at end of file diff --git a/AGENTS.md b/AGENTS.md index 0d51496..fc90972 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -6,3 +6,4 @@ - Before finishing the task and showing summary, always run "pnpm format && pnpm lint && pnpm test" at the root of the project to ensure that you don't finish with broken application. - Anytime you change nodecar's code and try to test, recompile it with "cd nodecar && pnpm build". - If there is a global singleton of a struct, only use it inside a method while properly initializing it, unless I have explicitly specified in the request otherwise. +- If you are modifying the UI, do not add random colors that are not controlled by src/lib/themes.ts file.