Skip to content

Fix/layer5 docs resource chip differentiator#1005

Merged
CodexRaunak merged 3 commits intolayer5io:masterfrom
thechillbasu:fix/layer5-docs-resource-chip-differentiator
May 2, 2026
Merged

Fix/layer5 docs resource chip differentiator#1005
CodexRaunak merged 3 commits intolayer5io:masterfrom
thechillbasu:fix/layer5-docs-resource-chip-differentiator

Conversation

@thechillbasu
Copy link
Copy Markdown
Contributor

@thechillbasu thechillbasu commented May 1, 2026

Notes for Reviewers

  • This PR fixes [Docs] Synchronize REST API documentation styling and label order with Meshery docs #1001.
  • It synchronizes the REST API documentation design with the updated standards established in meshery/meshery#18970.
  • Changes applied:
    • Refined Resource Chip Styling: Transitioned .rest-api-chip to a information type design with a 0.45rem border-radius, a dashed border using rgba($white, 0.3), and 0.09em letter-spacing.
    • Standardized Label Order: Swapped the rendering order in the operation headers to a "Noun-Verb" pattern (Resource first, Method second) to improve readability and clarity.
    • Visual Distinction: Removed the solid background and increased spacing to clearly differentiate resource entities from pill-shaped HTTP method badges.
  • This ensures a unified design language across all Layer5 and Meshery documentation sites while resolving issues of visual ambiguity and inconsistent affordance.

Screenshots

Before
doc1

After
doc2

Signed commits

  • Yes, I signed my commits.

@thechillbasu
Copy link
Copy Markdown
Contributor Author

@alexquincy @CodexRaunak Please review! Thanks!

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the visual styling of the REST API chip, including adjustments to its border, background, and letter-spacing, and reorders the chip and method badge in the HTML layout. Feedback suggests simplifying the border color declaration by removing the redundant alpha channel.

Comment thread assets/scss/_rest-api-reference.scss Outdated
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 1, 2026

PR Preview Action v1.6.3
Preview removed because the pull request was closed.
2026-05-02 14:29 UTC

Signed-off-by: thechillbasu <basusarthakmain@gmail.com>
@thechillbasu thechillbasu force-pushed the fix/layer5-docs-resource-chip-differentiator branch from 1f57e38 to 121c4bc Compare May 1, 2026 18:26
@CodexRaunak CodexRaunak merged commit 074f093 into layer5io:master May 2, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Docs] Synchronize REST API documentation styling and label order with Meshery docs

2 participants