Skip to content

Migrate DOMStack to mine.css v11#280

Open
dependabot[bot] wants to merge 4 commits into
masterfrom
dependabot/npm_and_yarn/mine.css-11.0.3
Open

Migrate DOMStack to mine.css v11#280
dependabot[bot] wants to merge 4 commits into
masterfrom
dependabot/npm_and_yarn/mine.css-11.0.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 16, 2026

Copy link
Copy Markdown
Contributor

Summary

  • upgrade the bundled and example styles from mine.css v10 to v11
  • replace removed JavaScript theme switching with browser-controlled color preferences
  • establish and document the recommended mine, domstack.global, domstack.layout, and domstack.page cascade pattern
  • migrate global, layout, and page styles in examples and test fixtures to the matching layers
  • load light and dark Highlight.js themes with prefers-color-scheme
  • add Playwright coverage for the computed mine → global → layout → page cascade
  • document downstream migration requirements for DOMStack v12

Downstream changes

DOMStack v12 consumers using the bundled default stylesheet inherit mine.css v11's intentional visual, motion, form, table, media, and browser-support changes.

Customized or ejected sites should follow docs/v12-migration.md and the upstream mine.css v11 migration guide.

Custom stylesheets are encouraged to follow this pattern:

@layer mine, domstack.global, domstack.layout, domstack.page;

@layer domstack.global {
  /* global rules */
}

Layout and page styles should opt into domstack.layout and domstack.page respectively.
DOMStack loads global styles first so the complete order is declared before layout and page layer blocks are encountered.

Validation

  • npm test
  • npm run build
  • Playwright cascade test in Chromium
  • full stylesheet scope audit
  • git diff --check

Notes

  • mine.css v11 requires Node.js 22+ and npm 10+ for installation.
  • Published mine.css uses native CSS nesting.
  • The temporary DOMStack fragment-offset override was removed after mine.css changed its default from 3rem to 2rem upstream in 2140f6f.

Bumps [mine.css](https://github.com/bcomnes/mine.css) from 10.0.3 to 11.0.3.
- [Release notes](https://github.com/bcomnes/mine.css/releases)
- [Changelog](https://github.com/bcomnes/mine.css/blob/master/CHANGELOG.md)
- [Commits](bcomnes/mine.css@v10.0.3...v11.0.3)

---
updated-dependencies:
- dependency-name: mine.css
  dependency-version: 11.0.3
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jul 16, 2026
@bcomnes bcomnes changed the title bump mine.css from 10.0.3 to 11.0.3 Migrate DOMStack to mine.css v11 Jul 17, 2026
@bcomnes
bcomnes marked this pull request as draft July 17, 2026 23:23
@socket-security

socket-security Bot commented Jul 17, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​@​playwright/​test@​1.61.110010010099100

View full report

@coveralls

coveralls commented Jul 17, 2026

Copy link
Copy Markdown

Coverage Report for CI Build 29620826912

Warning

No base build found for commit 09bdc51 on master.
Coverage changes can't be calculated without a base build.
If a base build is processing, this comment will update automatically when it completes.

Coverage: 91.885%

Details

  • Patch coverage: 1 of 1 lines across 1 file are fully covered (100%).

Uncovered Changes

No uncovered changes found.

Coverage Regressions

Requires a base build to compare against. How to fix this →


Coverage Stats

Coverage Status
Relevant Lines: 4293
Covered Lines: 4042
Line Coverage: 94.15%
Relevant Branches: 747
Covered Branches: 589
Branch Coverage: 78.85%
Branches in Coverage %: Yes
Coverage Strength: 73.97 hits per line

💛 - Coveralls

@dependabot @github

dependabot Bot commented on behalf of github Jul 17, 2026

Copy link
Copy Markdown
Contributor Author

A newer version of mine.css exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

@bcomnes
bcomnes marked this pull request as ready for review July 17, 2026 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants