jekyll-v4-theme-primer 0.14.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (22) hide show
  1. checksums.yaml +4 -4
  2. data/_sass/@primer/primitives/dist/css/base/size/size.scss +19 -0
  3. data/_sass/@primer/primitives/dist/css/base/typography/typography.scss +6 -0
  4. data/_sass/@primer/primitives/dist/css/functional/motion/motion.scss +5 -0
  5. data/_sass/@primer/primitives/dist/css/functional/size/border.scss +14 -0
  6. data/_sass/@primer/primitives/dist/css/functional/size/breakpoints.scss +8 -0
  7. data/_sass/@primer/primitives/dist/css/functional/size/size-coarse.scss +7 -0
  8. data/_sass/@primer/primitives/dist/css/functional/size/size-fine.scss +7 -0
  9. data/_sass/@primer/primitives/dist/css/functional/size/size.scss +74 -0
  10. data/_sass/@primer/primitives/dist/css/functional/size/viewport.scss +6 -0
  11. data/_sass/@primer/primitives/dist/css/functional/themes/dark-colorblind.scss +1016 -0
  12. data/_sass/@primer/primitives/dist/css/functional/themes/dark-dimmed.scss +1016 -0
  13. data/_sass/@primer/primitives/dist/css/functional/themes/dark-high-contrast.scss +1016 -0
  14. data/_sass/@primer/primitives/dist/css/functional/themes/dark-tritanopia.scss +1016 -0
  15. data/_sass/@primer/primitives/dist/css/functional/themes/dark.scss +1016 -0
  16. data/_sass/@primer/primitives/dist/css/functional/themes/light-colorblind.scss +1016 -0
  17. data/_sass/@primer/primitives/dist/css/functional/themes/light-high-contrast.scss +1016 -0
  18. data/_sass/@primer/primitives/dist/css/functional/themes/light-tritanopia.scss +1016 -0
  19. data/_sass/@primer/primitives/dist/css/functional/themes/light.scss +1016 -0
  20. data/_sass/@primer/primitives/dist/css/functional/typography/typography.scss +47 -0
  21. data/_sass/jekyll-v4-theme-primer.scss +10 -0
  22. metadata +21 -2
@@ -0,0 +1,47 @@
1
+ :root {
2
+ --text-codeInline-size: 0.9285em;
3
+ --text-codeBlock-lineHeight: 1.5385;
4
+ --text-codeBlock-size: 0.8125rem;
5
+ --text-caption-lineHeight: 1.3333;
6
+ --text-caption-size: 0.75rem;
7
+ --text-body-lineHeight-small: 1.6666;
8
+ --text-body-lineHeight-medium: 1.4285;
9
+ --text-body-lineHeight-large: 1.5;
10
+ --text-body-size-small: 0.75rem;
11
+ --text-body-size-medium: 0.875rem;
12
+ --text-body-size-large: 1rem;
13
+ --text-subtitle-lineHeight: 1.6;
14
+ --text-subtitle-size: 1.25rem;
15
+ --text-title-lineHeight-small: 1.5;
16
+ --text-title-lineHeight-medium: 1.6;
17
+ --text-title-lineHeight-large: 1.5;
18
+ --text-title-size-small: 1rem;
19
+ --text-title-size-medium: 1.25rem;
20
+ --text-title-size-large: 2rem;
21
+ --text-display-lineHeight: 1.4;
22
+ --text-display-size: 2.5rem;
23
+ --text-display-lineBoxHeight: 3.5rem;
24
+ --fontStack-monospace: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
25
+ --fontStack-sansSerif: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
26
+ --fontStack-system: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
27
+ --text-codeInline-weight: 400;
28
+ --text-codeBlock-weight: 400;
29
+ --text-caption-weight: 400;
30
+ --text-body-weight: 400;
31
+ --text-subtitle-weight: 400;
32
+ --text-title-weight-small: 600;
33
+ --text-title-weight-medium: 600;
34
+ --text-title-weight-large: 600;
35
+ --text-display-weight: 500;
36
+ --text-codeInline-shorthand: var(--text-codeInline-weight) var(--text-codeInline-size) var(--fontStack-monospace);
37
+ --text-codeBlock-shorthand: var(--text-codeBlock-weight) var(--text-codeBlock-size)/var(--text-codeBlock-lineHeight) var(--fontStack-monospace);
38
+ --text-caption-shorthand: var(--text-caption-weight) var(--text-caption-size)/var(--text-caption-lineHeight) var(--fontStack-sansSerif);
39
+ --text-body-shorthand-small: var(--text-body-weight) var(--text-body-size-small)/var(--text-body-lineHeight-small) var(--fontStack-sansSerif);
40
+ --text-body-shorthand-medium: var(--text-body-weight) var(--text-body-size-medium)/var(--text-body-lineHeight-medium) var(--fontStack-sansSerif);
41
+ --text-body-shorthand-large: var(--text-body-weight) var(--text-body-size-large)/var(--text-body-lineHeight-large) var(--fontStack-sansSerif);
42
+ --text-subtitle-shorthand: var(--text-subtitle-weight) var(--text-subtitle-size)/var(--text-subtitle-lineHeight) var(--fontStack-sansSerif);
43
+ --text-title-shorthand-small: var(--text-title-weight-small) var(--text-title-size-small)/var(--text-title-lineHeight-small) var(--fontStack-sansSerif);
44
+ --text-title-shorthand-medium: var(--text-title-weight-medium) var(--text-title-size-medium)/var(--text-title-lineHeight-medium) var(--fontStack-sansSerif);
45
+ --text-title-shorthand-large: var(--text-title-weight-large) var(--text-title-size-large)/var(--text-title-lineHeight-large) var(--fontStack-sansSerif);
46
+ --text-display-shorthand: var(--text-display-weight) var(--text-display-size)/var(--text-display-lineHeight) var(--fontStack-sansSerif);
47
+ }
@@ -1,4 +1,14 @@
1
1
 
