Skip to content

Use font-weight-bold variable#2234

Merged
chalin merged 2 commits intogoogle:mainfrom
jorado:fix-css-variable
May 27, 2025
Merged

Use font-weight-bold variable#2234
chalin merged 2 commits intogoogle:mainfrom
jorado:fix-css-variable

Conversation

@jorado
Copy link
Copy Markdown
Contributor

@jorado jorado commented May 6, 2025

Use the css variable font-weight-bold instead of hardcoding the font weight to 700. Two files still used the hard coded font weight. Since font-weight-bold defaults to 700, the default styling is not impacted.

@google-cla
Copy link
Copy Markdown

google-cla Bot commented May 6, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@chalin chalin force-pushed the fix-css-variable branch from 6c28281 to c5c2c86 Compare May 14, 2025 18:27
Copy link
Copy Markdown
Collaborator

@chalin chalin left a comment

Choose a reason for hiding this comment

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

Thanks. Instead use $font-weight-bold (as defined in https://getbootstrap.com/docs/5.3/utilities/text/#sass-variables).

@chalin chalin changed the title Fix css variable font-weight-bold Use font-weight-bold variable May 14, 2025
@chalin chalin force-pushed the fix-css-variable branch from c5c2c86 to 4665dbc Compare May 22, 2025 15:23
@chalin chalin force-pushed the fix-css-variable branch from 4665dbc to 909d6f7 Compare May 27, 2025 09:06
Comment thread assets/scss/_taxonomy.scss Outdated
Comment thread assets/scss/section-index.scss Outdated
@chalin chalin merged commit 5d2f05f into google:main May 27, 2025
5 checks passed
fekete-robert pushed a commit to fekete-robert/docsy that referenced this pull request May 30, 2025
Co-authored-by: Patrice Chalin <chalin@users.noreply.github.com>
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.

2 participants