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

Add entry for missing OTel component color #2481

Merged

Conversation

chalin
Copy link
Contributor

@chalin chalin commented Mar 10, 2023


Screenshots

Before:

image

After:

image

@chalin chalin added the design/style Front-end site design / styling label Mar 10, 2023
@chalin chalin requested a review from a team March 10, 2023 23:58
@chalin chalin mentioned this pull request Mar 11, 2023
7 tasks
@cartermp cartermp merged commit a7989db into open-telemetry:main Mar 11, 2023
@chalin chalin deleted the chalin-im-add-comp-color-2023-03-10 branch March 11, 2023 17:53
Comment on lines +25 to +29
// Default color attributes, in case we miss a component definition above;
// which has happened, see https://github.com/open-telemetry/opentelemetry.io/pull/2481.
$default-otel-badge-bg: $yellow;
color: color-contrast($default-otel-badge-bg);
background-color: $default-otel-badge-bg;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Setting a default color is necessary for the (up coming) Bootstrap v5 (via Docsy) upgrade since, under v5, undefined badges default to white text over an unset (i.e., white) background.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design/style Front-end site design / styling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants