Skip to content

Commit 44e419e

Browse files
Merge pull request #5994 from nextcloud/docs/noid/ai-agents-md-design
docs(dev): Add info for agents to respect the general design principles
2 parents 0147134 + 6adeef6 commit 44e419e

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

AGENTS.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,13 @@ Layout/menu files follow the component they belong to:
145145
| AdapterView item || `item_person.xml` |
146146
| Partial layout || `partial_stats_bar.xml` |
147147

148+
## Design
149+
150+
- Follow Material Design 3 guidelines
151+
- In addition to any Material Design wording guidelines, follow the Nextcloud wording guidelines at https://docs.nextcloud.com/server/latest/developer_manual/design/foundations.html#wording
152+
- Ensure the app works in both light and dark theme
153+
- Ensure the app works with different server primary colors by using the colorTheme of viewThemeUtils
154+
148155
## After Making Changes
149156

150157
After finishing code changes, run `./gradlew detekt ktlintCheck` and fix any new errors or warnings before considering the task done.

0 commit comments

Comments
 (0)