@primer/css 0.0.0-20220119115534 → 0.0.0-20220120020705

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,14 +1,16 @@
1
1
  # @primer/css
2
2
 
3
- ## 0.0.0-20220119115534
3
+ ## 0.0.0-20220120020705
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Fake entry to force publishing
8
8
 
9
- * [#1882](https://github.com/primer/css/pull/1882) [`4a06aba1`](https://github.com/primer/css/commit/4a06aba1d3f80bcc228ff4360d0e02d5ace158ff) Thanks [@tqwewe](https://github.com/tqwewe)! - Fix layout gutter none styles
9
+ * [#1890](https://github.com/primer/css/pull/1890) [`0b469228`](https://github.com/primer/css/commit/0b469228c05224609f4ae370f304a0fe58760de8) Thanks [@andrialexandrou](https://github.com/andrialexandrou)! - Adds --color-accent-emphasis and --color-fg-on-emphasis rules for Windows High Contrast Mode
10
10
 
11
- - [#1894](https://github.com/primer/css/pull/1894) [`10e13b3a`](https://github.com/primer/css/commit/10e13b3ac22a768c19ae4e1d4ff085a779db1102) Thanks [@simurai](https://github.com/simurai)! - Make `pagination` responsive by default
11
+ - [#1882](https://github.com/primer/css/pull/1882) [`4a06aba1`](https://github.com/primer/css/commit/4a06aba1d3f80bcc228ff4360d0e02d5ace158ff) Thanks [@tqwewe](https://github.com/tqwewe)! - Fix layout gutter none styles
12
+
13
+ * [#1894](https://github.com/primer/css/pull/1894) [`d1adf595`](https://github.com/primer/css/commit/d1adf595308afb97f83c5ca172222944189a5961) Thanks [@simurai](https://github.com/simurai)! - Make `pagination` responsive by default
12
14
 
13
15
  ## 19.2.0
14
16
 
@@ -9,3 +9,14 @@
9
9
  color: var(--color-fg-default);
10
10
  background-color: var(--color-canvas-default);
11
11
  }
12
+
13
+ // Windows High Contrast mode
14
+
15
+ // Improves focus state for various components when Windows High Contrast mode is enabled
16
+ // stylelint-disable selector-max-type
17
+ @media (forced-colors: active) {
18
+ body {
19
+ --color-accent-emphasis: Highlight;
20
+ --color-fg-on-emphasis: LinkText;
21
+ }
22
+ }