Skip to content

feat(o-section): add style-accent section variant#623

Merged
wesleyboar merged 4 commits into
mainfrom
feat/o-section-style-accent
Apr 8, 2026
Merged

feat(o-section): add style-accent section variant#623
wesleyboar merged 4 commits into
mainfrom
feat/o-section-style-accent

Conversation

@wesleyboar

@wesleyboar wesleyboar commented Apr 8, 2026

Copy link
Copy Markdown
Member

Overview

Adds an o-section--style-accent variant (pale blue band).

Related

Changes

  • added accent style block section…accent
  • updated template, config, readme
  • built dist/

Testing

  1. npm run build:css — confirm dist/objects/o-section.css includes accent selectors and warning tokens
  2. npm start — open o-section--style-accent and confirm it reads clearly next to default, muted, and nested variants

UI

localhost_3000_components_preview_o-section--style-accent

Notes

Aggregated dist/ edits (e.g. core-styles.*.css, x-blockquote, x-figure, html-elements.docs) are from the shared CSS build picking up selector list changes, not separate feature work.

Add o-section--style-accent and section--accent using global warning colors for background and line. Update demo, Fractality config, readme, and custom selectors; rebuild dist bundles. Add .cursor/rules screenshot tag-team workflow (force-tracked).

Made-with: Cursor
@qodo-code-review

Copy link
Copy Markdown

Review Summary by Qodo

Add style-accent section variant with warning colors

✨ Enhancement

Grey Divider

Walkthroughs

Description
• Adds new o-section--style-accent and section--accent variant
• Uses warning color palette for yellow accent styling
• Updates section selector definitions and demo templates
• Rebuilds affected dist CSS bundles with new variant
• Adds Cursor screenshot tag-team workflow documentation
Diagram
flowchart LR
  A["o-section component"] -->|adds accent variant| B["o-section--style-accent"]
  B -->|uses colors| C["warning palette"]
  C -->|background| D["warning--x-light"]
  C -->|border line| E["warning--dark"]
  F["Custom selectors"] -->|updated| G["o-section.selectors.css"]
  H["Demo template"] -->|includes| I["accent section example"]
  J["Dist bundles"] -->|rebuilt| K["core-styles.docs.css"]
  K -->|includes| L["o-section.css"]
Loading

Grey Divider

File Changes

1. src/lib/_imports/objects/o-section.css ✨ Enhancement +5/-0

Add accent style custom property definition

src/lib/_imports/objects/o-section.css


2. src/lib/_imports/objects/o-section.selectors.css ✨ Enhancement +4/-0

Register accent variant in custom selectors

src/lib/_imports/objects/o-section.selectors.css


3. src/lib/_imports/objects/o-section/o-section.hbs ✨ Enhancement +12/-2

Add accent section to demo template

src/lib/_imports/objects/o-section/o-section.hbs


View more (9)
4. src/lib/_imports/objects/o-section/readme.md 📝 Documentation +1/-0

Document accent variant in component readme

src/lib/_imports/objects/o-section/readme.md


5. src/lib/_imports/objects/o-section/config.yml ⚙️ Configuration changes +4/-0

Register accent variant in Fractality config

src/lib/_imports/objects/o-section/config.yml


6. dist/core-styles.docs.css Dependencies +1/-1

Rebuild with accent variant styles

dist/core-styles.docs.css


7. dist/objects/o-section.css Dependencies +1/-1

Rebuild with accent variant styles

dist/objects/o-section.css


8. dist/elements/html-elements.docs.css Dependencies +1/-1

Rebuild with opacity value updates

dist/elements/html-elements.docs.css


9. dist/tools/x-blockquote.css Dependencies +1/-1

Rebuild with opacity value updates

dist/tools/x-blockquote.css


10. dist/tools/x-figure.css Dependencies +1/-1

Rebuild with opacity value updates

dist/tools/x-figure.css


11. .cursor/rules/screenshot-tag-team.mdc 📝 Documentation +13/-0

Add screenshot coordination workflow guide

.cursor/rules/screenshot-tag-team.mdc


12. dist/core-styles.cms.css Additional files +1/-1

...

dist/core-styles.cms.css


Grey Divider

Qodo Logo

@qodo-code-review

qodo-code-review Bot commented Apr 8, 2026

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

ⓘ The new review experience is currently in Beta. Learn more

Grey Divider

Qodo Logo

@wesleyboar wesleyboar merged commit c2b9661 into main Apr 8, 2026
@wesleyboar wesleyboar deleted the feat/o-section-style-accent branch April 8, 2026 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant