Unverified Commit 948f8343 authored by Patrick H. Lauke's avatar Patrick H. Lauke Committed by GitHub
Browse files

Add mention of link underline change to migration and typography (#32281)

x-ref https://github.com/twbs/bootstrap/discussions/32276#discussioncomment-141850



Co-authored-by: default avatarXhmikosR <xhmikosr@gmail.com>
parent 04674f88
Showing with 2 additions and 1 deletion
+2 -1
...@@ -13,7 +13,7 @@ Bootstrap sets basic global display, typography, and link styles. When more cont ...@@ -13,7 +13,7 @@ Bootstrap sets basic global display, typography, and link styles. When more cont
- Use a [native font stack]({{< docsref "/content/reboot#native-font-stack" >}}) that selects the best `font-family` for each OS and device. - Use a [native font stack]({{< docsref "/content/reboot#native-font-stack" >}}) that selects the best `font-family` for each OS and device.
- For a more inclusive and accessible type scale, we use the browser's default root `font-size` (typically 16px) so visitors can customize their browser defaults as needed. - For a more inclusive and accessible type scale, we use the browser's default root `font-size` (typically 16px) so visitors can customize their browser defaults as needed.
- Use the `$font-family-base`, `$font-size-base`, and `$line-height-base` attributes as our typographic base applied to the `<body>`. - Use the `$font-family-base`, `$font-size-base`, and `$line-height-base` attributes as our typographic base applied to the `<body>`.
- Set the global link color via `$link-color` and apply link underlines only on `:hover`. - Set the global link color via `$link-color`.
- Use `$body-bg` to set a `background-color` on the `<body>` (`#fff` by default). - Use `$body-bg` to set a `background-color` on the `<body>` (`#fff` by default).
These styles can be found within `_reboot.scss`, and the global variables are defined in `_variables.scss`. Make sure to set `$font-size-base` in `rem`. These styles can be found within `_reboot.scss`, and the global variables are defined in `_variables.scss`. Make sure to set `$font-size-base` in `rem`.
......
...@@ -267,6 +267,7 @@ Changes to Reboot, typography, tables, and more. ...@@ -267,6 +267,7 @@ Changes to Reboot, typography, tables, and more.
- Removed individual `$display-*-weight` variables for a single `$display-font-weight`. - Removed individual `$display-*-weight` variables for a single `$display-font-weight`.
- Added two new `.display-*` heading styles, `.display-5` and `.display-6`. - Added two new `.display-*` heading styles, `.display-5` and `.display-6`.
- Resized existing display headings for a slightly more consistent set of `font-size`s. - Resized existing display headings for a slightly more consistent set of `font-size`s.
- Links are underlined by default (not just on hover), unless they're part of specific components.
### Forms ### Forms
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment