jekyll-v4-theme-primer 0.11.0 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -3
  3. data/_sass/@primer/css/base/normalize.scss +1 -0
  4. data/_sass/@primer/css/core/index.scss +0 -1
  5. data/_sass/@primer/css/forms/form-group.scss +2 -1
  6. data/_sass/@primer/css/forms/index.scss +0 -1
  7. data/_sass/@primer/css/labels/index.scss +0 -1
  8. data/_sass/@primer/css/layout/app-frame.scss +6 -6
  9. data/_sass/@primer/css/layout/stack.scss +6 -6
  10. data/_sass/@primer/css/markdown/lists.scss +4 -4
  11. data/_sass/@primer/css/primitives/index.scss +9 -9
  12. data/_sass/@primer/css/support/variables/misc.scss +1 -1
  13. data/_sass/@primer/css/utilities/borders.scss +8 -8
  14. data/_sass/@primer/css/utilities/visibility-display.scss +10 -9
  15. data/_sass/@primer/view-components/app/assets/javascripts/primer_view_components.js +1 -1
  16. data/_sass/@primer/view-components/app/assets/javascripts/primer_view_components.js.map +1 -1
  17. data/_sass/@primer/view-components/app/assets/styles/primer_view_components.css +3 -3
  18. data/_sass/@primer/view-components/app/assets/styles/primer_view_components.css.map +1 -1
  19. data/_sass/@primer/view-components/app/components/primer/alpha/action_list.css +1 -1
  20. data/_sass/@primer/view-components/app/components/primer/alpha/action_list.css.json +131 -1
  21. data/_sass/@primer/view-components/app/components/primer/alpha/action_menu/action_menu_element.d.ts +29 -0
  22. data/_sass/@primer/view-components/app/components/primer/alpha/action_menu/action_menu_element.js +217 -0
  23. data/_sass/@primer/view-components/app/components/primer/alpha/auto_complete.css +1 -1
  24. data/_sass/@primer/view-components/app/components/primer/alpha/auto_complete.css.json +23 -1
  25. data/_sass/@primer/view-components/app/components/primer/alpha/banner.css +1 -1
  26. data/_sass/@primer/view-components/app/components/primer/alpha/banner.css.json +24 -1
  27. data/_sass/@primer/view-components/app/components/primer/alpha/button_marketing.css.json +33 -1
  28. data/_sass/@primer/view-components/app/components/primer/alpha/dialog.css +1 -1
  29. data/_sass/@primer/view-components/app/components/primer/alpha/dialog.css.json +80 -1
  30. data/_sass/@primer/view-components/app/components/primer/alpha/dropdown.css +1 -1
  31. data/_sass/@primer/view-components/app/components/primer/alpha/dropdown.css.json +40 -1
  32. data/_sass/@primer/view-components/app/components/primer/alpha/layout.css +1 -1
  33. data/_sass/@primer/view-components/app/components/primer/alpha/layout.css.json +80 -1
  34. data/_sass/@primer/view-components/app/components/primer/alpha/menu.css +1 -1
  35. data/_sass/@primer/view-components/app/components/primer/alpha/menu.css.json +28 -1
  36. data/_sass/@primer/view-components/app/components/primer/alpha/modal_dialog.js +12 -0
  37. data/_sass/@primer/view-components/app/components/primer/alpha/nav_list.d.ts +7 -4
  38. data/_sass/@primer/view-components/app/components/primer/alpha/nav_list.js +121 -9
  39. data/_sass/@primer/view-components/app/components/primer/alpha/overlay.css +1 -0
  40. data/_sass/@primer/view-components/app/components/primer/alpha/overlay.css.json +8 -0
  41. data/_sass/@primer/view-components/app/components/primer/alpha/segmented_control.css +1 -1
  42. data/_sass/@primer/view-components/app/components/primer/alpha/segmented_control.css.json +31 -1
  43. data/_sass/@primer/view-components/app/components/primer/alpha/tab_nav.css +1 -1
  44. data/_sass/@primer/view-components/app/components/primer/alpha/tab_nav.css.json +24 -1
  45. data/_sass/@primer/view-components/app/components/primer/alpha/text_field.css +3 -3
  46. data/_sass/@primer/view-components/app/components/primer/alpha/text_field.css.json +134 -1
  47. data/_sass/@primer/view-components/app/components/primer/alpha/toggle_switch.css +1 -1
  48. data/_sass/@primer/view-components/app/components/primer/alpha/toggle_switch.css.json +40 -1
  49. data/_sass/@primer/view-components/app/components/primer/alpha/underline_nav.css +1 -1
  50. data/_sass/@primer/view-components/app/components/primer/alpha/underline_nav.css.json +28 -1
  51. data/_sass/@primer/view-components/app/components/primer/anchored_position.d.ts +27 -0
  52. data/_sass/@primer/view-components/app/components/primer/anchored_position.js +149 -0
  53. data/_sass/@primer/view-components/app/components/primer/beta/avatar.css +1 -1
  54. data/_sass/@primer/view-components/app/components/primer/beta/avatar.css.json +17 -1
  55. data/_sass/@primer/view-components/app/components/primer/beta/avatar_stack.css +1 -1
  56. data/_sass/@primer/view-components/app/components/primer/beta/avatar_stack.css.json +28 -1
  57. data/_sass/@primer/view-components/app/components/primer/beta/blankslate.css +1 -1
  58. data/_sass/@primer/view-components/app/components/primer/beta/blankslate.css.json +22 -1
  59. data/_sass/@primer/view-components/app/components/primer/beta/border_box.css +1 -1
  60. data/_sass/@primer/view-components/app/components/primer/beta/border_box.css.json +54 -1
  61. data/_sass/@primer/view-components/app/components/primer/beta/breadcrumbs.css.json +11 -1
  62. data/_sass/@primer/view-components/app/components/primer/beta/button.css +1 -1
  63. data/_sass/@primer/view-components/app/components/primer/beta/button.css.json +71 -1
  64. data/_sass/@primer/view-components/app/components/primer/beta/counter.css +1 -1
  65. data/_sass/@primer/view-components/app/components/primer/beta/counter.css.json +10 -1
  66. data/_sass/@primer/view-components/app/components/primer/beta/flash.css +1 -1
  67. data/_sass/@primer/view-components/app/components/primer/beta/flash.css.json +27 -1
  68. data/_sass/@primer/view-components/app/components/primer/beta/label.css +1 -1
  69. data/_sass/@primer/view-components/app/components/primer/beta/label.css.json +25 -1
  70. data/_sass/@primer/view-components/app/components/primer/beta/link.css.json +19 -1
  71. data/_sass/@primer/view-components/app/components/primer/beta/popover.css +1 -1
  72. data/_sass/@primer/view-components/app/components/primer/beta/popover.css.json +39 -1
  73. data/_sass/@primer/view-components/app/components/primer/beta/progress_bar.css.json +10 -1
  74. data/_sass/@primer/view-components/app/components/primer/beta/state.css +1 -1
  75. data/_sass/@primer/view-components/app/components/primer/beta/state.css.json +13 -1
  76. data/_sass/@primer/view-components/app/components/primer/beta/subhead.css +1 -1
  77. data/_sass/@primer/view-components/app/components/primer/beta/subhead.css.json +12 -1
  78. data/_sass/@primer/view-components/app/components/primer/beta/timeline_item.css +1 -1
  79. data/_sass/@primer/view-components/app/components/primer/beta/timeline_item.css.json +16 -1
  80. data/_sass/@primer/view-components/app/components/primer/beta/truncate.css +1 -1
  81. data/_sass/@primer/view-components/app/components/primer/beta/truncate.css.json +12 -1
  82. data/_sass/@primer/view-components/app/components/primer/focus_group.d.ts +19 -0
  83. data/_sass/@primer/view-components/app/components/primer/focus_group.js +144 -0
  84. data/_sass/@primer/view-components/app/components/primer/primer.d.ts +5 -2
  85. data/_sass/@primer/view-components/app/components/primer/primer.js +5 -2
  86. data/_sass/@primer/view-components/app/components/primer/truncate.css.json +13 -1
  87. data/_sass/@primer/view-components/lib/primer/forms/primer_text_field.js +17 -6
  88. data/_sass/@primer/view-components/package.json +6 -4
  89. data/_sass/@primer/view-components/static/arguments.json +2167 -346
  90. data/_sass/@primer/view-components/static/audited_at.json +22 -22
  91. data/_sass/@primer/view-components/static/classes.json +579 -0
  92. data/_sass/@primer/view-components/static/constants.json +215 -61
  93. data/_sass/@primer/view-components/static/info_arch.json +9090 -0
  94. data/_sass/@primer/view-components/static/previews.json +2020 -0
  95. data/_sass/@primer/view-components/static/statuses.json +23 -23
  96. data/_sass/{jekyll-theme-primer.scss → jekyll-v4-theme-primer.scss} +3 -3
  97. data/_sass/primer.scss +1 -1
  98. data/assets/css/style.scss +1 -1
  99. metadata +16 -15
  100. data/_sass/@primer/css/actionlist/action-list-item-divider.scss +0 -48
  101. data/_sass/@primer/css/actionlist/action-list-item.scss +0 -593
  102. data/_sass/@primer/css/actionlist/action-list-tree.scss +0 -118
  103. data/_sass/@primer/css/actionlist/action-list-variables.scss +0 -8
  104. data/_sass/@primer/css/actionlist/action-list.scss +0 -67
  105. data/_sass/@primer/css/actionlist/index.scss +0 -6
  106. data/_sass/@primer/css/forms/form-validation.scss +0 -265
  107. data/_sass/@primer/css/labels/diffstat.scss +0 -37
  108. data/_sass/@primer/view-components/app/components/primer/time_ago_component.d.ts +0 -1
  109. data/_sass/@primer/view-components/app/components/primer/time_ago_component.js +0 -1
  110. /data/_sass/@primer/view-components/app/components/primer/{local_time.d.ts → beta/relative_time.d.ts} +0 -0
  111. /data/_sass/@primer/view-components/app/components/primer/{local_time.js → beta/relative_time.js} +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9dfaa65c1e703bfefd7cd880fa28973cbeaf584cc4fef6532ec80b0b1f3bba37
