jekyll-v4-theme-primer 0.13.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (24) hide show
  1. checksums.yaml +4 -4
  2. data/_layouts/default.html +8 -0
  3. data/_sass/@primer/primitives/dist/css/base/size/size.scss +19 -0
  4. data/_sass/@primer/primitives/dist/css/base/typography/typography.scss +6 -0
  5. data/_sass/@primer/primitives/dist/css/functional/motion/motion.scss +5 -0
  6. data/_sass/@primer/primitives/dist/css/functional/size/border.scss +14 -0
  7. data/_sass/@primer/primitives/dist/css/functional/size/breakpoints.scss +8 -0
  8. data/_sass/@primer/primitives/dist/css/functional/size/size-coarse.scss +7 -0
  9. data/_sass/@primer/primitives/dist/css/functional/size/size-fine.scss +7 -0
  10. data/_sass/@primer/primitives/dist/css/functional/size/size.scss +74 -0
  11. data/_sass/@primer/primitives/dist/css/functional/size/viewport.scss +6 -0
  12. data/_sass/@primer/primitives/dist/css/functional/themes/dark-colorblind.scss +1016 -0
  13. data/_sass/@primer/primitives/dist/css/functional/themes/dark-dimmed.scss +1016 -0
  14. data/_sass/@primer/primitives/dist/css/functional/themes/dark-high-contrast.scss +1016 -0
  15. data/_sass/@primer/primitives/dist/css/functional/themes/dark-tritanopia.scss +1016 -0
  16. data/_sass/@primer/primitives/dist/css/functional/themes/dark.scss +1016 -0
  17. data/_sass/@primer/primitives/dist/css/functional/themes/light-colorblind.scss +1016 -0
  18. data/_sass/@primer/primitives/dist/css/functional/themes/light-high-contrast.scss +1016 -0
  19. data/_sass/@primer/primitives/dist/css/functional/themes/light-tritanopia.scss +1016 -0
  20. data/_sass/@primer/primitives/dist/css/functional/themes/light.scss +1016 -0
  21. data/_sass/@primer/primitives/dist/css/functional/typography/typography.scss +47 -0
  22. data/_sass/jekyll-v4-theme-primer.scss +10 -0
  23. data/assets/js/primer-clipboard-copy.js +6 -42
  24. metadata +35 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f2c3a3105dc3f9a7334189e5b1e04e4d07d07f3d1fd225fb5b8d8423b566cc9d
4
- data.tar.gz: 01b63cd73216f49db5a8e54e4a9fd73e8682100fde79d27583b5bd66da148e91
3
+ metadata.gz: 1acc07c57ad7f5892a24a01e987bb2a231edd9180e7e64460101b9a517492cef
4
+ data.tar.gz: f3d52cd50ad47dc119439088f914b79cae4c96b2966cbb90f708f5bf7e2a6464
5
5
  SHA512:
6
- metadata.gz: e6c61ea66e138ac89619c640f8c83739d781cbcc181d3edaa1eb71b7bfb070e21fafc6ded70f97f3b627301fe2dd81b1adeee354d4a177a0a21e72ecf32c789b
7
- data.tar.gz: 83c6de13d3bcf07b0bcf89cc7f39c5b5b859240ec00c3c56769601b2a1a2c61d63e3e956a3adbe1035b6e4ebc063e8884ddec742bd4d213d66ce6cf913993210
6
+ metadata.gz: 90c54ecccedabee21afe2b05668e3b73c0d53b357509dc2dca7a02c568d781e4975f26851acc76b97009e5086e8e06b013d61849b7d8596d0c323e5a3852536b
7
+ data.tar.gz: 7350b6e5582700f9963a12cf796d07eaa6e8f0756f3dfe34adae977af275ca8d1baa5b5cdb0c3eaee5fc5c88cfe5d282d6eb814a14ff483861e0c9102d6e7a08
@@ -24,6 +24,14 @@
24
24
  </div>
25
25
  {% endif %}
26
26
  </div>
27
+ <template id=clipboard_template>
28
+ <div>
29
+ <clipboard-copy aria-label="Copy" class="btn btn-invisible m-2 p-0 tooltipped-no-delay d-flex flex-justify-center flex-items-center" tabindex="0" role="button">
30
+ {% octicon copy height:16 %}
31
+ {% octicon check height:16 class:"color-fg-success d-none" %}
32
+ </clipboard-copy>
33
+ </div>
34
+ </template>
27
35
  <script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js" integrity="sha256-lZaRhKri35AyJSypXXs4o6OPFTbTmUoltBbDCbdzegg=" crossorigin="anonymous"></script>
