Commit 3b80e52
feat: Tuleap docs rebranding (#1726)
part of story #45211: Tuleap 17.0 new theme
How to test:
- Rebuild the CSS with the following command:
$ npm i && npm run build
- Rebuild the HTML with the following command:
$ make watch-html-tuleap-org
- Inspect the docs
- How-to guides & User guides use the new orange theme color (links and
header have this color)
- The logo image on the top-left is updated.
- The favicon is updated (you can check the various versions with the
"Favicon Detector" extension for Firefox).
- The illustrations on the front page use the new logo.
- The font is updated to "Public Sans Variable".
Why?
We do not have a satisfactory way to cache-bust assets like CSS and JS.
I used manual renaming ("style" -> "style-2") to avoid cache issues, but
I know it's a broken process. It's nonetheless better than nothing.
I did not bother with webmanifest images, the favicons should be
sufficient.
Only "woff2" format is included for Public Sans font. woff2 is
considered Baseline since about 2018, it was only IE11 that kept us
using TTF and woff format.
I used SVG files for front page illustrations so they can be cached. The
only exception was the developer guide image, because it uses a CSS
class to change the gradient colors, so it must be inline. We could also
"hardcode" the color directly to the SVG "stop-color" attributes and
make it an external file, I guess the CSS class is more maintainable.
Co-authored-by: Nicolas Terray <nicolas.terray@enalean.com>1 parent 87a9405 commit 3b80e52
File tree
26 files changed
+107
-108
lines changed- languages/en/_themes/tuleap_org
- static/img
- favicon
- style
- backbone
26 files changed
+107
-108
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | | - | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Loading
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Loading
Binary file not shown.
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Loading
0 commit comments