Skip to content

Commit 762c511

Browse files
dcastilRobinMalfait
authored andcommitted
Make font settings propagate into buttons, inputs, etc. (#10940)
* Make font settings propagate into buttons, inputs, etc. * update source-maps test due to preflight change * update changelog --------- Co-authored-by: Robin Malfait <malfait.robin@gmail.com>
1 parent 43d36ca commit 762c511

File tree

3 files changed

+216
-211
lines changed

3 files changed

+216
-211
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Fixed
1111

1212
- Fix issue where some pseudo-element variants generated the wrong selector ([#10943](https://github.com/tailwindlabs/tailwindcss/pull/10943), [#10962](https://github.com/tailwindlabs/tailwindcss/pull/10962))
13+
- Make font settings propagate into buttons, inputs, etc. ([#10940](https://github.com/tailwindlabs/tailwindcss/pull/10940))
1314
- Fix parsing of `theme()` inside `calc()` when there are no spaces around operators ([#11157](https://github.com/tailwindlabs/tailwindcss/pull/11157))
1415
- Ensure `repeating-conic-gradient` is detected as an image ([#11180](https://github.com/tailwindlabs/tailwindcss/pull/11180))
1516
- Move unknown pseudo-elements outside of `:is` by default ([#11345](https://github.com/tailwindlabs/tailwindcss/pull/11345))

src/css/preflight.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,8 @@ optgroup,
163163
select,
164164
textarea {
165165
font-family: inherit; /* 1 */
166+
font-feature-settings: inherit; /* 1 */
167+
font-variation-settings: inherit; /* 1 */
166168
font-size: 100%; /* 1 */
167169
font-weight: inherit; /* 1 */
168170
line-height: inherit; /* 1 */

0 commit comments

Comments
 (0)