diff --git a/.changeset/late-crabs-flash.md b/.changeset/late-crabs-flash.md new file mode 100644 index 0000000000..943dc3a227 --- /dev/null +++ b/.changeset/late-crabs-flash.md @@ -0,0 +1,5 @@ +--- +"@primer/css": patch +--- + +Updating @primer/stylelint-config and @primer/primitives to 5.0 diff --git a/package.json b/package.json index bf0e80bc63..4e1341a1cb 100644 --- a/package.json +++ b/package.json @@ -34,14 +34,14 @@ "release": "changeset publish" }, "dependencies": { - "@primer/primitives": "^5.0.0-rc.8de08c0" + "@primer/primitives": "^5.0.0" }, "devDependencies": { "@changesets/changelog-github": "0.4.1", "@changesets/cli": "2.17.0", "@github/prettier-config": "0.0.4", "@koddsson/postcss-sass": "5.0.0", - "@primer/stylelint-config": "12.0.0", + "@primer/stylelint-config": "12.0.1", "autoprefixer": "10.3.6", "cssstats": "4.0.2", "eslint": "7.32.0", diff --git a/src/marketing/type/typography.scss b/src/marketing/type/typography.scss index f1eb16a9b3..ba7c6c8676 100644 --- a/src/marketing/type/typography.scss +++ b/src/marketing/type/typography.scss @@ -125,7 +125,7 @@ font-size: $h4-size; line-height: 1.4; color: var(--color-color-text-secondary); - border-left: 3px solid var(--color-border-primary); + border-left: 3px solid var(--color-border-default); @include breakpoint(md) { padding-left: $spacer * 1.5; diff --git a/src/support/mixins/misc.scss b/src/support/mixins/misc.scss index c7e54be256..b75156bbf5 100644 --- a/src/support/mixins/misc.scss +++ b/src/support/mixins/misc.scss @@ -1,5 +1,5 @@ // Generate a two-color caret for any element. -@mixin double-caret($background: var(--color-bg-primary), $border: var(--color-border-primary)) { +@mixin double-caret($background: var(--color-canvas-default), $border: var(--color-border-default)) { &::after, &::before { position: absolute; diff --git a/src/support/variables/misc.scss b/src/support/variables/misc.scss index 897aa711b1..bdda59f19e 100644 --- a/src/support/variables/misc.scss +++ b/src/support/variables/misc.scss @@ -3,7 +3,7 @@ // Border $border-width: 1px !default; $border-style: solid !default; -$border: $border-width $border-style var(--color-border-primary) !default; +$border: $border-width $border-style var(--color-border-default) !default; // Border Radius $border-radius-1: 4px !default; diff --git a/yarn.lock b/yarn.lock index ecb7f2a075..764ae09721 100644 --- a/yarn.lock +++ b/yarn.lock @@ -968,15 +968,15 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" -"@primer/primitives@^5.0.0-rc.8de08c0": - version "5.0.0-rc.8de08c0" - resolved "https://registry.yarnpkg.com/@primer/primitives/-/primitives-5.0.0-rc.8de08c0.tgz#b85825eb55d8b364ca31cb573e66e2caae63137a" - integrity sha512-4qjGx4ec3FuAU/7sKjsVzDXMM8ZbFW/VstxmCwaraN6hXfgruZrGY0HlEuhzor0xenhdbxMZllsPoz6FxFIxNQ== - -"@primer/stylelint-config@12.0.0": - version "12.0.0" - resolved "https://registry.yarnpkg.com/@primer/stylelint-config/-/stylelint-config-12.0.0.tgz#33648ca2d630e9f93744fb3a311e245cd4d5b666" - integrity sha512-BnuyuE3kkJYQhCUUFF3iotODB6l2/79zdTjLhkypYN2ctbTCnpdZs2JJiyLo2WGt/VPj6tQy+n8db+wcvq+w8w== +"@primer/primitives@^5.0.0": + version "5.0.0" + resolved "https://registry.yarnpkg.com/@primer/primitives/-/primitives-5.0.0.tgz#20e5e7aae0464093f4742f5947c332cbcbc68edd" + integrity sha512-g2omeDBgfE5Q6+BQxPaflz5/shCFNjPvfpzphQMpeqIeSrV9boFyicLq7/Rd3WdsDvIMIsMCC1lWZE9JyEhR3w== + +"@primer/stylelint-config@12.0.1": + version "12.0.1" + resolved "https://registry.yarnpkg.com/@primer/stylelint-config/-/stylelint-config-12.0.1.tgz#da3dfd3a302e50b393bc23521a36525af6fbc743" + integrity sha512-HJDkSCGk83MujAu1IxB7/aXcxYqdMahgRWRLwC57vCfpR1zrTKuGC1F0ZsdSp4iigZ9yiR0BGo+xkby8lHfYOg== dependencies: anymatch "^3.1.1" globby "^11.0.1"