28
36
  <script>anchors.add();</script>
29
37
  <script type="module" src="{{ "/assets/js/primer-clipboard-copy.js?v=" | append: site.github.build_revision | relative_url }}"></script>
@@ -0,0 +1,19 @@
1
+ :root {
2
+ --base-size-4: 0.25rem;
3
+ --base-size-8: 0.5rem;
4
+ --base-size-12: 0.75rem;
5
+ --base-size-16: 1rem;
6
+ --base-size-20: 1.25rem;
7
+ --base-size-24: 1.5rem;
8
+ --base-size-28: 1.75rem;
9
+ --base-size-32: 2rem;
10
+ --base-size-36: 2.25rem;
11
+ --base-size-40: 2.5rem;
12
+ --base-size-44: 2.75rem;
13
+ --base-size-48: 3rem;
14
+ --base-size-64: 4rem;
15
+ --base-size-80: 5rem;
16
+ --base-size-96: 6rem;
17
+ --base-size-112: 7rem;
18
+ --base-size-128: 8rem;
19
+ }
@@ -0,0 +1,6 @@
1
+ :root {
2
+ --base-text-weight-light: 300;
3
+ --base-text-weight-normal: 400;
4
+ --base-text-weight-medium: 500;
5
+ --base-text-weight-semibold: 600;
6
+ }
@@ -0,0 +1,5 @@
1
+ :root {
2
+ --motion-skeletonLoader-shimmer-duration-scale: 1s;
3
+ --motion-spinner-duration-rotation: 1s;
4
+ --motion-loading-delay-default: 1s;
5
+ }
@@ -0,0 +1,14 @@
1
+ :root {
2
+ --boxShadow-thin: inset 0 0 0 max(1px, 0.0625rem);
3
+ --boxShadow-thick: inset 0 0 0 max(2px, 0.125rem);
4
+ --boxShadow-thicker: inset 0 0 0 max(4px, 0.25rem);
5
+ --borderWidth-thin: max(1px, 0.0625rem);
6
+ --borderWidth-thick: max(2px, 0.125rem);
7
+ --borderWidth-thicker: max(4px, 0.25rem);
8
+ --borderRadius-small: 0.1875rem;
9
+ --borderRadius-medium: 0.375rem;
10
+ --borderRadius-large: 0.75rem;
11
+ --borderRadius-full: 624.9375rem;
12
+ --outline-focus-offset: -0.125rem;
13
+ --outline-focus-width: 0.125rem;
14
+ }
@@ -0,0 +1,8 @@
1
+ :root {
2
+ --breakpoint-xsmall: 20rem;
3
+ --breakpoint-small: 34rem;
4
+ --breakpoint-medium: 48rem;
5
+ --breakpoint-large: 63.25rem;
6
+ --breakpoint-xlarge: 80rem;
7
+ --breakpoint-xxlarge: 87.5rem;
8
+ }
@@ -0,0 +1,7 @@
1
+ @media (pointer: coarse) {
2
+ :root {
3
+ --control-minTarget-auto: 2.75rem;
4
+ --controlStack-small-gap-auto: 1rem;
5
+ --controlStack-medium-gap-auto: 0.75rem;
6
+ }
7
+ }
@@ -0,0 +1,7 @@
1
+ @media (pointer: fine) {
2
+ :root {
3
+ --control-minTarget-auto: 1rem;
4
+ --controlStack-small-gap-auto: 0.5rem;
5
+ --controlStack-medium-gap-auto: 0.5rem;
6
+ }
7
+ }
@@ -0,0 +1,74 @@
1
+ :root {
2
+ --control-minTarget-fine: 1rem;
3
+ --control-minTarget-coarse: 2.75rem;
4
+ --control-xsmall-size: 1.5rem;
5
+ --control-xsmall-lineBoxHeight: 1.25rem;
6
+ --control-xsmall-paddingBlock: 0.125rem;
7
+ --control-xsmall-paddingInline-condensed: 0.25rem;
8
+ --control-xsmall-paddingInline-normal: 0.5rem;
9
+ --control-xsmall-paddingInline-spacious: 0.75rem;
10
+ --control-xsmall-gap: 0.25rem;
11
+ --control-small-size: 1.75rem;
12
+ --control-small-lineBoxHeight: 1.25rem;
13
+ --control-small-paddingBlock: 0.25rem;
14
+ --control-small-paddingInline-condensed: 0.5rem;
15
+ --control-small-paddingInline-normal: 0.75rem;
16
+ --control-small-gap: 0.25rem;
17
+ --control-medium-size: 2rem;
18
+ --control-medium-lineBoxHeight: 1.25rem;
19
+ --control-medium-paddingBlock: 0.375rem;
20
+ --control-medium-paddingInline-condensed: 0.5rem;
21
+ --control-medium-paddingInline-normal: 0.75rem;
22
+ --control-medium-paddingInline-spacious: 1rem;
23
+ --control-medium-gap: 0.5rem;
24
+ --control-large-size: 2.5rem;
25
+ --control-large-lineBoxHeight: 1.25rem;
26
+ --control-large-paddingBlock: 0.625rem;
27
+ --control-large-paddingInline-normal: 0.75rem;
28
+ --control-large-paddingInline-spacious: 1rem;
29
+ --control-large-gap: 0.5rem;
30
+ --control-xlarge-size: 3rem;
31
+ --control-xlarge-lineBoxHeight: 1.25rem;
32
+ --control-xlarge-paddingBlock: 0.875rem;
33
+ --control-xlarge-paddingInline-normal: 0.75rem;
34
+ --control-xlarge-paddingInline-spacious: 1rem;
35
+ --control-xlarge-gap: 0.5rem;
36
+ --controlStack-small-gap-condensed: 0.5rem;
37
+ --controlStack-small-gap-spacious: 1rem;
38
+ --controlStack-medium-gap-condensed: 0.5rem;
39
+ --controlStack-medium-gap-spacious: 0.75rem;
40
+ --controlStack-large-gap-auto: 0.5rem;
41
+ --controlStack-large-gap-condensed: 0.5rem;
42
+ --controlStack-large-gap-spacious: 0.75rem;
43
+ --space-xxsmall: 0.125rem;
44
+ --space-xsmall: 0.25rem;
45
+ --space-small: 0.375rem;
46
+ --space-medium: 0.5rem;
47
+ --space-large: 0.75rem;
48
+ --space-xlarge: 1rem;
49
+ --spinner-strokeWidth-default: 0.125rem;
50
+ --spinner-size-small: 1rem;
51
+ --spinner-size-medium: 2rem;
52
+ --spinner-size-large: 4rem;
53
+ --stack-padding-condensed: 0.5rem;
54
+ --stack-padding-normal: 1rem;
55
+ --stack-padding-spacious: 1.5rem;
56
+ --stack-gap-condensed: 0.5rem;
57
+ --stack-gap-normal: 1rem;
58
+ --stack-gap-spacious: 1.5rem;
59
+ --overlay-width-xsmall: 12rem;
60
+ --overlay-width-small: 20rem;
61
+ --overlay-width-medium: 30rem;
62
+ --overlay-width-large: 40rem;
63
+ --overlay-width-xlarge: 60rem;
64
+ --overlay-height-small: 16rem;
65
+ --overlay-height-medium: 20rem;
66
+ --overlay-height-large: 27rem;
67
+ --overlay-height-xlarge: 37.5rem;
68
+ --overlay-padding-normal: 1rem;
69
+ --overlay-padding-condensed: 0.5rem;
70
+ --overlay-paddingBlock-condensed: 0.25rem;
71
+ --overlay-paddingBlock-normal: 0.75rem;
72
+ --overlay-borderRadius: 0.375rem;
73
+ --overlay-offset: 0.25rem;
74
+ }
@@ -0,0 +1,6 @@
1
+ @custom-media --viewportRange-narrow (max-width: calc(48rem - 0.02px));
2
+ @custom-media --viewportRange-narrowLandscape (max-width: calc(63.25rem - 0.02px) and (max-height: calc(34rem - 0.02px)) and (orientation: landscape));
3
+ @custom-media --viewportRange-regular (min-width: 48rem);
4
+ @custom-media --viewportRange-wide (min-width: 87.5rem);
5
+ @custom-media --viewportRange-portrait (orientation: portrait);
6
+ @custom-media --viewportRange-landscape (orientation: landscape);