Skip to content

Commit 72d1f3e

Browse files
authored
Merge branch 'primer:main' into krsjenswbp-patch-1
2 parents 0d0ef3f + eca9add commit 72d1f3e

File tree

13 files changed

+109
-125
lines changed

13 files changed

+109
-125
lines changed

.changeset/wet-moose-beg.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/css": minor
3+
---
4+
5+
Change `contrast` input background to `bgColor-default`

.github/workflows/axe.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
fetch-depth: 0
1616
- name: Get changed files
1717
id: changed-files
18-
uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c
18+
uses: tj-actions/changed-files@24d32ffd492484c1d75e0c0b894501ddb9d30d62
1919
with:
2020
files: |
2121
docs/content/components/**/*.md
@@ -28,7 +28,7 @@ jobs:
2828
echo "STRING_OF_PATHS_WE_CARE_ABOUT=${{ steps.changed-files.outputs.all_changed_files }}" >> $GITHUB_ENV
2929
- name: Use Node.js
3030
if: steps.changed-files.outputs.any_changed == 'true'
31-
uses: actions/setup-node@v4
31+
uses: actions/setup-node@v5
3232
with:
3333
node-version: 18
3434
cache: 'npm'

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v5
12-
- uses: actions/setup-node@v4
12+
- uses: actions/setup-node@v5
1313
with:
1414
node-version: 18
1515
cache: 'npm'
@@ -31,7 +31,7 @@ jobs:
3131
runs-on: ubuntu-latest
3232
steps:
3333
- uses: actions/checkout@v5
34-
- uses: actions/setup-node@v4
34+
- uses: actions/setup-node@v5
3535
with:
3636
node-version: 18
3737
cache: 'npm'
@@ -43,7 +43,7 @@ jobs:
4343
runs-on: ubuntu-latest
4444
steps:
4545
- uses: actions/checkout@v5
46-
- uses: actions/setup-node@v4
46+
- uses: actions/setup-node@v5
4747
with:
4848
node-version: 18
4949
cache: 'npm'

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
persist-credentials: false
2020

2121
- name: Set up Node.js
22-
uses: actions/setup-node@v4
22+
uses: actions/setup-node@v5
2323
with:
2424
node-version: 18.x
2525
cache: 'npm'

.github/workflows/release_candidate.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
fetch-depth: 0
1919

2020
- name: Set up Node.js
21-
uses: actions/setup-node@v4
21+
uses: actions/setup-node@v5
2222
with:
2323
node-version: 18.x
2424
cache: 'npm'
@@ -43,7 +43,7 @@ jobs:
4343
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4444

4545
- name: Output candidate version number
46-
uses: actions/github-script@v7
46+
uses: actions/github-script@v8
4747
with:
4848
script: |
4949
const package = require(`${process.env.GITHUB_WORKSPACE}/package.json`)

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
stale:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/stale@v9
10+
- uses: actions/stale@v10
1111
with:
1212

1313
# General settings

.github/workflows/welcome.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ jobs:
1919
uses: actions/checkout@v5
2020

2121
- name: Set up Node.js
22-
uses: actions/setup-node@v4
22+
uses: actions/setup-node@v5
2323
with:
2424
node-version: 18.x
2525
cache: 'npm'
2626

2727
- name: Get or Create Comment
28-
uses: actions/github-script@v7
28+
uses: actions/github-script@v8
2929
with:
3030
github-token: ${{ secrets.GITHUB_TOKEN }}
3131
script: |
@@ -68,7 +68,7 @@ jobs:
6868
runs-on: ubuntu-latest
6969
steps:
7070
- uses: actions/checkout@v5
71-
- uses: actions/setup-node@v4
71+
- uses: actions/setup-node@v5
7272
with:
7373
node-version: 18
7474
cache: 'npm'
@@ -111,7 +111,7 @@ jobs:
111111
name: Semantic Version Label
112112
runs-on: ubuntu-latest
113113
steps:
114-
- uses: actions/github-script@v7
114+
- uses: actions/github-script@v8
115115
id: version-result
116116
with:
117117
github-token: "${{ secrets.GITHUB_TOKEN }}"
@@ -124,7 +124,7 @@ jobs:
124124
return match[0][1]
125125
}
126126
127-
- uses: actions/github-script@v7
127+
- uses: actions/github-script@v8
128128
env:
129129
RELEASE: ${{ steps.version-result.outputs.result }}
130130
with:

CONTRIBUTING.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
## Contributing
22

