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

SCSS variable cleanup in prep for Docsy upgrade #2440

Merged
merged 1 commit into from
Mar 2, 2023

Conversation

chalin
Copy link
Contributor

@chalin chalin commented Mar 2, 2023

Preview:

In particular, you'll note that badge colors have not changed:

@chalin chalin added cleanup/refactoring design/style Front-end site design / styling labels Mar 2, 2023
@chalin chalin requested a review from a team as a code owner March 2, 2023 13:35
@@ -1,138 +1,24 @@
.registry {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The use of these styles are nowhere to be found, including in the commit that introduced them:

background-color: $utilities;
}

.badge-tracer {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

There is no tracer component, so this style was never used.

background-color: $dark-blue;
}

.badge-instrumentation {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is missing the .badge context, and so was never used.

Comment on lines -3 to -4
$twitter-blue: #00aced;
$gitter-magenta: #ec1363;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

These two component variables are not used.

Comment on lines -15 to -16
$google_font_name: 'Noto Sans';
$google_font_family: 'Noto+Sans:300,400,600,700';
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Redefining $google_font_* has no effect when $td-enable-google-fonts is false

Comment on lines -18 to -20
$enable-gradients: false;
$enable-rounded: true;
$enable-shadows: false;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Dropping these, falling back on Docsy defaults.

@chalin chalin mentioned this pull request Mar 2, 2023
7 tasks
@chalin chalin force-pushed the chalin-im-scss-fixes-2023-03-02 branch from 5d0acd2 to e566cc1 Compare March 2, 2023 15:29
@chalin chalin merged commit 5b4881e into open-telemetry:main Mar 2, 2023
@chalin chalin deleted the chalin-im-scss-fixes-2023-03-02 branch March 2, 2023 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup/refactoring design/style Front-end site design / styling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SCSS: OTel-component colors should be namespaced
2 participants