Skip to content

Commit

Permalink
Merge branch 'jules-HC-avatar-and-diffstat-borders' of https://github…
Browse files Browse the repository at this point in the history
….com/primer/primitives into jules-HC-avatar-and-diffstat-borders
  • Loading branch information
simurai committed Jun 22, 2021
2 parents c9f226a + e91091f commit a4aff36
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 31 deletions.
5 changes: 0 additions & 5 deletions .changeset/fuzzy-mangos-bake.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"@primer/primitives": patch
---

Primary button fixes
Deprecate globalNav
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"@primer/primitives": patch
---

Global Nav → input fixes
neutral.emphasis fix in HC
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"@primer/primitives": patch
---

Update neutral emphasis
header-input border fix
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @primer/primitives

## 4.4.2

### Patch Changes

- [#151](https://github.com/primer/primitives/pull/151) [`73a53a0`](https://github.com/primer/primitives/commit/73a53a0094074791eb8c6cebb1320db017f8719b) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - Fixed states for btn.danger in HC

* [#149](https://github.com/primer/primitives/pull/149) [`9539f54`](https://github.com/primer/primitives/commit/9539f54666dfb4e45b5d00a3ebd4d633f578f1de) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - Global Nav → input fixes

- [#145](https://github.com/primer/primitives/pull/145) [`c6fd869`](https://github.com/primer/primitives/commit/c6fd86990b97abae9821ee5eb858ab83ae783163) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - Primary button fixes

* [#152](https://github.com/primer/primitives/pull/152) [`281a7fb`](https://github.com/primer/primitives/commit/281a7fbba59d3afecac3f6761346093ca6470830) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - Update neutral emphasis

## 4.4.1

### Patch Changes
Expand Down
10 changes: 10 additions & 0 deletions data/colors_v2/vars/deprecated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,16 @@ export default {
gradientBg: unset
}
},
globalNav: {
logo: deprecated,
bg: deprecated,
text: deprecated,
icon: deprecated,
inputBg: deprecated,
inputBorder: deprecated,
inputIcon: deprecated,
inputPlaceholder: deprecated,
},
introShelf: {
gradientLeft: get('accent.subtle'),
gradientRight: get('success.subtle'),
Expand Down
12 changes: 1 addition & 11 deletions data/colors_v2/vars/product_dark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,6 @@ export default {
diffBlob: {
selectedLineHighlightMixBlendMode: 'multiply'
},
globalNav: {
logo: get('scale.gray.0'),
bg: get('scale.gray.8'),
text: get('scale.gray.1'),
icon: get('scale.gray.1'),
inputBg: get('scale.gray.9'),
inputBorder: get('border.default'),
inputIcon: get('fg.subtle'),
inputPlaceholder: get('fg.subtle')
},
prettylights: {
syntax: {
comment: get('scale.gray.3'),
Expand Down Expand Up @@ -158,6 +148,6 @@ export default {
},
headerSearch: {
bg: get('scale.gray.9'),
border: get('scale.gray.7')
border: get('scale.gray.6')
}
}
12 changes: 1 addition & 11 deletions data/colors_v2/vars/product_light.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,6 @@ export default {
diffBlob: {
selectedLineHighlightMixBlendMode: 'multiply'
},
globalNav: {
logo: get('scale.white'),
bg: get('scale.gray.9'),
text: get('scale.white'),
icon: get('scale.white'),
inputBg: get('scale.gray.0'),
inputBorder: get('scale.gray.0'),
inputIcon: get('scale.gray.3'),
inputPlaceholder: get('scale.gray.4')
},
prettylights: {
syntax: {
comment: get('scale.gray.5'),
Expand Down Expand Up @@ -158,6 +148,6 @@ export default {
},
headerSearch: {
bg: get('scale.gray.9'),
border: get('scale.gray.7')
border: get('scale.gray.6')
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@primer/primitives",
"version": "4.4.1",
"version": "4.4.2",
"description": "Typography, spacing, and color primitives for Primer design system",
"files": ["dist"],
"main": "dist/js/index.js",
Expand Down

0 comments on commit a4aff36

Please sign in to comment.