3+
> [!WARNING]
4+
> **This project is in KTLO mode!** New features, functionalities, or major enhancements are unlikely to be accepted. Use existing utility classes from this project where needed. For more complete patterns that include styling and markup, please use [primer/react](https://github.com/primer/react) or, if necessary, [primer/view_components](https://github.com/primer/view_components).
5+
36
Hi there! We're thrilled that you'd like to contribute to this project. Your help is essential for keeping it great.
47

58
## Using the issue tracker

DEVELOP.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Primer CSS Development
22

3+
> [!WARNING]
4+
> **This project is in KTLO mode!** New features, functionalities, or major enhancements are unlikely to be accepted. Use existing utility classes from this project where needed. For more complete patterns that include styling and markup, please use [primer/react](https://github.com/primer/react) or, if necessary, [primer/view_components](https://github.com/primer/view_components).
5+
36
If you've made it this far, **thank you**! We appreciate your contribution, and hope that this document helps you along the way. If you have any questions or problems, don't hesitate to [file an issue](https://github.com/primer/css/issues/new).
47

58
## Structure

README.md

Lines changed: 9 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,15 @@
1-
<p align="center">
2-
<img width="300px" alt="" src="./docs/src/readme.png">
3-
</p>
1+
# Primer CSS
2+
The CSS implementation of GitHub's Primer Design System
43

5-
<h1 align="center">Primer CSS</h1>
4+
[![npm package](https://img.shields.io/npm/v/@primer/css.svg)](https://www.npmjs.com/package/@primer/css)
5+
[![build status](https://github.com/primer/css/actions/workflows/ci.yml/badge.svg)](https://github.com/primer/css/actions/workflows/ci.yml)
6+
[![contributors graph](https://img.shields.io/github/contributors/primer/css.svg)](https://github.com/primer/css/graphs/contributors)
7+
[![last commit](https://img.shields.io/github/last-commit/primer/css.svg)](https://github.com/primer/css/commits/main)
8+
[![license](https://img.shields.io/github/license/primer/css.svg)](https://github.com/primer/css/blob/main/LICENSE)
69

7-
<p align="center">The CSS implementation of GitHub's Primer Design System</p>
8-
9-
<p align="center">
10-
<a aria-label="npm package" href="https://www.npmjs.com/package/@primer/css">
11-
<img alt="" src="https://img.shields.io/npm/v/@primer/css.svg">
12-
</a>
13-
<a aria-label="build status" href="https://github.com/primer/css/actions/workflows/ci.yml">
14-
<img alt="" src="https://github.com/primer/css/actions/workflows/ci.yml/badge.svg">
15-
</a>
16-
<a aria-label="contributors graph" href="https://github.com/primer/css/graphs/contributors">
17-
<img alt="" src="https://img.shields.io/github/contributors/primer/css.svg">
18-
</a>
19-
<a aria-label="last commit" href="https://github.com/primer/css/commits/main">
20-
<img alt="" src="https://img.shields.io/github/last-commit/primer/css.svg">
21-
</a>
22-
<a aria-label="license" href="https://github.com/primer/css/blob/main/LICENSE">
23-
<img src="https://img.shields.io/github/license/primer/css.svg" alt="">
24-
</a>
25-
</p>
10+
> :warning: **This project is in KTLO mode!** Use existing utility classes from this project where needed. For more complete patterns that include styling and markup, please use [primer/react](https://github.com/primer/react) or, if necessary, [primer/view_components](https://github.com/primer/view_components).
2611
2712
## Documentation
28-
29-
> :warning: It is encouraged that you use [primer/react](https://github.com/primer/react) and [primer/view_components](https://github.com/primer/view_components) for styling and markup.
30-
31-
> :warning: **The documentation of this repo is not maintained anymore**. Please raise any documentation-specific pull requests in [primer.style/design](https://github.com/primer/design/)
32-
3313
Our documentation site lives at [primer.style/css](https://primer.style/css). You'll be able to find detailed documentation on getting started, all of the components, our theme, our principles, and more.
3414

3515
## Install
@@ -40,7 +20,7 @@ npm install --save @primer/css
4020
```
4121

4222
## Usage
43-
The included source files are written in [Sass] using SCSS syntax. After [installing](#install) with npm, you can add your project's `node_modules` directory to your Sass [include paths](https://github.com/sass/node-sass#includepaths) (AKA [load paths](http://technology.customink.com/blog/2014/10/09/understanding-and-using-sass-load-paths/) in Ruby), then import it like this:
23+
The included source files are written in [Sass] using SCSS syntax. Once installed, you can add your project's `node_modules` directory to your Sass [include paths](https://github.com/sass/node-sass#includepaths) (AKA [load paths](http://technology.customink.com/blog/2014/10/09/understanding-and-using-sass-load-paths/) in Ruby), then import it like this:
4424

4525
```scss
4626
@import "@primer/css/index.scss";
@@ -67,5 +47,4 @@ You can find docs about our release process in [RELEASING.md](RELEASING.md).
6747

6848
[install-npm]: https://docs.npmjs.com/getting-started/installing-node
6949
[npm]: https://www.npmjs.com/
70-
[primer]: https://primer.style/
7150
[sass]: http://sass-lang.com/

0 commit comments

Comments
 (0)