4
- data.tar.gz: 710b50250a5f34bc3aedebfa61b1dff84eb657cbd6bcc4810864172c8421c827
3
+ metadata.gz: 45c3c78fc424356151c29623de94840c9eb5e535d480af49a54c3b954f785cb6
4
+ data.tar.gz: 01100ce75f9fd4cf027f8b9e6b2c9062d1f19f9485736816ada3d4538fa6ee95
5
5
  SHA512:
6
- metadata.gz: 67be39a05d096442a92f5a43383dd8f287d489c14464254136b18ec0d36e5a34a7f9b9e0b80382f1dd9521bb2ee1e963661abeffcc9435a9ca3914f6539ee2e5
7
- data.tar.gz: 19526e26387f459a8baaf63589d3eb3fba90fed8bbe474898687894798f319f13ffa69c3359f817797f3bbe7c983d402b2d7186c6aa3bce5bb9d4d4c7a3a183f
6
+ metadata.gz: c60c2750089af7be8cc9210b635b1274f4eede726a09e07e097f71f50ad4c83ff05231ca9a8cc4a187e1f5bc38c1671fa505e952506259ee98027b2fbe9e40bc
7
+ data.tar.gz: a68ccc21a145ae64d8024d6d2c9e9ed82f418d534a64b9ae63c47069e74b7c7194de61c36d3213d49b8c8b778598333c88980539a0d6a3c2fbcd6cb36e94a5b8
data/README.md CHANGED
@@ -2,7 +2,10 @@
2
2
 
3
3
  [![.github/workflows/ci.yaml](https://github.com/dunkmann00/primer/actions/workflows/ci.yaml/badge.svg)](https://github.com/dunkmann00/primer/actions/workflows/ci.yaml) [![Gem Version](https://badge.fury.io/rb/jekyll-v4-theme-primer.svg)](https://badge.fury.io/rb/jekyll-v4-theme-primer)
4
4
 
5
- *Primer is a Jekyll theme for GitHub Pages. You can [preview the theme to see what it looks like](https://georgeh2os.com/primer), or even [use it today](#usage).*
5
+ *Primer is a Jekyll theme for GitHub Pages. You can [preview the theme to see what it looks like](https://www.georgeh2os.com/primer/), or even [use it today](#usage).*
6
+
7
+ **This theme is not an official theme for Github Pages**. This is a fork of the original `primer` theme that I have
8
+ modified to support Jekyll v4 and a newer version of [Primer CSS](https://primer.style/css/).
6
9
 
7
10
 
8
11
  ## Usage
@@ -12,7 +15,7 @@ To use the Primer theme:
12
15
  1. Add the following to your site's `_config.yml`:
13
16
 
14
17
  ```yml
15
- remote_theme: dunkmann00/primer@v0.9.0
18
+ remote_theme: dunkmann00/primer@v0.12.0
16
19
  plugins:
17
20
  - jekyll-remote-theme # add this line to the plugins list if you already have one
18
21
  ```
@@ -36,7 +39,7 @@ To use the Primer theme:
36
39
 
37
40
  Primer will set the theme based on the theme value set in `_config.yml`. This
38
41
  can be overridden on a per page basis by setting a `theme` variable in the
39
- page's frontmatter. If neither is given, the default theme is used.
42
+ page's frontmatter. If neither is given, the default theme (`auto`) is used.
40
43
 
41
44
  ```yml
42
45
  primer:
@@ -7,6 +7,7 @@
7
7
  */
8
8
 
9
9
  html {
10
+ font-size: 16px; /* this can be removed when all of GitHub uses rem units */
10
11
  font-family: sans-serif; /* 1 */
11
12
  -ms-text-size-adjust: 100%; /* 2 */
12
13
  -webkit-text-size-adjust: 100%; /* 2 */
@@ -11,7 +11,6 @@
11
11
  // Color modes
12
12
 
13
13
  // Core modules
14
- @import '../actionlist/index.scss';
15
14
  @import '../base/index.scss';
16
15
  @import '../box/index.scss';
17
16
  @import '../breadcrumb/index.scss';
@@ -70,7 +70,8 @@
70
70
  }
71
71
 
72
72
  label {
73
- position: relative;
73
+ // fix for chrome bug, see https://github.com/github/github/issues/53931
74
+ position: static;
74
75
  }
75
76
 
76
77
  &.flattened dt, // TODO: Deprecate
@@ -2,7 +2,6 @@
2
2
  @import './form-control.scss';
3
3
  @import './form-select.scss';
4
4
  @import './form-group.scss';
5
- @import './form-validation.scss';
6
5
  @import './input-group.scss';
7
6
  @import './radio-group.scss';
8
7
  // new pvc components
@@ -4,4 +4,3 @@
4
4
  @import './labels.scss';
5
5
  @import './states.scss';
6
6
  @import './counters.scss';
7
- @import './diffstat.scss';
@@ -30,7 +30,7 @@
30
30
  width: 100%;
31
31
  padding: var(--base-size-16, 16px);
32
32
  background: var(--color-canvas-inset);
33
- padding-block-end: calc(var(--base-size-16, 16px) - var(--primer-borderWidth-thin, 1px));
33
+ padding-block-end: calc(var(--base-size-16, 16px) - var(--borderWidth-thin, 1px));
34
34
  isolation: isolate;
35
35
  align-items: center;
36
36
  gap: var(--base-size-8, 8px);
@@ -67,7 +67,7 @@
67
67
  text-indent: var(--base-size-128, 128px);
68
68
  pointer-events: none;
69
69
  background: var(--color-border-default);
70
- border-radius: var(--primer-borderRadius-full, 100vh);
70
+ border-radius: var(--borderRadius-full, 100vh);
71
71
  }
72
72
 
73
73
  &:focus {
@@ -75,17 +75,17 @@
75
75
  display: grid;
76
76
  width: auto;
77
77
  height: auto;
78
- min-height: var(--primer-control-medium-size, 32px);
79
- padding: 0 var(--primer-control-medium-paddingInline-spacious, 16px);
78
+ min-height: var(--control-medium-size, 32px);
79
+ padding: 0 var(--control-medium-paddingInline-spacious, 16px);
80
80
  overflow: auto;
81
81
  color: var(--color-fg-on-emphasis);
82
82
  background: var(--color-accent-emphasis);
83
- border-radius: var(--primer-borderRadius-full, 100vh);
83
+ border-radius: var(--borderRadius-full, 100vh);
84
84
  align-items: center;
85
85
 
86
86
  @media (pointer: coarse) {
87
87
  &::after {
88
- @include minTouchTarget(var(--primer-control-minTarget-coarse, 44px));
88
+ @include minTouchTarget(var(--control-minTarget-coarse, 44px));
89
89
  }
90
90
  }
91
91
 
@@ -25,7 +25,7 @@
25
25
  // │ ├─ &.Stack-item--expand-[ whenNarrow | whenRegular | whenWide ]
26
26
  // │ ├─ &.Stack-item--keepSize-[ whenNarrow | whenRegular | whenWide ]
27
27
 
28
- $Stack-gap-default: var(--primer-stack-gap-normal, 16px);
28
+ $Stack-gap-default: var(--stack-gap-normal, 16px);
29
29
 
30
30
  --Stack-gap-whenRegular: #{$Stack-gap-default};
31
31
  --Stack-gap-whenNarrow: #{$Stack-gap-default};
@@ -65,18 +65,18 @@
65
65
  }
66
66
 
67
67
  .Stack--gap-condensed#{$viewportRange} {
68
- --Stack-gap#{$viewportRange}: var(--primer-stack-gap-condensed, 8px);
68
+ --Stack-gap#{$viewportRange}: var(--stack-gap-condensed, 8px);
69
69
  }
70
70
 
71
71
  .Stack--gap-normal#{$viewportRange} {
72
- --Stack-gap#{$viewportRange}: var(--primer-stack-gap-normal, 16px);
72
+ --Stack-gap#{$viewportRange}: var(--stack-gap-normal, 16px);
73
73
  }
74
74
 
75
75
  // There's no .Stack--gap-spacious-whenNarrow
76
76
  // Narrow viewports render `spacious` gap as `normal`
77
77
  @if $viewportRange != '-whenNarrow' {
78
78
  .Stack--gap-spacious#{$viewportRange} {
79
- --Stack-gap#{$viewportRange}: var(--primer-stack-gap-spacious, 24px);
79
+ --Stack-gap#{$viewportRange}: var(--stack-gap-spacious, 24px);
80
80
  }
81
81
  }
82
82
 
@@ -161,14 +161,14 @@
161
161
 
162
162
  :not(.Stack--dir-inline#{$viewportRange}) > .Stack-divider,
163
163
  :not(.Stack--dir-inline#{$viewportRange}) > .Stack-item > .Stack-divider {
164
- border-block-end: var(--primer-borderWidth-thin, 1px) solid var(--Stack-divider-color);
164
+ border-block-end: var(--borderWidth-thin, 1px) solid var(--Stack-divider-color);
165
165
  inline-size: auto;
166
166
  block-size: 0;
167
167
  }
168
168
 
169
169
  .Stack--dir-inline#{$viewportRange} > .Stack-divider,
170
170
  .Stack--dir-inline#{$viewportRange} > .Stack-item > .Stack-divider {
171
- border-inline-end: var(--primer-borderWidth-thin, 1px) solid var(--Stack-divider-color);
171
+ border-inline-end: var(--borderWidth-thin, 1px) solid var(--Stack-divider-color);
172
172
  inline-size: 0;
173
173
  block-size: auto;
174
174
  }
@@ -14,19 +14,19 @@
14
14
  }
15
15
  }
16
16
 
17
- ol[type='a'] {
17
+ ol[type='a s'] {
18
18
  list-style-type: lower-alpha;
19
19
  }
20
20
 
21
- ol[type='A'] {
21
+ ol[type='A s'] {
22
22
  list-style-type: upper-alpha;
23
23
  }
24
24
 
25
- ol[type='i'] {
25
+ ol[type='i s'] {
26
26
  list-style-type: lower-roman;
27
27
  }
28
28
 
29
- ol[type='I'] {
29
+ ol[type='I s'] {
30
30
  list-style-type: upper-roman;
31
31
  }
32
32
 
@@ -1,10 +1,10 @@
1
- @import '@primer/primitives/tokens-v2-private/css/tokens/base/size/size';
2
- @import '@primer/primitives/tokens-v2-private/css/tokens/base/typography/typography';
3
- @import '@primer/primitives/tokens-v2-private/css/tokens/functional/size/border';
4
- @import '@primer/primitives/tokens-v2-private/css/tokens/functional/size/breakpoints';
5
- @import '@primer/primitives/tokens-v2-private/css/tokens/functional/size/size-coarse';
6
- @import '@primer/primitives/tokens-v2-private/css/tokens/functional/size/size-fine';
7
- @import '@primer/primitives/tokens-v2-private/css/tokens/functional/size/size';
8
- @import '@primer/primitives/tokens-v2-private/css/tokens/functional/size/viewport';
9
- @import '@primer/primitives/tokens-v2-private/css/tokens/functional/typography/typography';
1
+ @import '@primer/primitives/tokens-next-private/css/base/size/size';
2
+ @import '@primer/primitives/tokens-next-private/css/base/typography/typography';
3
+ @import '@primer/primitives/tokens-next-private/css/functional/size/border';
4
+ @import '@primer/primitives/tokens-next-private/css/functional/size/breakpoints';
5
+ @import '@primer/primitives/tokens-next-private/css/functional/size/size-coarse';
6
+ @import '@primer/primitives/tokens-next-private/css/functional/size/size-fine';
7
+ @import '@primer/primitives/tokens-next-private/css/functional/size/size';
8
+ @import '@primer/primitives/tokens-next-private/css/functional/size/viewport';
9
+ @import '@primer/primitives/tokens-next-private/css/functional/typography/typography';
10
10
  @import './temp-typography-tokens.scss';
@@ -4,7 +4,7 @@
4
4
  $border-width: 1px !default;
5
5
  $border-style: solid !default;
6
6
  $border: $border-width $border-style var(--color-border-default) !default;
7
- $border-rem: var(--primer-borderWidth-thin, 1px) solid var(--color-border-default) !default;
7
+ $border-rem: var(--borderWidth-thin, 1px) solid var(--color-border-default) !default;
8
8
 
9
9
  // Border Radius
10
10
  $border-radius-1: 4px !default;
@@ -31,11 +31,11 @@
31
31
  .border#{$variant}-left-0 { border-left: 0 !important; }
32
32
 
33
33
  // Rounded corners
34
- .rounded#{$variant} { border-radius: var(--primer-borderRadius-medium, $border-radius-2) !important; }
34
+ .rounded#{$variant} { border-radius: var(--borderRadius-medium, $border-radius-2) !important; }
35
35
  .rounded#{$variant}-0 { border-radius: 0 !important; }
36
- .rounded#{$variant}-1 { border-radius: var(--primer-borderRadius-small, $border-radius-1) !important; }
37
- .rounded#{$variant}-2 { border-radius: var(--primer-borderRadius-medium, $border-radius-2) !important; }
38
- .rounded#{$variant}-3 { border-radius: var(--primer-borderRadius-large, $border-radius-3) !important; }
36
+ .rounded#{$variant}-1 { border-radius: var(--borderRadius-small, $border-radius-1) !important; }
37
+ .rounded#{$variant}-2 { border-radius: var(--borderRadius-medium, $border-radius-2) !important; }
38
+ .rounded#{$variant}-3 { border-radius: var(--borderRadius-large, $border-radius-3) !important; }
39
39
 
40
40
  @each $edge, $corners in $edges {
41
41
  .rounded#{$variant}-#{$edge}-0 {
@@ -46,19 +46,19 @@
46
46
 
47
47
  .rounded#{$variant}-#{$edge}-1 {
48
48
  @each $corner in $corners {
49
- border-#{$corner}-radius: var(--primer-borderRadius-small, $border-radius-1) !important;
49
+ border-#{$corner}-radius: var(--borderRadius-small, $border-radius-1) !important;
50
50
  }
51
51
  }
52
52
 
53
53
  .rounded#{$variant}-#{$edge}-2 {
54
54
  @each $corner in $corners {
55
- border-#{$corner}-radius: var(--primer-borderRadius-medium, $border-radius-2) !important;
55
+ border-#{$corner}-radius: var(--borderRadius-medium, $border-radius-2) !important;
56
56
  }
57
57
  }
58
58
 
59
59
  .rounded#{$variant}-#{$edge}-3 {
60
60
  @each $corner in $corners {
61
- border-#{$corner}-radius: var(--primer-borderRadius-medium, $border-radius-3) !important;
61
+ border-#{$corner}-radius: var(--borderRadius-medium, $border-radius-3) !important;
62
62
  }
63
63
  }
64
64
  }
@@ -66,7 +66,7 @@
66
66
  }
67
67
 
68
68
  /* Add a 50% border-radius to make something into a circle */
69
- .circle { border-radius: var(--primer-borderRadius-full, 50%) !important; }
69
+ .circle { border-radius: var(--borderRadius-full, 50%) !important; }
70
70
 
71
71
  /* Change the border style to dashed, in conjunction with another utility */
72
72
  .border-dashed {
@@ -107,17 +107,18 @@
107
107
 
108
108
  // Only display content on focus
109
109
  .show-on-focus {
110
- position: absolute;
111
- width: 1px;
112
- height: 1px;
113
- margin: 0;
114
- overflow: hidden;
115
- clip: rect(1px, 1px, 1px, 1px);
110
+ position: absolute !important;
111
+
112
+ &:not(:focus) {
113
+ width: 1px !important;
114
+ height: 1px !important;
115
+ padding: 0 !important;
116
+ overflow: hidden !important;
117
+ clip: rect(1px, 1px, 1px, 1px) !important;
118
+ border: 0 !important;
119
+ }
116
120
 
117
121
  &:focus {
118
122
  z-index: 999;
119
- width: auto;
120
- height: auto;
121
- clip: auto;
122
123
  }
123
124
  }