From 9bf7f39c0cdb8649414269d0fd4af48606daf90e Mon Sep 17 00:00:00 2001 From: zhom <2717306+zhom@users.noreply.github.com> Date: Mon, 18 Aug 2025 17:01:10 +0400 Subject: [PATCH] docs: agents --- .cursor/rules/no-random-colors | 6 ++++++ AGENTS.md | 1 + 2 files changed, 7 insertions(+) create mode 100644 .cursor/rules/no-random-colors 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.