| 1 | //! UI components. |
| 2 | //! |
| 3 | //! Primitives from the `topcoat` registry are copied in by `topcoat ui add`, not |
| 4 | //! depended on — once here they are ours to edit, and a framework release cannot change |
| 5 | //! them underneath us. Steid-specific components are written by hand alongside them. |
| 6 | //! |
| 7 | //! **Components reference theme tokens, never raw colours.** A hardcoded colour will |
| 8 | //! not follow a palette change and will not adapt to the colour scheme. See |
| 9 | //! `styles.css`. |
| 10 | //! |
| 11 | //! `topcoat ui add` rewrites the module list below, so keep hand-written entries |
| 12 | //! alphabetical among the rest and expect it to reorder them. |
| 13 | |
| 14 | pub mod badge; |
| 15 | pub mod button; |
| 16 | pub mod card; |
| 17 | pub mod flash; |
| 18 | pub mod input; |
| 19 | pub mod label; |
| 20 | pub mod select; |
| 21 | pub mod textarea; |