-
Notifications
You must be signed in to change notification settings - Fork 10
docs(patternhub): use monospace font-family for code styling #4365
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
Conversation
🔭🐙🐈 Test this branch here: https://db-ux-design-system.github.io/core-web/review/docs-code-style |
@nmerget is there a reason for that we include the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR aims to update code styling in documentation by applying a monospace font-family to code elements.
- Updated SCSS selectors targeting code elements within pre tags
- Adjusted styling rules to support consistent code presentation
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
# Conflicts: # __snapshots__/foundations/accordion-item/patternhub/accordion-item-docs-should-match-screenshot.png # __snapshots__/foundations/accordion/patternhub/accordion-docs-should-match-screenshot.png # __snapshots__/foundations/accordion/patternhub/accordion-properties-should-match-screenshot.png # __snapshots__/foundations/badge/patternhub/badge-docs-should-match-screenshot.png # __snapshots__/foundations/badge/patternhub/badge-properties-should-match-screenshot.png # __snapshots__/foundations/brand/patternhub/brand-docs-should-match-screenshot.png # __snapshots__/foundations/brand/patternhub/brand-properties-should-match-screenshot.png # __snapshots__/foundations/button/patternhub/button-docs-should-match-screenshot.png # __snapshots__/foundations/button/patternhub/button-properties-should-match-screenshot.png # __snapshots__/foundations/card/patternhub/card-docs-should-match-screenshot.png # __snapshots__/foundations/card/patternhub/card-properties-should-match-screenshot.png # __snapshots__/foundations/checkbox/patternhub/checkbox-docs-should-match-screenshot.png # __snapshots__/foundations/checkbox/patternhub/checkbox-properties-should-match-screenshot.png # __snapshots__/foundations/custom-select/patternhub/custom-select-docs-should-match-screenshot.png # __snapshots__/foundations/custom-select/patternhub/custom-select-properties-should-match-screenshot.png # __snapshots__/foundations/divider/patternhub/divider-docs-should-match-screenshot.png # __snapshots__/foundations/divider/patternhub/divider-properties-should-match-screenshot.png # __snapshots__/foundations/drawer/patternhub/drawer-docs-should-match-screenshot.png # __snapshots__/foundations/drawer/patternhub/drawer-properties-should-match-screenshot.png # __snapshots__/foundations/header/patternhub/header-docs-should-match-screenshot.png # __snapshots__/foundations/header/patternhub/header-properties-should-match-screenshot.png # __snapshots__/foundations/infotext/patternhub/infotext-docs-should-match-screenshot.png # __snapshots__/foundations/infotext/patternhub/infotext-properties-should-match-screenshot.png # __snapshots__/foundations/input/patternhub/input-docs-should-match-screenshot.png # __snapshots__/foundations/link/patternhub/link-docs-should-match-screenshot.png # __snapshots__/foundations/link/patternhub/link-properties-should-match-screenshot.png # __snapshots__/foundations/navigation-item/patternhub/navigation-item-docs-should-match-screenshot.png # __snapshots__/foundations/navigation-item/patternhub/navigation-item-properties-should-match-screenshot.png # __snapshots__/foundations/navigation/patternhub/navigation-docs-should-match-screenshot.png # __snapshots__/foundations/navigation/patternhub/navigation-properties-should-match-screenshot.png # __snapshots__/foundations/notification/patternhub/notification-docs-should-match-screenshot.png # __snapshots__/foundations/popover/patternhub/popover-docs-should-match-screenshot.png # __snapshots__/foundations/popover/patternhub/popover-properties-should-match-screenshot.png # __snapshots__/foundations/radio/patternhub/radio-docs-should-match-screenshot.png # __snapshots__/foundations/radio/patternhub/radio-properties-should-match-screenshot.png # __snapshots__/foundations/section/patternhub/section-docs-should-match-screenshot.png # __snapshots__/foundations/section/patternhub/section-properties-should-match-screenshot.png # __snapshots__/foundations/select/patternhub/select-docs-should-match-screenshot.png # __snapshots__/foundations/stack/patternhub/stack-docs-should-match-screenshot.png # __snapshots__/foundations/stack/patternhub/stack-properties-should-match-screenshot.png # __snapshots__/foundations/switch/patternhub/switch-docs-should-match-screenshot.png # __snapshots__/foundations/switch/patternhub/switch-properties-should-match-screenshot.png # __snapshots__/foundations/tab-item/patternhub/tab-item-docs-should-match-screenshot.png # __snapshots__/foundations/tab-item/patternhub/tab-item-properties-should-match-screenshot.png # __snapshots__/foundations/tabs/patternhub/tabs-docs-should-match-screenshot.png # __snapshots__/foundations/tabs/patternhub/tabs-properties-should-match-screenshot.png # __snapshots__/foundations/tag/patternhub/tag-docs-should-match-screenshot.png # __snapshots__/foundations/tag/patternhub/tag-properties-should-match-screenshot.png # __snapshots__/foundations/textarea/patternhub/textarea-docs-should-match-screenshot.png # __snapshots__/foundations/tooltip/patternhub/tooltip-docs-should-match-screenshot.png # __snapshots__/foundations/tooltip/patternhub/tooltip-properties-should-match-screenshot.png
Proposed changes
use monospace font-family for code styling
compare to e.g. Button documentation
Types of changes
Further comments
Relates to #4221