2
+ @import "@primer/primitives/dist/css/base/size/size.scss";
3
+ @import "@primer/primitives/dist/css/base/typography/typography.scss";
4
+ @import "@primer/primitives/dist/css/functional/size/border.scss";
5
+ @import "@primer/primitives/dist/css/functional/size/breakpoints.scss";
6
+ @import "@primer/primitives/dist/css/functional/size/size-coarse.scss";
7
+ @import "@primer/primitives/dist/css/functional/size/size-fine.scss";
8
+ @import "@primer/primitives/dist/css/functional/size/size.scss";
9
+ @import "@primer/primitives/dist/css/functional/size/viewport.scss";
10
+ @import "@primer/primitives/dist/css/functional/typography/typography.scss";
11
+
2
12
  @import "@primer/css/color-modes/index.scss";
3
13
  @import "@primer/css/support/index.scss";
4
14
  @import "@primer/css/base/index.scss";
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-v4-theme-primer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub, Inc.
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-03-22 00:00:00.000000000 Z
12
+ date: 2024-03-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll
@@ -295,6 +295,25 @@ files:
295
295
  - _sass/@primer/css/utilities/padding.scss
296
296
  - _sass/@primer/css/utilities/typography.scss
297
297
  - _sass/@primer/css/utilities/visibility-display.scss
298
+ - _sass/@primer/primitives/dist/css/base/size/size.scss
299
+ - _sass/@primer/primitives/dist/css/base/typography/typography.scss
300
+ - _sass/@primer/primitives/dist/css/functional/motion/motion.scss
301
+ - _sass/@primer/primitives/dist/css/functional/size/border.scss
302
+ - _sass/@primer/primitives/dist/css/functional/size/breakpoints.scss
303
+ - _sass/@primer/primitives/dist/css/functional/size/size-coarse.scss
304
+ - _sass/@primer/primitives/dist/css/functional/size/size-fine.scss
305
+ - _sass/@primer/primitives/dist/css/functional/size/size.scss
306
+ - _sass/@primer/primitives/dist/css/functional/size/viewport.scss
307
+ - _sass/@primer/primitives/dist/css/functional/themes/dark-colorblind.scss
308
+ - _sass/@primer/primitives/dist/css/functional/themes/dark-dimmed.scss
309
+ - _sass/@primer/primitives/dist/css/functional/themes/dark-high-contrast.scss
310
+ - _sass/@primer/primitives/dist/css/functional/themes/dark-tritanopia.scss
311
+ - _sass/@primer/primitives/dist/css/functional/themes/dark.scss
312
+ - _sass/@primer/primitives/dist/css/functional/themes/light-colorblind.scss
313
+ - _sass/@primer/primitives/dist/css/functional/themes/light-high-contrast.scss
314
+ - _sass/@primer/primitives/dist/css/functional/themes/light-tritanopia.scss
315
+ - _sass/@primer/primitives/dist/css/functional/themes/light.scss
316
+ - _sass/@primer/primitives/dist/css/functional/typography/typography.scss
298
317
  - _sass/@primer/primitives/dist/scss/base/size/size.scss
299
318
  - _sass/@primer/primitives/dist/scss/base/typography/typography.scss
300
319
  - _sass/@primer/primitives/dist/scss/colors/_dark.scss