Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: background colors added for trace, options and head method #2591

Merged
merged 3 commits into from
Jun 5, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
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
2 changes: 1 addition & 1 deletion packages/elements-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stoplight/elements-core",
"version": "8.3.0",
"version": "8.3.1",
"sideEffects": [
"web-components.min.js",
"src/web-components/**",
Expand Down
3 changes: 3 additions & 0 deletions packages/elements-core/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ export const HttpMethodColors = {
put: 'warning',
patch: 'warning',
delete: 'danger',
head: '#9061F9',
options: '#0D5AA7',
trace: '#0D0B28',
SB-akshaythakar marked this conversation as resolved.
Show resolved Hide resolved
} as const;

export const HttpCodeColor = {
Expand Down
4 changes: 2 additions & 2 deletions packages/elements-dev-portal/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stoplight/elements-dev-portal",
"version": "2.3.0",
"version": "2.3.1",
"description": "UI components for composing beautiful developer documentation.",
"keywords": [],
"sideEffects": [
Expand Down Expand Up @@ -64,7 +64,7 @@
]
},
"dependencies": {
"@stoplight/elements-core": "~8.3.0",
"@stoplight/elements-core": "~8.3.1",
"@stoplight/markdown-viewer": "^5.7.0",
"@stoplight/mosaic": "^1.53.1",
"@stoplight/path": "^1.3.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/elements/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stoplight/elements",
"version": "8.3.0",
"version": "8.3.1",
"description": "UI components for composing beautiful developer documentation.",
"keywords": [],
"sideEffects": [
Expand Down Expand Up @@ -63,7 +63,7 @@
]
},
"dependencies": {
"@stoplight/elements-core": "~8.3.0",
"@stoplight/elements-core": "~8.3.1",
"@stoplight/http-spec": "^7.0.3",
"@stoplight/json": "^3.18.1",
"@stoplight/mosaic": "^1.53.1",
Expand Down