jekyll-v4-theme-primer 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (297) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.md +22 -0
  3. data/README.md +116 -0
  4. data/_includes/.gitkeep +1 -0
  5. data/_includes/head-custom-google-analytics.html +10 -0
  6. data/_includes/head-custom.html +9 -0
  7. data/_includes/theme.html +11 -0
  8. data/_layouts/default.html +29 -0
  9. data/_layouts/home.html +4 -0
  10. data/_layouts/page.html +4 -0
  11. data/_layouts/post.html +4 -0
  12. data/_sass/@primer/css/actionlist/action-list-item-divider.scss +48 -0
  13. data/_sass/@primer/css/actionlist/action-list-item.scss +593 -0
  14. data/_sass/@primer/css/actionlist/action-list-tree.scss +118 -0
  15. data/_sass/@primer/css/actionlist/action-list-variables.scss +8 -0
  16. data/_sass/@primer/css/actionlist/action-list.scss +67 -0
  17. data/_sass/@primer/css/actionlist/index.scss +6 -0
  18. data/_sass/@primer/css/alerts/flash.scss +1 -0
  19. data/_sass/@primer/css/alerts/index.scss +3 -0
  20. data/_sass/@primer/css/autocomplete/autocomplete.scss +1 -0
  21. data/_sass/@primer/css/autocomplete/index.scss +4 -0
  22. data/_sass/@primer/css/autocomplete/suggester.scss +92 -0
  23. data/_sass/@primer/css/avatars/avatar-parent-child.scss +17 -0
  24. data/_sass/@primer/css/avatars/avatar-stack.scss +1 -0
  25. data/_sass/@primer/css/avatars/avatar.scss +1 -0
  26. data/_sass/@primer/css/avatars/circle-badge.scss +55 -0
  27. data/_sass/@primer/css/avatars/index.scss +7 -0
  28. data/_sass/@primer/css/base/base.scss +160 -0
  29. data/_sass/@primer/css/base/index.scss +6 -0
  30. data/_sass/@primer/css/base/kbd.scss +19 -0
  31. data/_sass/@primer/css/base/normalize.scss +381 -0
  32. data/_sass/@primer/css/base/octicons.scss +6 -0
  33. data/_sass/@primer/css/base/typography-base.scss +89 -0
  34. data/_sass/@primer/css/blankslate/blankslate.scss +1 -0
  35. data/_sass/@primer/css/blankslate/index.scss +2 -0
  36. data/_sass/@primer/css/box/box-overlay.scss +42 -0
  37. data/_sass/@primer/css/box/box.scss +1 -0
  38. data/_sass/@primer/css/box/index.scss +3 -0
  39. data/_sass/@primer/css/branch-name/branch-name.scss +31 -0
  40. data/_sass/@primer/css/branch-name/index.scss +3 -0
  41. data/_sass/@primer/css/breadcrumb/breadcrumb.scss +1 -0
  42. data/_sass/@primer/css/breadcrumb/index.scss +3 -0
  43. data/_sass/@primer/css/buttons/button-group.scss +92 -0
  44. data/_sass/@primer/css/buttons/button.scss +340 -0
  45. data/_sass/@primer/css/buttons/index.scss +4 -0
  46. data/_sass/@primer/css/buttons/misc.scss +231 -0
  47. data/_sass/@primer/css/color-modes/index.scss +12 -0
  48. data/_sass/@primer/css/color-modes/native.scss +22 -0
  49. data/_sass/@primer/css/color-modes/themes/dark.scss +6 -0
  50. data/_sass/@primer/css/color-modes/themes/dark_colorblind.scss +6 -0
  51. data/_sass/@primer/css/color-modes/themes/dark_dimmed.scss +6 -0
  52. data/_sass/@primer/css/color-modes/themes/dark_high_contrast.scss +6 -0
  53. data/_sass/@primer/css/color-modes/themes/dark_tritanopia.scss +6 -0
  54. data/_sass/@primer/css/color-modes/themes/light.scss +6 -0
  55. data/_sass/@primer/css/color-modes/themes/light_colorblind.scss +6 -0
  56. data/_sass/@primer/css/color-modes/themes/light_high_contrast.scss +6 -0
  57. data/_sass/@primer/css/color-modes/themes/light_tritanopia.scss +6 -0
  58. data/_sass/@primer/css/core/index.scss +30 -0
  59. data/_sass/@primer/css/dropdown/dropdown.scss +1 -0
  60. data/_sass/@primer/css/dropdown/index.scss +2 -0
  61. data/_sass/@primer/css/forms/FormControl.scss +1 -0
  62. data/_sass/@primer/css/forms/form-control.scss +267 -0
  63. data/_sass/@primer/css/forms/form-group.scss +287 -0
  64. data/_sass/@primer/css/forms/form-select.scss +46 -0
  65. data/_sass/@primer/css/forms/form-validation.scss +369 -0
  66. data/_sass/@primer/css/forms/index.scss +9 -0
  67. data/_sass/@primer/css/forms/input-group.scss +71 -0
  68. data/_sass/@primer/css/forms/radio-group.scss +62 -0
  69. data/_sass/@primer/css/header/header.scss +47 -0
  70. data/_sass/@primer/css/header/index.scss +2 -0
  71. data/_sass/@primer/css/index.scss +19 -0
  72. data/_sass/@primer/css/labels/counters.scss +1 -0
  73. data/_sass/@primer/css/labels/diffstat.scss +37 -0
  74. data/_sass/@primer/css/labels/index.scss +7 -0
  75. data/_sass/@primer/css/labels/issue-labels.scss +23 -0
  76. data/_sass/@primer/css/labels/labels.scss +1 -0
  77. data/_sass/@primer/css/labels/mixins.scss +37 -0
  78. data/_sass/@primer/css/labels/states.scss +1 -0
  79. data/_sass/@primer/css/layout/app-frame.scss +156 -0
  80. data/_sass/@primer/css/layout/container.scss +30 -0
  81. data/_sass/@primer/css/layout/grid-offset.scss +20 -0
  82. data/_sass/@primer/css/layout/grid.scss +65 -0
  83. data/_sass/@primer/css/layout/index.scss +8 -0
  84. data/_sass/@primer/css/layout/layout.scss +1 -0
  85. data/_sass/@primer/css/layout/page-layout.scss +413 -0
  86. data/_sass/@primer/css/layout/stack.scss +220 -0
  87. data/_sass/@primer/css/links/index.scss +3 -0
  88. data/_sass/@primer/css/links/link.scss +60 -0
  89. data/_sass/@primer/css/loaders/index.scss +2 -0
  90. data/_sass/@primer/css/loaders/loaders.scss +19 -0
  91. data/_sass/@primer/css/markdown/blob-csv.scss +29 -0
  92. data/_sass/@primer/css/markdown/code.scss +77 -0
  93. data/_sass/@primer/css/markdown/footnotes.scss +55 -0
  94. data/_sass/@primer/css/markdown/headings.scss +96 -0
  95. data/_sass/@primer/css/markdown/images.scss +130 -0
  96. data/_sass/@primer/css/markdown/index.scss +9 -0
  97. data/_sass/@primer/css/markdown/lists.scss +98 -0
  98. data/_sass/@primer/css/markdown/markdown-body.scss +96 -0
  99. data/_sass/@primer/css/markdown/tables.scss +36 -0
  100. data/_sass/@primer/css/marketing/buttons/button.scss +164 -0
  101. data/_sass/@primer/css/marketing/buttons/index.scss +3 -0
  102. data/_sass/@primer/css/marketing/index.scss +15 -0
  103. data/_sass/@primer/css/marketing/links/index.scss +3 -0
  104. data/_sass/@primer/css/marketing/links/link.scss +50 -0
  105. data/_sass/@primer/css/marketing/support/index.scss +2 -0
  106. data/_sass/@primer/css/marketing/support/variables.scss +127 -0
  107. data/_sass/@primer/css/marketing/type/index.scss +3 -0
  108. data/_sass/@primer/css/marketing/type/typography.scss +118 -0
  109. data/_sass/@primer/css/marketing/utilities/animations.scss +51 -0
  110. data/_sass/@primer/css/marketing/utilities/borders.scss +4 -0
  111. data/_sass/@primer/css/marketing/utilities/filters.scss +3 -0
  112. data/_sass/@primer/css/marketing/utilities/index.scss +6 -0
  113. data/_sass/@primer/css/marketing/utilities/layout.scss +51 -0
  114. data/_sass/@primer/css/navigation/filter-list.scss +82 -0
  115. data/_sass/@primer/css/navigation/index.scss +8 -0
  116. data/_sass/@primer/css/navigation/menu.scss +1 -0
  117. data/_sass/@primer/css/navigation/sidenav.scss +99 -0
  118. data/_sass/@primer/css/navigation/subnav.scss +146 -0
  119. data/_sass/@primer/css/navigation/tabnav.scss +1 -0
  120. data/_sass/@primer/css/navigation/underline-nav.scss +1 -0
  121. data/_sass/@primer/css/overlay/index.scss +2 -0
  122. data/_sass/@primer/css/overlay/overlay.scss +1 -0
  123. data/_sass/@primer/css/pagination/index.scss +3 -0
  124. data/_sass/@primer/css/pagination/pagination.scss +156 -0
  125. data/_sass/@primer/css/popover/index.scss +3 -0
  126. data/_sass/@primer/css/popover/popover.scss +1 -0
  127. data/_sass/@primer/css/primitives/index.scss +10 -0
  128. data/_sass/@primer/css/primitives/temp-typography-tokens.scss +22 -0
  129. data/_sass/@primer/css/product/index.scss +28 -0
  130. data/_sass/@primer/css/progress/index.scss +3 -0
  131. data/_sass/@primer/css/progress/progress.scss +1 -0
  132. data/_sass/@primer/css/select-menu/index.scss +3 -0
  133. data/_sass/@primer/css/select-menu/select-menu.scss +463 -0
  134. data/_sass/@primer/css/subhead/index.scss +3 -0
  135. data/_sass/@primer/css/subhead/subhead.scss +1 -0
  136. data/_sass/@primer/css/support/index.scss +10 -0
  137. data/_sass/@primer/css/support/mixins/color-modes.scss +109 -0
  138. data/_sass/@primer/css/support/mixins/layout.scss +58 -0
  139. data/_sass/@primer/css/support/mixins/misc.scss +73 -0
  140. data/_sass/@primer/css/support/mixins/typography.scss +91 -0
  141. data/_sass/@primer/css/support/variables/layout.scss +230 -0
  142. data/_sass/@primer/css/support/variables/misc.scss +18 -0
  143. data/_sass/@primer/css/support/variables/typography.scss +43 -0
  144. data/_sass/@primer/css/table-object/index.scss +1 -0
  145. data/_sass/@primer/css/table-object/table-object.scss +23 -0
  146. data/_sass/@primer/css/timeline/index.scss +2 -0
  147. data/_sass/@primer/css/timeline/timeline-item.scss +1 -0
  148. data/_sass/@primer/css/toasts/index.scss +2 -0
  149. data/_sass/@primer/css/toasts/toasts.scss +127 -0
  150. data/_sass/@primer/css/toggle-switch/index.scss +2 -0
  151. data/_sass/@primer/css/toggle-switch/toggle-switch.scss +1 -0
  152. data/_sass/@primer/css/tooltips/index.scss +2 -0
  153. data/_sass/@primer/css/tooltips/tooltips.scss +281 -0
  154. data/_sass/@primer/css/truncate/index.scss +2 -0
  155. data/_sass/@primer/css/truncate/truncate.scss +2 -0
  156. data/_sass/@primer/css/utilities/animations.scss +196 -0
  157. data/_sass/@primer/css/utilities/borders.scss +74 -0
  158. data/_sass/@primer/css/utilities/box-shadow.scss +25 -0
  159. data/_sass/@primer/css/utilities/colors.scss +95 -0
  160. data/_sass/@primer/css/utilities/details.scss +105 -0
  161. data/_sass/@primer/css/utilities/flexbox.scss +52 -0
  162. data/_sass/@primer/css/utilities/index.scss +14 -0
  163. data/_sass/@primer/css/utilities/layout.scss +96 -0
  164. data/_sass/@primer/css/utilities/margin.scss +71 -0
  165. data/_sass/@primer/css/utilities/padding.scss +56 -0
  166. data/_sass/@primer/css/utilities/typography.scss +332 -0
  167. data/_sass/@primer/css/utilities/visibility-display.scss +123 -0
  168. data/_sass/@primer/primitives/dist/scss/colors/_dark.scss +443 -0
  169. data/_sass/@primer/primitives/dist/scss/colors/_dark_colorblind.scss +443 -0
  170. data/_sass/@primer/primitives/dist/scss/colors/_dark_dimmed.scss +443 -0
  171. data/_sass/@primer/primitives/dist/scss/colors/_dark_high_contrast.scss +443 -0
  172. data/_sass/@primer/primitives/dist/scss/colors/_dark_tritanopia.scss +443 -0
  173. data/_sass/@primer/primitives/dist/scss/colors/_light.scss +443 -0
  174. data/_sass/@primer/primitives/dist/scss/colors/_light_colorblind.scss +443 -0
  175. data/_sass/@primer/primitives/dist/scss/colors/_light_high_contrast.scss +443 -0
  176. data/_sass/@primer/primitives/dist/scss/colors/_light_tritanopia.scss +443 -0
  177. data/_sass/@primer/primitives/dist/scss/spacing/_normal.scss +11 -0
  178. data/_sass/@primer/primitives/dist/scss/typography/_normal.scss +15 -0
  179. data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/base/size/size.scss +21 -0
  180. data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/base/typography/typography.scss +8 -0
  181. data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/size/border.scss +14 -0
  182. data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +10 -0
  183. data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +7 -0
  184. data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +7 -0
  185. data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/size/size.scss +51 -0
  186. data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/size/viewport.scss +10 -0
  187. data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/typography/typography.scss +44 -0
  188. data/_sass/@primer/view-components/LICENSE.txt +21 -0
  189. data/_sass/@primer/view-components/README.md +17 -0
  190. data/_sass/@primer/view-components/app/assets/javascripts/primer_view_components.js +2 -0
  191. data/_sass/@primer/view-components/app/assets/javascripts/primer_view_components.js.map +1 -0
  192. data/_sass/@primer/view-components/app/assets/styles/primer_view_components.css +3 -0
  193. data/_sass/@primer/view-components/app/assets/styles/primer_view_components.css.map +1 -0
  194. data/_sass/@primer/view-components/app/components/primer/alpha/action_list.css +1 -0
  195. data/_sass/@primer/view-components/app/components/primer/alpha/action_list.css.json +1 -0
  196. data/_sass/@primer/view-components/app/components/primer/alpha/auto_complete.css +1 -0
  197. data/_sass/@primer/view-components/app/components/primer/alpha/auto_complete.css.json +1 -0
  198. data/_sass/@primer/view-components/app/components/primer/alpha/banner.css +1 -0
  199. data/_sass/@primer/view-components/app/components/primer/alpha/banner.css.json +1 -0
  200. data/_sass/@primer/view-components/app/components/primer/alpha/button_marketing.css +1 -0
  201. data/_sass/@primer/view-components/app/components/primer/alpha/button_marketing.css.json +1 -0
  202. data/_sass/@primer/view-components/app/components/primer/alpha/dialog.css +1 -0
  203. data/_sass/@primer/view-components/app/components/primer/alpha/dialog.css.json +1 -0
  204. data/_sass/@primer/view-components/app/components/primer/alpha/dropdown/menu.d.ts +1 -0
  205. data/_sass/@primer/view-components/app/components/primer/alpha/dropdown/menu.js +1 -0
  206. data/_sass/@primer/view-components/app/components/primer/alpha/dropdown.css +1 -0
  207. data/_sass/@primer/view-components/app/components/primer/alpha/dropdown.css.json +1 -0
  208. data/_sass/@primer/view-components/app/components/primer/alpha/dropdown.d.ts +1 -0
  209. data/_sass/@primer/view-components/app/components/primer/alpha/dropdown.js +1 -0
  210. data/_sass/@primer/view-components/app/components/primer/alpha/image_crop.d.ts +1 -0
  211. data/_sass/@primer/view-components/app/components/primer/alpha/image_crop.js +1 -0
  212. data/_sass/@primer/view-components/app/components/primer/alpha/layout.css +1 -0
  213. data/_sass/@primer/view-components/app/components/primer/alpha/layout.css.json +1 -0
  214. data/_sass/@primer/view-components/app/components/primer/alpha/menu.css +1 -0
  215. data/_sass/@primer/view-components/app/components/primer/alpha/menu.css.json +1 -0
  216. data/_sass/@primer/view-components/app/components/primer/alpha/modal_dialog.d.ts +18 -0
  217. data/_sass/@primer/view-components/app/components/primer/alpha/modal_dialog.js +150 -0
  218. data/_sass/@primer/view-components/app/components/primer/alpha/nav_list.d.ts +25 -0
  219. data/_sass/@primer/view-components/app/components/primer/alpha/nav_list.js +130 -0
  220. data/_sass/@primer/view-components/app/components/primer/alpha/segmented_control.css +1 -0
  221. data/_sass/@primer/view-components/app/components/primer/alpha/segmented_control.css.json +1 -0
  222. data/_sass/@primer/view-components/app/components/primer/alpha/segmented_control.d.ts +12 -0
  223. data/_sass/@primer/view-components/app/components/primer/alpha/segmented_control.js +47 -0
  224. data/_sass/@primer/view-components/app/components/primer/alpha/tab_nav.css +1 -0
  225. data/_sass/@primer/view-components/app/components/primer/alpha/tab_nav.css.json +1 -0
  226. data/_sass/@primer/view-components/app/components/primer/alpha/text_field.css +3 -0
  227. data/_sass/@primer/view-components/app/components/primer/alpha/text_field.css.json +1 -0
  228. data/_sass/@primer/view-components/app/components/primer/alpha/toggle_switch.css +1 -0
  229. data/_sass/@primer/view-components/app/components/primer/alpha/toggle_switch.css.json +1 -0
  230. data/_sass/@primer/view-components/app/components/primer/alpha/toggle_switch.d.ts +29 -0
  231. data/_sass/@primer/view-components/app/components/primer/alpha/toggle_switch.js +144 -0
  232. data/_sass/@primer/view-components/app/components/primer/alpha/tool_tip.d.ts +25 -0
  233. data/_sass/@primer/view-components/app/components/primer/alpha/tool_tip.js +389 -0
  234. data/_sass/@primer/view-components/app/components/primer/alpha/underline_nav.css +1 -0
  235. data/_sass/@primer/view-components/app/components/primer/alpha/underline_nav.css.json +1 -0
  236. data/_sass/@primer/view-components/app/components/primer/alpha/x_banner.d.ts +11 -0
  237. data/_sass/@primer/view-components/app/components/primer/alpha/x_banner.js +35 -0
  238. data/_sass/@primer/view-components/app/components/primer/beta/auto_complete/auto_complete.d.ts +1 -0
  239. data/_sass/@primer/view-components/app/components/primer/beta/auto_complete/auto_complete.js +1 -0
  240. data/_sass/@primer/view-components/app/components/primer/beta/avatar.css +1 -0
  241. data/_sass/@primer/view-components/app/components/primer/beta/avatar.css.json +1 -0
  242. data/_sass/@primer/view-components/app/components/primer/beta/avatar_stack.css +1 -0
  243. data/_sass/@primer/view-components/app/components/primer/beta/avatar_stack.css.json +1 -0
  244. data/_sass/@primer/view-components/app/components/primer/beta/blankslate.css +1 -0
  245. data/_sass/@primer/view-components/app/components/primer/beta/blankslate.css.json +1 -0
  246. data/_sass/@primer/view-components/app/components/primer/beta/border_box.css +1 -0
  247. data/_sass/@primer/view-components/app/components/primer/beta/border_box.css.json +1 -0
  248. data/_sass/@primer/view-components/app/components/primer/beta/breadcrumbs.css +1 -0
  249. data/_sass/@primer/view-components/app/components/primer/beta/breadcrumbs.css.json +1 -0
  250. data/_sass/@primer/view-components/app/components/primer/beta/button.css +1 -0
  251. data/_sass/@primer/view-components/app/components/primer/beta/button.css.json +1 -0
  252. data/_sass/@primer/view-components/app/components/primer/beta/clipboard_copy.d.ts +1 -0
  253. data/_sass/@primer/view-components/app/components/primer/beta/clipboard_copy.js +43 -0
  254. data/_sass/@primer/view-components/app/components/primer/beta/counter.css +1 -0
  255. data/_sass/@primer/view-components/app/components/primer/beta/counter.css.json +1 -0
  256. data/_sass/@primer/view-components/app/components/primer/beta/flash.css +1 -0
  257. data/_sass/@primer/view-components/app/components/primer/beta/flash.css.json +1 -0
  258. data/_sass/@primer/view-components/app/components/primer/beta/label.css +1 -0
  259. data/_sass/@primer/view-components/app/components/primer/beta/label.css.json +1 -0
  260. data/_sass/@primer/view-components/app/components/primer/beta/link.css +1 -0
  261. data/_sass/@primer/view-components/app/components/primer/beta/link.css.json +1 -0
  262. data/_sass/@primer/view-components/app/components/primer/beta/popover.css +1 -0
  263. data/_sass/@primer/view-components/app/components/primer/beta/popover.css.json +1 -0
  264. data/_sass/@primer/view-components/app/components/primer/beta/progress_bar.css +1 -0
  265. data/_sass/@primer/view-components/app/components/primer/beta/progress_bar.css.json +1 -0
  266. data/_sass/@primer/view-components/app/components/primer/beta/truncate.css +1 -0
  267. data/_sass/@primer/view-components/app/components/primer/beta/truncate.css.json +1 -0
  268. data/_sass/@primer/view-components/app/components/primer/local_time.d.ts +1 -0
  269. data/_sass/@primer/view-components/app/components/primer/local_time.js +1 -0
  270. data/_sass/@primer/view-components/app/components/primer/primer.d.ts +15 -0
  271. data/_sass/@primer/view-components/app/components/primer/primer.js +15 -0
  272. data/_sass/@primer/view-components/app/components/primer/state_component.css +1 -0
  273. data/_sass/@primer/view-components/app/components/primer/state_component.css.json +1 -0
  274. data/_sass/@primer/view-components/app/components/primer/subhead_component.css +1 -0
  275. data/_sass/@primer/view-components/app/components/primer/subhead_component.css.json +1 -0
  276. data/_sass/@primer/view-components/app/components/primer/tab_container_component.d.ts +1 -0
  277. data/_sass/@primer/view-components/app/components/primer/tab_container_component.js +1 -0
  278. data/_sass/@primer/view-components/app/components/primer/time_ago_component.d.ts +1 -0
  279. data/_sass/@primer/view-components/app/components/primer/time_ago_component.js +1 -0
  280. data/_sass/@primer/view-components/app/components/primer/timeline_item_component.css +1 -0
  281. data/_sass/@primer/view-components/app/components/primer/timeline_item_component.css.json +1 -0
  282. data/_sass/@primer/view-components/app/components/primer/truncate.css +1 -0
  283. data/_sass/@primer/view-components/app/components/primer/truncate.css.json +1 -0
  284. data/_sass/@primer/view-components/lib/primer/forms/primer_multi_input.d.ts +10 -0
  285. data/_sass/@primer/view-components/lib/primer/forms/primer_multi_input.js +45 -0
  286. data/_sass/@primer/view-components/lib/primer/forms/primer_text_field.d.ts +1 -0
  287. data/_sass/@primer/view-components/lib/primer/forms/primer_text_field.js +62 -0
  288. data/_sass/@primer/view-components/package.json +95 -0
  289. data/_sass/@primer/view-components/static/arguments.json +2586 -0
  290. data/_sass/@primer/view-components/static/audited_at.json +100 -0
  291. data/_sass/@primer/view-components/static/constants.json +1157 -0
  292. data/_sass/@primer/view-components/static/statuses.json +100 -0
  293. data/_sass/jekyll-theme-primer.scss +8 -0
  294. data/_sass/primer.scss +4 -0
  295. data/_sass/rouge.scss +213 -0
  296. data/assets/css/style.scss +4 -0
  297. metadata +444 -0
