Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
9b55676
First implementation for h2 heading marker
hannahiss Aug 27, 2026
4b49f62
css snapshots
hannahiss Aug 28, 2026
5b87f62
Add rehype-class-names plugin to add marker classes to all h2 (to tes…
hannahiss Aug 28, 2026
dd2d86a
Enhance doc
hannahiss Aug 28, 2026
76c59b5
Add package-lock
hannahiss Aug 31, 2026
c0662a1
Merge branch 'main' into main-his-typo-headings
hannahiss Aug 31, 2026
8df5798
Merge branch 'refs/heads/main' into main-his-typo-headings
hannahiss Sep 8, 2026
3772a49
Remove rehype-class-names for now
hannahiss Sep 8, 2026
c334f2e
Change comment (no OUDS mod)
hannahiss Sep 8, 2026
cfc8399
Use svg for marker and anticipate tokens 2.7
hannahiss Sep 9, 2026
4f25b55
Merge branch 'main' into main-his-typo-headings
hannahiss Sep 9, 2026
f4510d7
Use marker for orange/orange-compact and text-brand-primary for sosh
hannahiss Sep 10, 2026
5547628
Merge branch 'main' into main-his-typo-headings
hannahiss Sep 11, 2026
e664056
add .fs-hl.marker
hannahiss Sep 11, 2026
5b10cfa
- update Typo version
hannahiss Sep 14, 2026
9f1059c
chore: update tokens
boosted-bot Sep 14, 2026
d0b1f0e
fix to compile
MaxLardenois Sep 14, 2026
eba3249
fix css tests
MaxLardenois Sep 14, 2026
3bfc0d2
fix tokens
MaxLardenois Sep 15, 2026
3dff28e
Merge remote-tracking branch 'origin/tokenator-update-tokens-20260914…
hannahiss Sep 15, 2026
32f4f75
fix css tests
MaxLardenois Sep 15, 2026
e8f9c7d
feat: update Alert message to v1.2.0 (#3819)
MaxLardenois Sep 25, 2026
35399db
feat(lib): Bump Items to v1.2.0 (#3821)
louismaximepiton Sep 29, 2026
8784c6b
Fix to avoid a warning
louismaximepiton Oct 1, 2026
587f2a4
feat: Update buttons components to tokens v2.7 (#3826)
hannahiss Oct 2, 2026
7032616
Merge branch 'main' into tokenator-update-tokens-20260914134918
MaxLardenois Oct 2, 2026
acef91d
freeze some components version
MaxLardenois Oct 5, 2026
c8e19df
add reference for expand link and button in skills
MaxLardenois Oct 5, 2026
7eee8b7
Merge remote-tracking branch 'origin/tokenator-update-tokens-20260914…
hannahiss Oct 5, 2026
ccce50c
update from base branch
hannahiss Oct 5, 2026
67d9d1e
Merge branch 'refs/heads/main' into main-his-typo-headings
hannahiss Oct 7, 2026
7bc5971
Create typo components
hannahiss Oct 7, 2026
2dab1f8
Change remaining links and add todos when not clear yet
hannahiss Oct 7, 2026
a294fb8
css snapshot tests
hannahiss Oct 7, 2026
8c6155c
.
hannahiss Oct 7, 2026
f889784
.
hannahiss Oct 7, 2026
5da7495
.
hannahiss Oct 7, 2026
e08f97f
Broken links
hannahiss Oct 7, 2026
dd2c7d4
css tests
hannahiss Oct 8, 2026
094ed0d
.
hannahiss Oct 8, 2026
bb16f4d
link .blockquote-footer with <blockquote>
hannahiss Oct 8, 2026
fe8ea3b
css tests
hannahiss Oct 8, 2026
f8317b1
mig guides
hannahiss Oct 8, 2026
0d11af4
right comp and versions
hannahiss Oct 8, 2026
3960fe4
Revise typography aliases
hannahiss Oct 8, 2026
e907426
Update call to ThemeSpecific (attribute name mistake)
hannahiss Oct 8, 2026
8861b5d
Merge branch 'main' into main-his-typo-headings
hannahiss Oct 8, 2026
6a744b9
content/default color on code elements + content/muted for our doc fo…
hannahiss Oct 8, 2026
959a46d
Update skills
hannahiss Oct 8, 2026
ecd7229
Update css snapshot
hannahiss Oct 9, 2026
ad3bd70
Add carriage return between heart definition and extension
hannahiss Oct 9, 2026
80107da
remove useless carriage returns
hannahiss Oct 9, 2026
a29e0b8
update doc for classes .hX
hannahiss Oct 9, 2026
fd09ab0
update skills
hannahiss Oct 9, 2026
18ce773
Update site/data/_components-versions.yml
hannahiss Oct 19, 2026
3eca2fc
Merge branch 'main' into main-his-typo-headings
hannahiss Oct 19, 2026
1b630be
Updates after LM review
hannahiss Oct 19, 2026
3253244
Merge branch 'main' into main-his-typo-headings
hannahiss Oct 19, 2026
62a2689
css snapshots
hannahiss Oct 20, 2026
d601f33
Merge branch 'refs/heads/main' into main-his-typo-headings
hannahiss Oct 20, 2026
80f57c9
Merge branch 'main' into main-his-typo-headings
hannahiss Oct 21, 2026
1f49605
Update reboot after LM review + skills
hannahiss Oct 21, 2026
757816b
move deprecated .blockquote in reboot for more consistency in code
hannahiss Oct 22, 2026
d7c2c77
css tests
hannahiss Oct 22, 2026
15654ed
Merge branch 'main' into main-his-typo-headings
hannahiss Oct 22, 2026
76a532a
Update heading 5/6 labels
hannahiss Oct 23, 2026
830adfc
Merge branch 'refs/heads/main' into main-his-typo-headings
hannahiss Oct 23, 2026
35ca0d6
Merge branch 'main' into main-his-typo-headings
hannahiss Nov 2, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/skills/token-system/references/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Figma (design decisions)
- Font-family stack strings
- Embedded SVG icon data URIs
- Sass maps
- Heading marker SVG and dimensions (`$ouds-heading-large-marker-img/-width/-height`, set to `null` for a brand without a marker)

---

Expand Down
2 changes: 1 addition & 1 deletion .github/skills/validate-tokens/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Read all 3 files and extract `$ouds-*` definitions:

## Step 2 — Identify component SCSS files

All `scss/_*.scss` + `scss/forms/_*.scss`, excluding: `_variables.scss`, `_config.scss`, `_functions.scss`, `_mixins.scss`, `_maps.scss`, `_root.scss`, `_reboot.scss`, `_utilities.scss`, `_helpers.scss`, `_grid.scss`, `_containers.scss`, `_images.scss`, `_type.scss`, `_transitions.scss`, `_forms.scss`, `_variables-dark.scss`
All `scss/_*.scss` + `scss/forms/_*.scss`, excluding: `_variables.scss`, `_config.scss`, `_functions.scss`, `_mixins.scss`, `_maps.scss`, `_root.scss`, `_reboot.scss`, `_utilities.scss`, `_helpers.scss`, `_grid.scss`, `_containers.scss`, `_images.scss`, `_transitions.scss`, `_forms.scss`, `_variables-dark.scss`

---

Expand Down
2 changes: 1 addition & 1 deletion packages/migrate/src/migrate.spec.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ describe('Migrate', () => {
})

expect(getReplacementsWarnings()).toEqual([
'initialism class is deprecated in tests/source-boosted.html. See: https://web.unified-design-system.orange.com/docs/foundation/typography',
'initialism class is deprecated in tests/source-boosted.html. See: https://web.unified-design-system.orange.com/docs/foundation/reboot',
'container class is deprecated in tests/source-boosted.html. See: https://web.unified-design-system.orange.com/docs/layout/containers',
'container-md class is deprecated in tests/source-boosted.html. See: https://web.unified-design-system.orange.com/docs/layout/containers',
'bg-supporting-purple class is deprecated in tests/source-boosted.html. See: https://web.unified-design-system.orange.com/docs/utilities/background',
Expand Down
2 changes: 1 addition & 1 deletion packages/migrate/src/replacements/common.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const commonReplacements = [
['display-4', 'h1'],
['display-5', 'h2'],
['display-6', 'h3'],
[...warnForClass('initialism', { link: 'https://web.unified-design-system.orange.com/docs/foundation/typography' })],
[...warnForClass('initialism', { link: 'https://web.unified-design-system.orange.com/docs/foundation/reboot' })],

// Layout
[...warnForClass('container', { link: 'https://web.unified-design-system.orange.com/docs/layout/containers' })],
Expand Down
2 changes: 1 addition & 1 deletion packages/orange-compact/scss/ouds-web.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// Layout & components
@import "@ouds/web-common/scss/root";
@import "@ouds/web-common/scss/reboot";
@import "@ouds/web-common/scss/type";
@import "@ouds/web-common/scss/typography";
@import "@ouds/web-common/scss/images";
@import "@ouds/web-common/scss/containers";
@import "@ouds/web-common/scss/grid";
Expand Down
6 changes: 6 additions & 0 deletions packages/orange-compact/scss/tokens/_composite.scss
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ $ouds-font-family-monospace-stack:
Menlo,
monospace !default;
// scss-docs-end ouds-composite-font-monospace
// scss-docs-start ouds-composite-typography
// NB: Set here the marker SVG exported from Figma, including paddings, with no `fill` attributes. Set it to null if there is not marker available for this theme.
$ouds-heading-large-marker-img: url("data:image/svg+xml,<svg width='30' height='12' viewBox='0 0 30 12' xmlns='http://www.w3.org/2000/svg'><rect y='4' width='30' height='6'/></svg>") !default;
Comment thread
louismaximepiton marked this conversation as resolved.
Resolved
$ouds-heading-large-marker-width: 30px !default;
$ouds-heading-large-marker-height: 12px !default;
// scss-docs-end ouds-composite-typography
// stylelint-enable value-keyword-case, scss/dollar-variable-colon-space-after

//// ****** ICONS as data URIs ******
Expand Down
2 changes: 1 addition & 1 deletion packages/orange/scss/ouds-web.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// Layout & components
@import "@ouds/web-common/scss/root";
@import "@ouds/web-common/scss/reboot";
@import "@ouds/web-common/scss/type";
@import "@ouds/web-common/scss/typography";
@import "@ouds/web-common/scss/images";
@import "@ouds/web-common/scss/containers";
@import "@ouds/web-common/scss/grid";
Expand Down
6 changes: 6 additions & 0 deletions packages/orange/scss/tokens/_composite.scss
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ $ouds-font-family-monospace-stack:
Menlo,
monospace !default;
// scss-docs-end ouds-composite-font-monospace
// scss-docs-start ouds-composite-typography
// NB: Set here the marker SVG exported from Figma, including paddings, with no `fill` attributes. Set it to null if there is not marker available for this theme.
$ouds-heading-large-marker-img: url("data:image/svg+xml,<svg width='30' height='12' viewBox='0 0 30 12' xmlns='http://www.w3.org/2000/svg'><rect y='4' width='30' height='6'/></svg>") !default;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is this from ? How can we find it back if it changes ? How will it be warned about ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this SVG is exported from Figma, and is expected to contain paddings, plus it shouldn't have any fill attribute

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't it counted as an icon that we have in the icon packages ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no it is not in the icon package, it does not have the same size or viebox, so it is not considred as an icon

Comment thread
louismaximepiton marked this conversation as resolved.
Resolved
Comment thread
louismaximepiton marked this conversation as resolved.
Resolved
$ouds-heading-large-marker-width: 30px !default;
$ouds-heading-large-marker-height: 12px !default;
// scss-docs-end ouds-composite-typography
// stylelint-enable value-keyword-case, scss/dollar-variable-colon-space-after

//// ****** ICONS as data URIs ******
Expand Down
2 changes: 1 addition & 1 deletion packages/sosh/scss/ouds-web.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// Layout & components
@import "@ouds/web-common/scss/root";
@import "@ouds/web-common/scss/reboot";
@import "@ouds/web-common/scss/type";
@import "@ouds/web-common/scss/typography";
@import "@ouds/web-common/scss/images";
@import "@ouds/web-common/scss/containers";
@import "@ouds/web-common/scss/grid";
Expand Down
6 changes: 6 additions & 0 deletions packages/sosh/scss/tokens/_composite.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ $ouds-font-family-monospace-stack:
Menlo,
monospace !default;
// scss-docs-end ouds-composite-font-monospace
// scss-docs-start ouds-composite-typography
// NB: Set here the marker SVG exported from Figma, including paddings, with no `fill` attributes. Set it to null if there is not marker available for this theme.
$ouds-heading-large-marker-img: null !default;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think about : $typography-marker-img or something similar ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be consistent with the naming of the class, after the opinion of Vincent will be given

$ouds-heading-large-marker-width: 0 !default;
$ouds-heading-large-marker-height: 0 !default;
// scss-docs-end ouds-composite-typography
// stylelint-enable value-keyword-case, scss/dollar-variable-colon-space-after

//// ****** ICONS as data URIs ******
Expand Down
23 changes: 21 additions & 2 deletions scss/_reboot.scss
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,29 @@ dd {

// Blockquote

.blockquote, // deprecated in OUDS Web v1.6
blockquote {
margin: 0 0 $ouds-space-fixed-medium; // OUDS mod: instead of `0 0 1rem`

> p {
@include get-font-size("body-large");
}

> :last-child {
margin-bottom: 0;
}
}

.blockquote-footer, // deprecated in OUDS Web v1.6
blockquote + figcaption {
margin-top: -$ouds-space-fixed-medium;
margin-bottom: $ouds-space-fixed-medium;
@include get-font-size("body-small");
color: var(--#{$prefix}color-content-muted);

&::before {
content: "\2014\00A0"; // em dash, nbsp
}
}

// OUDS mod: No italic
Expand Down Expand Up @@ -397,7 +418,6 @@ pre {
margin-bottom: $ouds-space-fixed-medium; // 2 // OUDS mod: instead of `1rem`
overflow: auto; // 3
@include get-font-size("code-medium"); // OUDS mod: instead of `font-size: $code-font-size`
color: $pre-color;

@louismaximepiton louismaximepiton Oct 13, 2026 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as #3776 (comment)


// Account for some code outputs that place code tags in pre tags
code {
Expand All @@ -411,7 +431,6 @@ var, // OUDS mod
code {
font-size: $code-font-size;
font-style: normal; // OUDS mod: <var> is italic in all browsers
color: var(--#{$prefix}color-content-muted);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still not a big fan of removing it, since all documentation generators will generate default color code which is barely visible imo and will encourage people to use every color they can use, for example $ouds-color-content-status-warning which is imo an error. I'll keep this open to have other thoughts.

For instance if we keep it like that, we should also remove :

  • $code-color and its associated CSS variable
  • Add something in the update guide

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To confirm with @vprothais wether we keep the grey color or not?

word-wrap: break-word;
}

Expand Down
38 changes: 12 additions & 26 deletions scss/_type.scss → scss/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,18 @@
@extend h6;
}

@if ($ouds-typography-heading-large-marker and $ouds-heading-large-marker-img) {
.h2.marker::after,
h2.marker::after, // stylelint-disable-line selector-no-qualifying-type
.fs-hl.marker::after { // TODO not sure of this one because `.fs-hl` is not completely an equivalent of h2 (it is not bold)
Comment thread
louismaximepiton marked this conversation as resolved.
Resolved
display: block;
width: $ouds-heading-large-marker-width;
height: $ouds-heading-large-marker-height;
content: "";
background-color: $ouds-typography-color-content-marker;
mask-image: #{escape-svg($ouds-heading-large-marker-img)};
}
}

.lead {
@include get-font-size("body-large"); // OUDS mod: instead of `font-size: $lead-font-size`
Expand Down Expand Up @@ -78,29 +90,3 @@
// Misc
//

// Builds on `abbr`
// OUDS mod: no .initialism

// Blockquotes
.blockquote {
Comment thread
louismaximepiton marked this conversation as resolved.
Resolved
margin-bottom: $blockquote-margin-y;

> p {
@include get-font-size("body-large"); // OUDS mod: instead of `font-size: $blockquote-font-size` in `.blockquote`
}

> :last-child {
margin-bottom: 0;
}
}

.blockquote-footer {
margin-top: -$blockquote-margin-y;
margin-bottom: $blockquote-margin-y;
@include get-font-size("body-small"); // OUDS mod: instead of `font-size: $blockquote-footer-font-size`
color: $blockquote-footer-color;

&::before {
content: "\2014\00A0"; // em dash, nbsp
}
}
7 changes: 0 additions & 7 deletions scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -747,11 +747,6 @@ $text-muted: var(--#{$prefix}secondary-color) !default; // Depr

// OUDS mod: no $initialism-font-size

$blockquote-margin-y: $ouds-space-fixed-medium !default; // OUDS mod: instead of `1rem`
// OUDS mod: no `$blockquote-font-size`
$blockquote-footer-color: var(--#{$prefix}color-content-muted) !default; // OUDS mod: instead of `$gray-600`
// OUDS mod: no `$blockquote-footer-font-size`

$hr-margin-y: $ouds-space-fixed-medium !default; // OUDS mod: instead of `$spacer !default;`
$hr-color: $ouds-color-border-default !default; // OUDS mod: instead of `inherit !default;`

Expand Down Expand Up @@ -1930,8 +1925,6 @@ $kbd-font-size: $code-font-size !default;
$kbd-color: var(--#{$prefix}color-content-inverse) !default; // OUDS mod: instead of `var(--#{$prefix}body-bg)`
$kbd-bg: var(--#{$prefix}color-surface-inverse-high) !default; // OUDS mod: instead of `var(--#{$prefix}body-color)`
$nested-kbd-font-weight: null !default; // Deprecated in Bootstrap v5.2.0, removing in v6

$pre-color: var(--#{$prefix}color-content-muted) !default; // instead of `null`
// End mod

//
Expand Down
71 changes: 41 additions & 30 deletions scss/tests/snapshot-tests/__snapshots__/ouds-web-bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -1238,9 +1238,38 @@ dd {
margin-left: 0;
}

.blockquote,
blockquote {
margin: 0 0 16px;
}
.blockquote > p,
blockquote > p {
max-width: var(--bs-font-max-width-body-large);
font-size: var(--bs-font-size-body-large);
line-height: var(--bs-font-line-height-body-large);
/* rtl:remove */
letter-spacing: var(--bs-font-letter-spacing-body-large);
}
.blockquote > :last-child,
blockquote > :last-child {
margin-bottom: 0;
}

.blockquote-footer,
blockquote + figcaption {
margin-top: -16px;
margin-bottom: 16px;
max-width: var(--bs-font-max-width-body-small);
font-size: var(--bs-font-size-body-small);
line-height: var(--bs-font-line-height-body-small);
/* rtl:remove */
letter-spacing: var(--bs-font-letter-spacing-body-small);
color: var(--bs-color-content-muted);
}
.blockquote-footer::before,
blockquote + figcaption::before {
content: "— ";
}

i,
em,
Expand Down Expand Up @@ -1341,7 +1370,6 @@ pre {
line-height: var(--bs-font-line-height-code-medium);
/* rtl:remove */
letter-spacing: var(--bs-font-letter-spacing-code-medium);
color: var(--bs-color-content-muted);
}
pre code {
font-size: inherit;
Expand All @@ -1353,7 +1381,6 @@ var,
code {
font-size: 0.875em;
font-style: normal;
color: var(--bs-color-content-muted);
word-wrap: break-word;
}

Expand Down Expand Up @@ -1600,6 +1627,18 @@ dialog,
opacity: 0.5;
}

.h2.marker::after,
h2.marker::after,
.fs-hl.marker::after {
display: block;
width: 30px;
height: 12px;
content: "";
background-color: var(--bs-color-content-brand-primary);
-webkit-mask-image: url("data:image/svg+xml,%3csvg width='30' height='12' viewBox='0 0 30 12' xmlns='http://www.w3.org/2000/svg'%3e%3crect y='4' width='30' height='6'/%3e%3c/svg%3e");
mask-image: url("data:image/svg+xml,%3csvg width='30' height='12' viewBox='0 0 30 12' xmlns='http://www.w3.org/2000/svg'%3e%3crect y='4' width='30' height='6'/%3e%3c/svg%3e");
}

.lead {
max-width: var(--bs-font-max-width-body-large);
font-size: var(--bs-font-size-body-large);
Expand Down Expand Up @@ -1711,34 +1750,6 @@ dialog,
margin-right: 0.25rem;
}

.blockquote {
margin-bottom: 16px;
}
.blockquote > p {
max-width: var(--bs-font-max-width-body-large);
font-size: var(--bs-font-size-body-large);
line-height: var(--bs-font-line-height-body-large);
/* rtl:remove */
letter-spacing: var(--bs-font-letter-spacing-body-large);
}
.blockquote > :last-child {
margin-bottom: 0;
}

.blockquote-footer {
margin-top: -16px;
margin-bottom: 16px;
max-width: var(--bs-font-max-width-body-small);
font-size: var(--bs-font-size-body-small);
line-height: var(--bs-font-line-height-body-small);
/* rtl:remove */
letter-spacing: var(--bs-font-letter-spacing-body-small);
color: var(--bs-color-content-muted);
}
.blockquote-footer::before {
content: "— ";
}

.img-fluid {
max-width: 100%;
height: auto;
Expand Down
Loading
Loading