Skip to content

Commit 13de16c

Browse files
jonrohansimurai
andauthored
Prepare main to hold code for next major version (#1599)
* Adding pre mode * Updating the workflows * Update README.md * Create proud-rules-wonder.md * Rename and move color mode variables out of base package (#1462) * Rename and move color mode variables out of base package * Create mighty-goats-teach.md * Add test to make sure support is never more than 0 * Update mighty-goats-teach.md * Update mighty-goats-teach.md * Remove test * Delete patch * Moving color modes to their own bundle (#1465) * Moving color modes to their own bundle * Create new-beers-peel.md * Removing the rem() mixin and usages. Placing the computed values in place. (#1541) * Removing the rem() mixin and usages. Placing the computed values in place. * Create flat-shirts-lay.md * Fixing stylelint issues * Fix more stylelint issue * Remove break-word from utilities (#1566) * Remove break-word from utilities * Create twelve-fireants-shave.md * Adding dark high contrast * Fixing mising color modes selectors * Remove pre.json if it exists * Fixing lint error * Removing pre mode Co-authored-by: simurai <[email protected]>
1 parent 2892525 commit 13de16c

19 files changed

+76
-63
lines changed

.changeset/flat-shirts-lay.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/css": major
3+
---
4+
5+
Removing the rem() mixin and usages. Placing the computed values in place.

.changeset/mighty-goats-teach.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/css": major
3+
---
4+
5+
Rename `modes.scss` file to `color-modes.scss` and move from the `base/` folder to the `support/variables` folder.

.changeset/new-beers-peel.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/css": major
3+
---
4+
5+
Moving color modes to their own bundle, `./color-modes/` and separates color mode themes into their own scss file.

.changeset/twelve-fireants-shave.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/css": major
3+
---
4+
5+
Remove break-word from utilities

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
push:
44
branches:
55
- 'main'
6+
- 'next_major'
67
jobs:
78
release:
89
name: Final

.github/workflows/release_canary.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
push:
44
branches-ignore:
55
- 'main'
6-
- 'changeset-release/main'
6+
- 'changeset-release/**'
77
- 'dependabot/**'
88
# Don't release canary when these paths change
99
# It's not necessary because we don't ship them and it creates noise
@@ -50,6 +50,7 @@ jobs:
5050
run: |
5151
echo "$( jq '.version = "0.0.0"' package.json )" > package.json
5252
echo -e "---\n'@primer/css': patch\n---\n\nFake entry to force publishing" > .changeset/force-snapshot-release.md
53+
rm -f .changeset/pre.json
5354
yarn changeset version --snapshot
5455
yarn changeset publish --tag canary
5556
env:

.github/workflows/release_candidate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Release
22
on:
33
push:
44
branches:
5-
- 'changeset-release/main'
5+
- 'changeset-release/**'
66

77
jobs:
88
release-candidate:

src/base/index.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
@import "../support/index.scss";
22

33
@import "./normalize.scss";
4-
@import "./modes.scss";
54
@import "./base.scss";
65
@import "./kbd.scss";
76
@import "./typography-base.scss";

src/base/modes.scss

Lines changed: 0 additions & 41 deletions
This file was deleted.

src/color-modes/index.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// All themes
2+
3+
@import "./themes/light.scss";
4+
@import "./themes/dark.scss";
5+
@import "./themes/dark_dimmed.scss";
6+
@import "./themes/dark_high_contrast.scss";
7+
@import "./native.scss";

0 commit comments

Comments
 (0)