@@ -0,0 +1,98 @@
1
+ // Base styles
2
+ // stylelint-disable selector-no-qualifying-type
3
+ // stylelint-disable selector-max-type
4
+ .markdown-body {
5
+ // Lists, Blockquotes & Such
6
+ ul,
7
+ ol {
8
+ // stylelint-disable-next-line primer/spacing
9
+ padding-left: 2em;
10
+
11
+ &.no-list {
12
+ padding: 0;
13
+ list-style-type: none;
14
+ }
15
+ }
16
+
17
+ ol[type='a'] {
18
+ list-style-type: lower-alpha;
19
+ }
20
+
21
+ ol[type='A'] {
22
+ list-style-type: upper-alpha;
23
+ }
24
+
25
+ ol[type='i'] {
26
+ list-style-type: lower-roman;
27
+ }
28
+
29
+ ol[type='I'] {
30
+ list-style-type: upper-roman;
31
+ }
32
+
33
+ ol[type='1'] {
34
+ list-style-type: decimal;
35
+ }
36
+
37
+ // Reset <ol> style to decimal (HTML default) specifically for AsciiDoc
38
+ // <div><ol> construction (doesn't affect MarkDown)
39
+ div > ol:not([type]) {
40
+ list-style-type: decimal;
41
+ }
42
+
43
+ // Did someone complain about list spacing? Encourage them
44
+ // to create the spacing with their markdown formatting.
45
+ // List behavior should be controled by the markup, not the css.
46
+ //
47
+ // For lists with padding between items, use blank
48
+ // lines between items. This will generate paragraphs with
49
+ // padding to space things out.
50
+ //
51
+ // - item
52
+ //
53
+ // - item
54
+ //
55
+ // - item
56
+ //
57
+ // For list without padding, don't use blank lines.
58
+ //
59
+ // - item
60
+ // - item
61
+ // - item
62
+ //
63
+ // Modifying the css to emulate these behaviors merely brakes
64
+ // one case in the process of solving another. Don't change
65
+ // this unless it's really really a bug.
66
+ ul ul,
67
+ ul ol,
68
+ ol ol,
69
+ ol ul {
70
+ margin-top: 0;
71
+ margin-bottom: 0;
72
+ }
73
+
74
+ li > p {
75
+ margin-top: $spacer-3;
76
+ }
77
+
78
+ li + li {
79
+ margin-top: $em-spacer-3;
80
+ }
81
+
82
+ dl {
83
+ padding: 0;
84
+
85
+ dt {
86
+ padding: 0;
87
+ margin-top: $spacer-3;
88
+ font-size: 1em;
89
+ font-style: italic;
90
+ font-weight: $font-weight-bold;
91
+ }
92
+
93
+ dd {
94
+ padding: 0 $spacer-3;
95
+ margin-bottom: $spacer-3;
96
+ }
97
+ }
98
+ }
@@ -0,0 +1,96 @@
1
+ // All of our block level items should have the same margin
2
+ // stylelint-disable selector-max-type
3
+
4
+ // This is styling for generic markdownized text. Anything you put in a
5
+ // container with .markdown-body on it should render generally well. It also
6
+ // includes some GitHub Flavored Markdown specific styling (like @mentions)
7
+ .markdown-body {
8
+ font-family: $body-font;
9
+ font-size: $h4-size;
10
+ line-height: $body-line-height;
11
+ word-wrap: break-word;
12
+
13
+ // Clearfix on the markdown body
14
+ &::before {
15
+ display: table;
16
+ content: '';
17
+ }
18
+
19
+ &::after {
20
+ display: table;
21
+ clear: both;
22
+ content: '';
23
+ }
24
+
25
+ > *:first-child {
26
+ margin-top: 0 !important;
27
+ }
28
+
29
+ > *:last-child {
30
+ margin-bottom: 0 !important;
31
+ }
32
+
33
+ // Anchors like <a name="examples">. These sometimes end up wrapped around
34
+ // text when users mistakenly forget to close the tag or use self-closing tag
35
+ // syntax. We don't want them to appear like links.
36
+ // FIXME: a:not(:link):not(:visited) would be a little clearer here (and
37
+ // possibly faster to match), but it breaks styling of <a href> elements due
38
+ // to https://bugs.webkit.org/show_bug.cgi?id=142737.
39
+ a:not([href]) {
40
+ color: inherit;
41
+ text-decoration: none;
42
+ }
43
+
44
+ // Link Colors
45
+ .absent {
46
+ color: var(--color-danger-fg);
47
+ }
48
+
49
+ .anchor {
50
+ float: left;
51
+ padding-right: $spacer-1;
52
+ // stylelint-disable-next-line primer/spacing
53
+ margin-left: -20px;
54
+ line-height: $lh-condensed-ultra;
55
+
56
+ &:focus {
57
+ outline: none;
58
+ }
59
+ }
60
+
61
+ p,
62
+ blockquote,
63
+ ul,
64
+ ol,
65
+ dl,
66
+ table,
67
+ pre,
68
+ details {
69
+ margin-top: 0;
70
+ margin-bottom: $spacer-3;
71
+ }
72
+
73
+ hr {
74
+ height: $em-spacer-3;
75
+ padding: 0;
76
+ margin: $spacer-4 0;
77
+ background-color: var(--color-border-default);
78
+ border: 0;
79
+ }
80
+
81
+ blockquote {
82
+ // stylelint-disable-next-line primer/spacing
83
+ padding: 0 1em;
84
+ color: var(--color-fg-muted);
85
+ // stylelint-disable-next-line primer/borders
86
+ border-left: 0.25em $border-style var(--color-border-default);
87
+
88
+ > :first-child {
89
+ margin-top: 0;
90
+ }
91
+
92
+ > :last-child {
93
+ margin-bottom: 0;
94
+ }
95
+ }
96
+ }
@@ -0,0 +1,36 @@
1
+ // Needs refactoring
2
+ // stylelint-disable selector-max-type
3
+ .markdown-body {
4
+ // Tables
5
+ table {
6
+ display: block;
7
+ width: 100%; // keep for backwards compatibility
8
+ width: max-content;
9
+ max-width: 100%;
10
+ overflow: auto;
11
+
12
+ th {
13
+ font-weight: $font-weight-bold;
14
+ }
15
+
16
+ th,
17
+ td {
18
+ // stylelint-disable-next-line primer/spacing
19
+ padding: 6px 13px;
20
+ border: $border-width $border-style var(--color-border-default);
21
+ }
22
+
23
+ tr {
24
+ background-color: var(--color-canvas-default);
25
+ border-top: $border-width $border-style var(--color-border-muted);
26
+
27
+ &:nth-child(2n) {
28
+ background-color: var(--color-canvas-subtle);
29
+ }
30
+ }
31
+
32
+ img {
33
+ background-color: transparent;
34
+ }
35
+ }
36
+ }
@@ -0,0 +1,164 @@
1
+ .btn-mktg {
2
+ position: relative;
3
+ z-index: 1;
4
+ display: inline-block;
5
+ // stylelint-disable-next-line primer/spacing
6
+ padding: 0.9rem 1.5rem 1.1rem;
7
+ // stylelint-disable-next-line primer/typography
8
+ font-size: 1rem;
9
+ font-weight: $font-weight-bold;
10
+ line-height: 1;
11
+ color: var(--color-canvas-default);
12
+ text-align: center;
13
+ white-space: nowrap;
14
+ vertical-align: middle;
15
+ user-select: none;
16
+ background:
17
+ linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%),
18
+ var(--color-mktg-btn-bg) !important;
19
+ border: 0;
20
+ // stylelint-disable-next-line primer/borders
21
+ border-radius: 0.375rem;
22
+ transition: box-shadow 0.2s, outline 0.2s ease;
23
+ appearance: none !important;
24
+
25
+ &::before {
26
+ position: absolute;
27
+ top: 0;
28
+ right: 0;
29
+ bottom: 0;
30
+ left: 0;
31
+ z-index: -1;
32
+ content: '';
33
+ // stylelint-disable-next-line primer/colors
34
+ background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%) !important;
35
+ border-radius: inherit;
36
+ opacity: 0;
37
+ opacity: 0;
38
+ transition: opacity 0.2s;
39
+ background-blend-mode: normal;
40
+ }
41
+
42
+ &:hover {
43
+ text-decoration: none;
44
+ box-shadow: var(--color-mktg-btn-shadow-hover) !important;
45
+ }
46
+
47
+ &:hover,
48
+ &:focus,
49
+ &:focus-visible,
50
+ &.focus {
51
+ &::before {
52
+ opacity: 1;
53
+ }
54
+ }
55
+
56
+ // fallback :focus state
57
+ &:focus {
58
+ @include focusOutline(2px, var(--color-accent-fg));
59
+
60
+ // remove fallback :focus if :focus-visible is supported
61
+ &:not(:focus-visible) {
62
+ outline: solid 1px transparent;
63
+ box-shadow: none;
64
+ }
65
+ }
66
+
67
+ // default focus state
68
+ &:focus-visible {
69
+ @include focusOutline(2px, var(--color-accent-fg));
70
+ }
71
+
72
+ &:active {
73
+ &::before {
74
+ opacity: 0.5 !important;
75
+ }
76
+ }
77
+
78
+ &.disabled,
79
+ &[disabled] {
80
+ pointer-events: none;
81
+ cursor: default;
82
+ opacity: 0.5;
83
+ }
84
+ }
85
+
86
+ .btn-muted-mktg {
87
+ color: var(--color-fg-default) !important;
88
+ background: none !important;
89
+ box-shadow: var(--color-mktg-btn-shadow-outline);
90
+
91
+ &::before {
92
+ display: none;
93
+ }
94
+
95
+ &:hover {
96
+ box-shadow: var(--color-mktg-btn-shadow-hover-muted) !important;
97
+ }
98
+
99
+ &:active {
100
+ // stylelint-disable-next-line primer/box-shadow
101
+ box-shadow: var(--color-fg-default) 0 0 0 3px inset !important;
102
+ }
103
+
104
+ &:disabled {
105
+ // stylelint-disable-next-line primer/box-shadow
106
+ box-shadow: var(--color-fg-subtle) 0 0 0 1px inset !important;
107
+ }
108
+ }
109
+
110
+ .btn-subtle-mktg {
111
+ color: var(--color-fg-default) !important;
112
+ background: none !important;
113
+ box-shadow: none !important;
114
+
115
+ &::before {
116
+ background: none !important;
117
+ }
118
+
119
+ &:hover {
120
+ box-shadow: var(--color-mktg-btn-shadow-hover-muted) !important;
121
+ }
122
+ }
123
+
124
+ .btn-signup-mktg {
125
+ // stylelint-disable-next-line primer/colors
126
+ color: #fff;
127
+ // stylelint-disable-next-line primer/colors
128
+ background: linear-gradient(180deg, rgba(52, 183, 89, 0.15) 0%, rgba(46, 164, 79, 0) 100%), rgb(46, 164, 79) !important;
129
+
130
+ &::before {
131
+ // stylelint-disable-next-line primer/colors
132
+ background: linear-gradient(180deg, rgba(52, 183, 89, 0.15) 0%, rgba(46, 164, 79, 0) 100%) !important;
133
+ }
134
+
135
+ // fallback :focus state
136
+ &:focus {
137
+ @include focusOutline(2px, var(--color-accent-fg));
138
+
139
+ // remove fallback :focus if :focus-visible is supported
140
+ &:not(:focus-visible) {
141
+ outline: solid 1px transparent;
142
+ box-shadow: none;
143
+ }
144
+ }
145
+
146
+ // default focus state
147
+ &:focus-visible {
148
+ @include focusOutline(2px, var(--color-accent-fg));
149
+ }
150
+ }
151
+
152
+ // Size modifiers
153
+
154
+ .btn-small-mktg {
155
+ // stylelint-disable-next-line primer/spacing
156
+ padding: 0.625rem 1rem 0.8125rem;
157
+ }
158
+
159
+ .btn-large-mktg {
160
+ // stylelint-disable-next-line primer/spacing
161
+ padding: 16px 30px 20px !important;
162
+ // stylelint-disable-next-line primer/typography
163
+ font-size: 1.25rem;
164
+ }
@@ -0,0 +1,3 @@
1
+ // support files
2
+ @import '../support/index.scss';
3
+ @import './button.scss';
@@ -0,0 +1,15 @@
1
+ /*!
2
+ * @primer/css/marketing
3
+ * http://primer.style/css
4
+ *
5
+ * Released under MIT license. Copyright (c) 2019 GitHub Inc.
6
+ */
7
+
8
+ // Global requirements
9
+ @import './support/index.scss';
10
+
11
+ // marketing specific css modules
12
+ @import './type/index.scss';
13
+ @import './buttons/index.scss';
14
+ @import './links/index.scss';
15
+ @import './utilities/index.scss';
@@ -0,0 +1,3 @@
1
+ // support files
2
+ @import '../support/index.scss';
3
+ @import './link.scss';
@@ -0,0 +1,50 @@
1
+ .link-mktg {
2
+ position: relative;
3
+ display: inline-block;
4
+
5
+ &:hover {
6
+ text-decoration: none;
7
+ }
8
+
9
+ &::after,
10
+ &.link-emphasis-mktg::before {
11
+ position: absolute;
12
+ bottom: -0.15em;
13
+ left: 0;
14
+ width: calc(100% - 1em);
15
+ height: 2px;
16
+ pointer-events: none;
17
+ content: '';
18
+ // stylelint-disable-next-line primer/colors
19
+ background-color: currentColor;
20
+ transform: scaleX(0);
21
+ transform-origin: 0 0;
22
+
23
+ @media screen and (prefers-reduced-motion: no-preference) {
24
+ transition: transform 0.3s ease;
25
+ }
26
+ }
27
+
28
+ &.link-emphasis-mktg::before {
29
+ opacity: 0.2;
30
+ transform: scaleX(1);
31
+ }
32
+
33
+ &:hover,
34
+ &:active {
35
+ &::after {
36
+ transform: scaleX(1);
37
+ }
38
+ }
39
+
40
+ &:focus,
41
+ &:focus-visible {
42
+ outline-offset: 2px;
43
+ }
44
+
45
+ &.arrow-target-mktg {
46
+ .arrow-symbol-mktg {
47
+ margin-left: -$em-spacer-3;
48
+ }
49
+ }
50
+ }
@@ -0,0 +1,2 @@
1
+ @import '../../support/index.scss';
2
+ @import './variables.scss';
@@ -0,0 +1,127 @@
1
+ // Typography
2
+ $marketing-font-path: '/fonts/' !default;
3
+
4
+ $font-mktg: $body-font !default;
5
+ $font-weight-medium: 450 !default;
6
+ $font-weight-extrabold: 800 !default;
7
+
8
+ $mktg-font-feature-settings: 'ss02' on, 'ss01' on !default;
9
+ $mktg-header-spacing-large: -0.03em !default;
10
+ $mktg-header-spacing-default: -0.01em !default;
11
+ $mktg-header-spacing-threshold: 48px !default;
12
+ $mktg-header-weight-large: $font-weight-extrabold !default;
13
+ $mktg-header-weight-default: $font-weight-bold !default;
14
+ $mktg-header-weight-threshold: 24px !default;
15
+
16
+ // Header size steps
17
+ $mktg-h-size-0: 96px !default;
18
+ $mktg-h-size-1: 72px !default;
19
+ $mktg-h-size-2: 64px !default;
20
+ $mktg-h-size-3: 56px !default;
21
+ $mktg-h-size-4: 48px !default;
22
+ $mktg-h-size-5: 40px !default;
23
+ $mktg-h-size-6: 32px !default;
24
+ $mktg-h-size-7: 28px !default;
25
+ $mktg-h-size-8: 24px !default;
26
+ $mktg-h-size-9: 20px !default;
27
+ $mktg-h-size-10: 16px !default;
28
+
29
+ // Header Line-height steps
30
+ $mktg-h-lh-0: 100px !default;
31
+ $mktg-h-lh-1: 76px !default;
32
+ $mktg-h-lh-2: 68px !default;
33
+ $mktg-h-lh-3: 60px !default;
34
+ $mktg-h-lh-4: 52px !default;
35
+ $mktg-h-lh-5: 44px !default;
36
+ $mktg-h-lh-6: 36px !default;
37
+ $mktg-h-lh-7: 32px !default;
38
+ $mktg-h-lh-8: 28px !default;
39
+ $mktg-h-lh-9: 24px !default;
40
+ $mktg-h-lh-10: 20px !default;
41
+
42
+ $mktg-header-pairings: (
43
+ 0: (size: $mktg-h-size-0, lh: $mktg-h-lh-0),
44
+ 1: (size: $mktg-h-size-1, lh: $mktg-h-lh-1),
45
+ 2: (size: $mktg-h-size-2, lh: $mktg-h-lh-2),
46
+ 3: (size: $mktg-h-size-3, lh: $mktg-h-lh-3),
47
+ 4: (size: $mktg-h-size-4, lh: $mktg-h-lh-4),
48
+ 5: (size: $mktg-h-size-5, lh: $mktg-h-lh-5),
49
+ 6: (size: $mktg-h-size-6, lh: $mktg-h-lh-6),
50
+ 7: (size: $mktg-h-size-7, lh: $mktg-h-lh-7),
51
+ 8: (size: $mktg-h-size-8, lh: $mktg-h-lh-8),
52
+ 9: (size: $mktg-h-size-9, lh: $mktg-h-lh-9),
53
+ 10: (size: $mktg-h-size-10, lh: $mktg-h-lh-10)
54
+ ) !default;
55
+
56
+ // Responsive headers, where first number is mobile (default), second is tablet/md, and third is desktop/lg
57
+ $mktg-headers: (
58
+ 0: [4, 1, 0],
59
+ 1: [5, 3, 1],
60
+ 2: [6, 4, 2],
61
+ 3: [7, 5, 4],
62
+ 4: [8, 7, 6],
63
+ 5: [9, 8, 8],
64
+ 6: [10, 9, 9]
65
+ ) !default;
66
+
67
+ // Body content
68
+ $mktg-body-spacing-threshold: 28px !default;
69
+ $mktg-body-weight-threshold: 24px !default;
70
+ $mktg-body-spacing-large: -0.01em !default;
71
+
72
+ // Body size steps
73
+ $mktg-body-size-0: 48px !default;
74
+ $mktg-body-size-1: 40px !default;
75
+ $mktg-body-size-2: 32px !default;
76
+ $mktg-body-size-3: 28px !default;
77
+ $mktg-body-size-4: 24px !default;
78
+ $mktg-body-size-5: 20px !default;
79
+ $mktg-body-size-6: 16px !default;
80
+ $mktg-body-size-7: 14px !default;
81
+ $mktg-body-size-8: 12px !default;
82
+
83
+ // Body line-height steps
84
+ $mktg-body-lh-0: 64px !default;
85
+ $mktg-body-lh-1: 52px !default;
86
+ $mktg-body-lh-2: 44px !default;
87
+ $mktg-body-lh-3: 40px !default;
88
+ $mktg-body-lh-4: 32px !default;
89
+ $mktg-body-lh-5: 28px !default;
90
+ $mktg-body-lh-6: 24px !default;
91
+ $mktg-body-lh-7: 20px !default;
92
+ $mktg-body-lh-8: 20px !default;
93
+
94
+ $mktg-body-pairings: (
95
+ 0: (size: $mktg-body-size-0, lh: $mktg-body-lh-0),
96
+ 1: (size: $mktg-body-size-1, lh: $mktg-body-lh-1),
97
+ 2: (size: $mktg-body-size-2, lh: $mktg-body-lh-2),
98
+ 3: (size: $mktg-body-size-3, lh: $mktg-body-lh-3),
99
+ 4: (size: $mktg-body-size-4, lh: $mktg-body-lh-4),
100
+ 5: (size: $mktg-body-size-5, lh: $mktg-body-lh-5),
101
+ 6: (size: $mktg-body-size-6, lh: $mktg-body-lh-6),
102
+ 7: (size: $mktg-body-size-7, lh: $mktg-body-lh-7),
103
+ 8: (size: $mktg-body-size-8, lh: $mktg-body-lh-8)
104
+ ) !default;
105
+
106
+ // Responsive body content, where first number is mobile (default), second is tablet/md, and third is desktop/lg
107
+ $mktg-body-spacing-large: -0.01em !default;
108
+
109
+ $mktg-bodies: (
110
+ 0: [3, 1, 0],
111
+ 1: [4, 3, 2],
112
+ 2: [5, 5, 4],
113
+ 3: [6, 5, 5],
114
+ 4: [6, 6, 6],
115
+ 5: [7, 7, 7],
116
+ 6: [8, 8, 8]
117
+ ) !default;
118
+
119
+ // Animations
120
+ $transition-time: 0.4s !default;
121
+ $ease-mktg: cubic-bezier(0.16, 1, 0.3, 1) !default;
122
+
123
+ $marketing-position-variants: (
124
+ '': '',
125
+ md: '-md',
126
+ lg: '-lg',
127
+ ) !default;
@@ -0,0 +1,3 @@
1
+ // support files
2
+ @import '../support/index.scss';
3
+ @import './typography.scss';