|
1 | | - |
2 | | ---- START: DB UX Copilot Instructions --- |
| 1 | +--- START: DB UX Copilot Instructions – do not edit below --- |
3 | 2 |
|
4 | 3 | # @db-ux/core-components |
5 | 4 | ## Common AI mistakes |
|
16 | 15 | # @db-ux/core-foundations |
17 | 16 | ## CSS |
18 | 17 |
|
19 | | -- If you use CSS follow these rules: |
20 | | - - use for `variables` like, sizing, spacing, elevation, border, container-size the file node_modules/@db-ux/core-foundations/css/Variables.md |
| 18 | +- If you use CSS, follow these rules: |
| 19 | + - for `variables` like, sizing, spacing, elevation, border or container-size use the file node_modules/@db-ux/core-foundations/agent/css/Variables.md |
21 | 20 |
|
22 | 21 | ## SCSS |
23 | 22 |
|
24 | | -- If you use SCSS follow these rules: |
25 | | - - use for `variables` like, sizing, spacing, elevation, border, container-size the file node_modules/@db-ux/core-foundations/scss/Variables.md |
| 23 | +- If you use SCSS, follow these rules: |
| 24 | + - for `variables` like, sizing, spacing, elevation, border or container-size use the file node_modules/@db-ux/core-foundations/agent/scss/Variables.md |
26 | 25 |
|
27 | 26 | ## Tailwind |
28 | 27 |
|
29 | | -- If you use Tailwind follow these rules: |
30 | | - - use for `variables` like, sizing, spacing, elevation, border, container-size the file node_modules/@db-ux/core-foundations/tailwind/Variables.md |
31 | | - - Always stick with the variables don't use something like `p-4` or `m-[16px]` use `p-fix-xs` or `m-fix-md` instead. |
| 28 | +- If you use Tailwind, follow these rules: |
| 29 | + - for `variables` like, sizing, spacing, elevation, border or container-size use the file node_modules/@db-ux/core-foundations/agent/tailwind/Variables.md |
| 30 | + - Always stick to the variables. Don't use values like `p-4` or `m-[16px]`; use `p-fix-xs` or `m-fix-md` instead. |
32 | 31 |
|
33 | 32 |
|
34 | 33 | # @db-ux/react-core-components |
35 | 34 | - Use "@db-ux/react-core-components" as import for components: |
36 | | - - use for `DBDrawer` or `Drawer` the file node_modules/@db-ux/react-core-components/Drawer.md |
37 | | - - use for `DBTooltip` or `Tooltip` the file node_modules/@db-ux/react-core-components/Tooltip.md |
38 | | - - use for `DBTextarea` or `Textarea` the file node_modules/@db-ux/react-core-components/Textarea.md |
39 | | - - use for `DBTag` or `Tag` the file node_modules/@db-ux/react-core-components/Tag.md |
40 | | - - use for `DBTabs` or `Tabs` the file node_modules/@db-ux/react-core-components/Tabs.md |
41 | | - - use for `DBTabItem` or `TabItem` the file node_modules/@db-ux/react-core-components/TabItem.md |
42 | | - - use for `DBSwitch` or `Switch` the file node_modules/@db-ux/react-core-components/Switch.md |
43 | | - - use for `DBStack` or `Stack` the file node_modules/@db-ux/react-core-components/Stack.md |
44 | | - - use for `DBSelect` or `Select` the file node_modules/@db-ux/react-core-components/Select.md |
45 | | - - use for `DBSection` or `Section` the file node_modules/@db-ux/react-core-components/Section.md |
46 | | - - use for `DBRadio` or `Radio` the file node_modules/@db-ux/react-core-components/Radio.md |
47 | | - - use for `DBPopover` or `Popover` the file node_modules/@db-ux/react-core-components/Popover.md |
48 | | - - use for `DBPage` or `Page` the file node_modules/@db-ux/react-core-components/Page.md |
49 | | - - use for `DBNotification` or `Notification` the file node_modules/@db-ux/react-core-components/Notification.md |
50 | | - - use for `DBNavigationItem` or `NavigationItem` the file node_modules/@db-ux/react-core-components/NavigationItem.md |
51 | | - - use for `DBNavigation` or `Navigation` the file node_modules/@db-ux/react-core-components/Navigation.md |
52 | | - - use for `DBLink` or `Link` the file node_modules/@db-ux/react-core-components/Link.md |
53 | | - - use for `DBInput` or `Input` the file node_modules/@db-ux/react-core-components/Input.md |
54 | | - - use for `DBInfotext` or `Infotext` the file node_modules/@db-ux/react-core-components/Infotext.md |
55 | | - - use for `DBIcon` or `Icon` the file node_modules/@db-ux/react-core-components/Icon.md |
56 | | - - use for `DBHeader` or `Header` the file node_modules/@db-ux/react-core-components/Header.md |
57 | | - - use for `DBDivider` or `Divider` the file node_modules/@db-ux/react-core-components/Divider.md |
58 | | - - use for `DBCustomSelect` or `CustomSelect` the file node_modules/@db-ux/react-core-components/CustomSelect.md |
59 | | - - use for `DBCheckbox` or `Checkbox` the file node_modules/@db-ux/react-core-components/Checkbox.md |
60 | | - - use for `DBCard` or `Card` the file node_modules/@db-ux/react-core-components/Card.md |
61 | | - - use for `DBButton` or `Button` the file node_modules/@db-ux/react-core-components/Button.md |
62 | | - - use for `DBBrand` or `Brand` the file node_modules/@db-ux/react-core-components/Brand.md |
63 | | - - use for `DBBadge` or `Badge` the file node_modules/@db-ux/react-core-components/Badge.md |
64 | | - - use for `DBAccordionItem` or `AccordionItem` the file node_modules/@db-ux/react-core-components/AccordionItem.md |
65 | | - - use for `DBAccordion` or `Accordion` the file node_modules/@db-ux/react-core-components/Accordion.md |
| 35 | + - use for `DBDrawer` or `Drawer` the file node_modules/@db-ux/react-core-components/agent/Drawer.md |
| 36 | + - use for `DBTooltip` or `Tooltip` the file node_modules/@db-ux/react-core-components/agent/Tooltip.md |
| 37 | + - use for `DBTextarea` or `Textarea` the file node_modules/@db-ux/react-core-components/agent/Textarea.md |
| 38 | + - use for `DBTag` or `Tag` the file node_modules/@db-ux/react-core-components/agent/Tag.md |
| 39 | + - use for `DBTabs` or `Tabs` the file node_modules/@db-ux/react-core-components/agent/Tabs.md |
| 40 | + - use for `DBTabItem` or `TabItem` the file node_modules/@db-ux/react-core-components/agent/TabItem.md |
| 41 | + - use for `DBSwitch` or `Switch` the file node_modules/@db-ux/react-core-components/agent/Switch.md |
| 42 | + - use for `DBStack` or `Stack` the file node_modules/@db-ux/react-core-components/agent/Stack.md |
| 43 | + - use for `DBSelect` or `Select` the file node_modules/@db-ux/react-core-components/agent/Select.md |
| 44 | + - use for `DBSection` or `Section` the file node_modules/@db-ux/react-core-components/agent/Section.md |
| 45 | + - use for `DBRadio` or `Radio` the file node_modules/@db-ux/react-core-components/agent/Radio.md |
| 46 | + - use for `DBPopover` or `Popover` the file node_modules/@db-ux/react-core-components/agent/Popover.md |
| 47 | + - use for `DBPage` or `Page` the file node_modules/@db-ux/react-core-components/agent/Page.md |
| 48 | + - use for `DBNotification` or `Notification` the file node_modules/@db-ux/react-core-components/agent/Notification.md |
| 49 | + - use for `DBNavigationItem` or `NavigationItem` the file node_modules/@db-ux/react-core-components/agent/NavigationItem.md |
| 50 | + - use for `DBNavigation` or `Navigation` the file node_modules/@db-ux/react-core-components/agent/Navigation.md |
| 51 | + - use for `DBLink` or `Link` the file node_modules/@db-ux/react-core-components/agent/Link.md |
| 52 | + - use for `DBInput` or `Input` the file node_modules/@db-ux/react-core-components/agent/Input.md |
| 53 | + - use for `DBInfotext` or `Infotext` the file node_modules/@db-ux/react-core-components/agent/Infotext.md |
| 54 | + - use for `DBIcon` or `Icon` the file node_modules/@db-ux/react-core-components/agent/Icon.md |
| 55 | + - use for `DBHeader` or `Header` the file node_modules/@db-ux/react-core-components/agent/Header.md |
| 56 | + - use for `DBDivider` or `Divider` the file node_modules/@db-ux/react-core-components/agent/Divider.md |
| 57 | + - use for `DBCustomSelect` or `CustomSelect` the file node_modules/@db-ux/react-core-components/agent/CustomSelect.md |
| 58 | + - use for `DBCheckbox` or `Checkbox` the file node_modules/@db-ux/react-core-components/agent/Checkbox.md |
| 59 | + - use for `DBCard` or `Card` the file node_modules/@db-ux/react-core-components/agent/Card.md |
| 60 | + - use for `DBButton` or `Button` the file node_modules/@db-ux/react-core-components/agent/Button.md |
| 61 | + - use for `DBBrand` or `Brand` the file node_modules/@db-ux/react-core-components/agent/Brand.md |
| 62 | + - use for `DBBadge` or `Badge` the file node_modules/@db-ux/react-core-components/agent/Badge.md |
| 63 | + - use for `DBAccordionItem` or `AccordionItem` the file node_modules/@db-ux/react-core-components/agent/AccordionItem.md |
| 64 | + - use for `DBAccordion` or `Accordion` the file node_modules/@db-ux/react-core-components/agent/Accordion.md |
66 | 65 |
|
67 | | ---- END: DB UX Copilot Instructions --- |
| 66 | +--- END: DB UX Copilot Instructions – do not edit above --- |
0 commit comments