Skip to content

Conversation

mdo
Copy link
Member

@mdo mdo commented Aug 29, 2025

  • Colocates Sass vars for forms into their respective files, but adds a new shared forms/_forms-variables.scss to have some centralized ones that are used across files. This needs revisiting though because I hate the idea of having to import forms vars into buttons. Need a cleaner, less nested solution.

    Explaining that last part more, we have $input-btn-padding-x which is then applied to $input-btn-padding-x which is then used by $form-select-padding-x. Insane to me.

  • This also sneaks in a new focus ring style—mixin, helper, and CSS variables—for components. This helps us remove the box-shadow "outline" hack for custom shadows. We can do this now that outline respects border-radius in almost all browsers. Instead of doing translucent focus rings too, we're color mixing so that the focus ring will better stand out.

  • Need to revisit some commented out things here—we have some form bits that are complicated and component details cross individual stylesheets.

  • Also need to fix up selects—their background image is missing. Ideally we could do some image mask here, but we can't do generated elements on selects.

mdo and others added 18 commits August 27, 2025 21:00
* Don't disallow calc()

* Remove disables that aren't needed

* Remove custom subtract and add functions

* Remove more disables

* keep it here
* Convert .ratio helper to new .ratio utility

* Fix up

* Fix links for now, even though they'll be deleted
* Drop clearfix for display: flow-root

* Fix links
#41687)

* Rename mh-* and mw-* to max-h/w-*, add additional width and height values

Fixes #41330, fixes #40674.

* Bump bundlewatch
* Remove all deprecated Sass variables and deprecation notices from docs components

* Fix linter error

* fix
* Remove added badges from docs pages

* Remove AddedIn
…s and extra dependencies once we migrate to Sass modules (#41697)
* Reorganize scss folder

* Migrate to Sass modules

* Migrate docs to Sass modules, comment out docs grid CSS

* Give helpers folder an index.scss, migrate ratio helper to aspect-ratio utility

* Delete node sass Action

* Modify Sass tests to pass for new Sass modules implementation

* Don't disallow calc()

* Move heading classes back to Reboot to prevent a dependency

* Utilities, some helpers, and theme colors

* Temporary fix of docs compilation

* Temporary Bundlewatch fix

* docs fix import to use

* Restyle docs callouts

* Fix docs colors

* Revert typo

* Reintroduce `css-lint-vars` npm script

* Bump to Sass v1.90.x

* Fixes

* more

* Remove

---------

Co-authored-by: Julien Déramond <[email protected]>
* First pass at CSS layers

* bundlewatch

* more bundlewatch
…41702)

* Restore both grids and update mixins

* Bundlewatch
* Co-locate Sass variables in most files

* another

* fix

* Don't bring tables into reboot, temp remove some sass vars so we don't need the co-dependency

* Move vars

* bundlewatch

* scssdocs

* Fix scssdocs
@mdo mdo added this to v6.0.0 Aug 29, 2025
@mdo mdo added the css label Aug 29, 2025
@mdo mdo requested a review from a team as a code owner August 29, 2025 20:57
@mdo mdo added the v6 label Aug 29, 2025
@github-project-automation github-project-automation bot moved this to Inbox in v6.0.0 Aug 29, 2025
@mdo mdo requested a review from a team as a code owner September 10, 2025 03:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Inbox
Development

Successfully merging this pull request may close these issues.

1 participant