This is an automated email from the ASF dual-hosted git repository.

sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git


The following commit(s) were added to refs/heads/main by this push:
     new 0de1204  Add a paragraph about Bootstrap customisation to code 
conventions
0de1204 is described below

commit 0de12049b76e4eba08ad43b12d74f8cbcf332003
Author: Sean B. Palmer <[email protected]>
AuthorDate: Tue Dec 23 20:29:44 2025 +0000

    Add a paragraph about Bootstrap customisation to code conventions
---
 atr/docs/code-conventions.md | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/atr/docs/code-conventions.md b/atr/docs/code-conventions.md
index 0a9f6c3..971c278 100644
--- a/atr/docs/code-conventions.md
+++ b/atr/docs/code-conventions.md
@@ -265,6 +265,8 @@ We write headings, form labels, and submission buttons in 
the form "This is some
 
 We use Bootstrap classes for style, and avoid custom classes unless absolutely 
necessary. If you think that you have to resort to a custom class, consult the 
list of [Bootstrap classes](https://bootstrapclasses.com/) for guidance. There 
is usually a class for what you want to achieve, and if there isn't then you 
may be making things too complicated. Complicated, custom style is difficult 
for a team to maintain. If you still believe that a new class is strictly 
warranted, then the class m [...]
 
+The `custom.scss` file in our Bootstrap customisation is for adjusting 
Bootstrap classes only. Classes which we add, even if they seem to follow the 
Bootstrap feel, go in `atr.css` and should be given an `atr-` prefix to 
distinguish them from Bootstrap classes. The `.atr-hide` class, for example, 
just applies `display: none` and has a Bootstrap feel to it but belongs in 
`atr.css`.
+
 ## Markdown
 
 ### Use `_` for emphasis and `**` for strong emphasis


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to