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,95 @@
1
+ // stylelint-disable block-opening-brace-space-before
2
+
3
+ // Foreground
4
+
5
+ .color-fg-default { color: var(--color-fg-default) !important; }
6
+ .color-fg-muted { color: var(--color-fg-muted) !important; }
7
+ .color-fg-subtle { color: var(--color-fg-subtle) !important; }
8
+
9
+ .color-fg-accent { color: var(--color-accent-fg) !important; }
10
+ .color-fg-success { color: var(--color-success-fg) !important; }
11
+ .color-fg-attention { color: var(--color-attention-fg) !important; }
12
+ .color-fg-severe { color: var(--color-severe-fg) !important; }
13
+ .color-fg-danger { color: var(--color-danger-fg) !important; }
14
+ .color-fg-open { color: var(--color-open-fg) !important; }
15
+ .color-fg-closed { color: var(--color-closed-fg) !important; }
16
+ .color-fg-done { color: var(--color-done-fg) !important; }
17
+ .color-fg-sponsors { color: var(--color-sponsors-fg) !important; }
18
+
19
+ .color-fg-on-emphasis { color: var(--color-fg-on-emphasis) !important; }
20
+
21
+ // Background
22
+
23
+ .color-bg-default { background-color: var(--color-canvas-default) !important; }
24
+ .color-bg-overlay { background-color: var(--color-canvas-overlay) !important; }
25
+ .color-bg-inset { background-color: var(--color-canvas-inset) !important; }
26
+ .color-bg-subtle { background-color: var(--color-canvas-subtle) !important; }
27
+ .color-bg-emphasis { background-color: var(--color-neutral-emphasis-plus) !important; }
28
+
29
+ .color-bg-accent { background-color: var(--color-accent-subtle) !important; }
30
+ .color-bg-accent-emphasis { background-color: var(--color-accent-emphasis) !important; }
31
+
32
+ .color-bg-success { background-color: var(--color-success-subtle) !important; }
33
+ .color-bg-success-emphasis { background-color: var(--color-success-emphasis) !important; }
34
+
35
+ .color-bg-attention { background-color: var(--color-attention-subtle) !important; }
36
+ .color-bg-attention-emphasis { background-color: var(--color-attention-emphasis) !important; }
37
+
38
+ .color-bg-severe { background-color: var(--color-severe-subtle) !important; }
39
+ .color-bg-severe-emphasis { background-color: var(--color-severe-emphasis) !important; }
40
+
41
+ .color-bg-danger { background-color: var(--color-danger-subtle) !important; }
42
+ .color-bg-danger-emphasis { background-color: var(--color-danger-emphasis) !important; }
43
+
44
+ .color-bg-open { background-color: var(--color-open-subtle) !important; }
45
+ .color-bg-open-emphasis { background-color: var(--color-open-emphasis) !important; }
46
+
47
+ .color-bg-closed { background-color: var(--color-closed-subtle) !important; }
48
+ .color-bg-closed-emphasis { background-color: var(--color-closed-emphasis) !important; }
49
+
50
+ .color-bg-done { background-color: var(--color-done-subtle) !important; }
51
+ .color-bg-done-emphasis { background-color: var(--color-done-emphasis) !important; }
52
+
53
+ .color-bg-sponsors { background-color: var(--color-sponsors-subtle) !important; }
54
+ .color-bg-sponsors-emphasis { background-color: var(--color-sponsors-emphasis) !important; }
55
+
56
+ .color-bg-transparent { background-color: transparent !important; }
57
+
58
+ // Border
59
+
60
+ .color-border-default { border-color: var(--color-border-default) !important; }
61
+ .color-border-muted { border-color: var(--color-border-muted) !important; }
62
+ .color-border-subtle { border-color: var(--color-border-subtle) !important; }
63
+
64
+ .color-border-accent { border-color: var(--color-accent-muted) !important; }
65
+ .color-border-accent-emphasis { border-color: var(--color-accent-emphasis) !important; }
66
+
67
+ .color-border-success { border-color: var(--color-success-muted) !important; }
68
+ .color-border-success-emphasis { border-color: var(--color-success-emphasis) !important; }
69
+
70
+ .color-border-attention { border-color: var(--color-attention-muted) !important; }
71
+ .color-border-attention-emphasis { border-color: var(--color-attention-emphasis) !important; }
72
+
73
+ .color-border-severe { border-color: var(--color-severe-muted) !important; }
74
+ .color-border-severe-emphasis { border-color: var(--color-severe-emphasis) !important; }
75
+
76
+ .color-border-danger { border-color: var(--color-danger-muted) !important; }
77
+ .color-border-danger-emphasis { border-color: var(--color-danger-emphasis) !important; }
78
+
79
+ .color-border-open { border-color: var(--color-open-muted) !important; }
80
+ .color-border-open-emphasis { border-color: var(--color-open-emphasis) !important; }
81
+
82
+ .color-border-closed { border-color: var(--color-closed-muted) !important; }
83
+ .color-border-closed-emphasis { border-color: var(--color-closed-emphasis) !important; }
84
+
85
+ .color-border-done { border-color: var(--color-done-muted) !important; }
86
+ .color-border-done-emphasis { border-color: var(--color-done-emphasis) !important; }
87
+
88
+ .color-border-sponsors { border-color: var(--color-sponsors-muted) !important; }
89
+ .color-border-sponsors-emphasis { border-color: var(--color-sponsors-emphasis) !important; }
90
+
91
+ // Misc
92
+
93
+ .color-fg-inherit {
94
+ color: inherit !important;
95
+ }
@@ -0,0 +1,105 @@
1
+ // stylelint-disable selector-max-type, selector-max-specificity, max-nesting-depth, selector-no-qualifying-type
2
+
3
+ .details-overlay[open] > summary::before {
4
+ position: fixed;
5
+ top: 0;
6
+ right: 0;
7
+ bottom: 0;
8
+ left: 0;
9
+ z-index: 80;
10
+ display: block;
11
+ cursor: default;
12
+ content: ' ';
13
+ background: transparent;
14
+ }
15
+
16
+ .details-overlay-dark[open] > summary::before {
17
+ z-index: 111;
18
+ background: var(--color-primer-canvas-backdrop);
19
+ }
20
+
21
+ .details-reset {
22
+ // Remove marker added by the display: list-item browser default
23
+ > summary {
24
+ list-style: none;
25
+ transition: 80ms cubic-bezier(0.33, 1, 0.68, 1);
26
+ transition-property: color, background-color, box-shadow, border-color;
27
+ // fallback :focus state
28
+ &:focus {
29
+ @include focusOutline;
30
+
31
+ // remove fallback :focus if :focus-visible is supported
32
+ &:not(:focus-visible) {
33
+ outline: solid 1px transparent;
34
+ }
35
+ }
36
+
37
+ // default focus state
38
+ &:focus-visible {
39
+ @include focusOutline;
40
+ }
41
+
42
+ &.btn-primary {
43
+ // fallback :focus state
44
+ &:focus {
45
+ @include focusOutlineOnEmphasis;
46
+
47
+ // remove fallback :focus if :focus-visible is supported
48
+ &:not(:focus-visible) {
49
+ outline: solid 1px transparent;
50
+ box-shadow: none;
51
+ }
52
+ }
53
+
54
+ // default focus state
55
+ &:focus-visible {
56
+ @include focusOutlineOnEmphasis;
57
+ }
58
+ }
59
+ }
60
+ // Remove marker added by details polyfill
61
+ > summary::before {
62
+ display: none;
63
+ }
64
+ // Remove marker added by Chrome
65
+ > summary::-webkit-details-marker {
66
+ display: none;
67
+ }
68
+ }
69
+
70
+ .details-overlay > summary {
71
+ transition: 80ms cubic-bezier(0.33, 1, 0.68, 1);
72
+ transition-property: color, background-color, box-shadow, border-color;
73
+ // fallback :focus state
74
+ &:focus {
75
+ @include focusOutline;
76
+
77
+ // remove fallback :focus if :focus-visible is supported
78
+ &:not(:focus-visible) {
79
+ outline: solid 1px transparent;
80
+ }
81
+ }
82
+
83
+ // default focus state
84
+ &:focus-visible {
85
+ @include focusOutline;
86
+ }
87
+
88
+ &.btn-primary {
89
+ // fallback :focus state
90
+ &:focus {
91
+ @include focusOutlineOnEmphasis;
92
+
93
+ // remove fallback :focus if :focus-visible is supported
94
+ &:not(:focus-visible) {
95
+ outline: solid 1px transparent;
96
+ box-shadow: none;
97
+ }
98
+ }
99
+
100
+ // default focus state
101
+ &:focus-visible {
102
+ @include focusOutlineOnEmphasis;
103
+ }
104
+ }
105
+ }
@@ -0,0 +1,52 @@
1
+ // Flex utility classes
2
+ // stylelint-disable block-opening-brace-space-before
3
+ @each $breakpoint, $variant in $responsive-variants {
4
+ @include breakpoint($breakpoint) {
5
+ // Flexbox classes
6
+ // Container
7
+ .flex#{$variant}-row { flex-direction: row !important; }
8
+ .flex#{$variant}-row-reverse { flex-direction: row-reverse !important; }
9
+ .flex#{$variant}-column { flex-direction: column !important; }
10
+ .flex#{$variant}-column-reverse { flex-direction: column-reverse !important; }
11
+
12
+ .flex#{$variant}-wrap { flex-wrap: wrap !important; }
13
+ .flex#{$variant}-nowrap { flex-wrap: nowrap !important; }
14
+ .flex#{$variant}-wrap-reverse { flex-wrap: wrap-reverse !important; }
15
+
16
+ .flex#{$variant}-justify-start { justify-content: flex-start !important; }
17
+ .flex#{$variant}-justify-end { justify-content: flex-end !important; }
18
+ .flex#{$variant}-justify-center { justify-content: center !important; }
19
+ .flex#{$variant}-justify-between { justify-content: space-between !important; }
20
+ .flex#{$variant}-justify-around { justify-content: space-around !important; }
21
+
22
+ .flex#{$variant}-items-start { align-items: flex-start !important; }
23
+ .flex#{$variant}-items-end { align-items: flex-end !important; }
24
+ .flex#{$variant}-items-center { align-items: center !important; }
25
+ .flex#{$variant}-items-baseline { align-items: baseline !important; }
26
+ .flex#{$variant}-items-stretch { align-items: stretch !important; }
27
+
28
+ .flex#{$variant}-content-start { align-content: flex-start !important; }
29
+ .flex#{$variant}-content-end { align-content: flex-end !important; }
30
+ .flex#{$variant}-content-center { align-content: center !important; }
31
+ .flex#{$variant}-content-between { align-content: space-between !important; }
32
+ .flex#{$variant}-content-around { align-content: space-around !important; }
33
+ .flex#{$variant}-content-stretch { align-content: stretch !important; }
34
+
35
+ // Item
36
+ .flex#{$variant}-1 { flex: 1 !important; }
37
+ .flex#{$variant}-auto { flex: auto !important; }
38
+ .flex#{$variant}-grow-0 { flex-grow: 0 !important; }
39
+ .flex#{$variant}-shrink-0 { flex-shrink: 0 !important; }
40
+
41
+ .flex#{$variant}-self-auto { align-self: auto !important; }
42
+ .flex#{$variant}-self-start { align-self: flex-start !important; }
43
+ .flex#{$variant}-self-end { align-self: flex-end !important; }
44
+ .flex#{$variant}-self-center { align-self: center !important; }
45
+ .flex#{$variant}-self-baseline { align-self: baseline !important; }
46
+ .flex#{$variant}-self-stretch { align-self: stretch !important; }
47
+
48
+ .flex#{$variant}-order-1 { order: 1 !important; }
49
+ .flex#{$variant}-order-2 { order: 2 !important; }
50
+ .flex#{$variant}-order-none { order: inherit !important; }
51
+ }
52
+ }
@@ -0,0 +1,14 @@
1
+ @import '../support/index.scss';
2
+ // utilities
3
+ @import './animations.scss';
4
+ @import './borders.scss';
5
+ @import './box-shadow.scss';
6
+ @import './colors.scss';
7
+ @import './details.scss';
8
+ @import './flexbox.scss';
9
+ @import './layout.scss';
10
+ @import './margin.scss';
11
+ @import './padding.scss';
12
+ @import './typography.scss';
13
+ // Visibility and display should always come last in the imports so that they override other utilities with !important
14
+ @import './visibility-display.scss';
@@ -0,0 +1,96 @@
1
+ // Layout
2
+ // stylelint-disable block-opening-brace-space-before, comment-empty-line-before
3
+
4
+ /* Position */
5
+ @each $breakpoint, $variant in $responsive-variants {
6
+ @include breakpoint($breakpoint) {
7
+ @each $position in $responsive-positions {
8
+ .position#{$variant}-#{$position} {
9
+ position: $position !important;
10
+ }
11
+ }
12
+ }
13
+ }
14
+
15
+ /* Final position */
16
+ @each $breakpoint, $variant in $responsive-variants {
17
+ @include breakpoint($breakpoint) {
18
+ .top#{$variant}-0 { top: 0 !important; }
19
+ .right#{$variant}-0 { right: 0 !important; }
20
+ .bottom#{$variant}-0 { bottom: 0 !important; }
21
+ .left#{$variant}-0 { left: 0 !important; }
22
+ .top#{$variant}-auto { top: auto !important; }
23
+ .right#{$variant}-auto { right: auto !important; }
24
+ .bottom#{$variant}-auto { bottom: auto !important; }
25
+ .left#{$variant}-auto { left: auto !important; }
26
+ }
27
+ }
28
+
29
+ /* Vertical align middle */
30
+ .v-align-middle { vertical-align: middle !important; }
31
+ /* Vertical align top */
32
+ .v-align-top { vertical-align: top !important; }
33
+ /* Vertical align bottom */
34
+ .v-align-bottom { vertical-align: bottom !important; }
35
+ /* Vertical align to the top of the text */
36
+ .v-align-text-top { vertical-align: text-top !important; }
37
+ /* Vertical align to the bottom of the text */
38
+ .v-align-text-bottom { vertical-align: text-bottom !important; }
39
+ /* Vertical align to the parent's baseline */
40
+ .v-align-baseline { vertical-align: baseline !important; }
41
+
42
+ // Overflow utilities
43
+ @each $breakpoint, $variant in $responsive-variants {
44
+ @include breakpoint($breakpoint) {
45
+ @each $overflow in (visible, hidden, auto, scroll) {
46
+ .overflow#{$variant}-#{$overflow} { overflow: $overflow !important; }
47
+ .overflow#{$variant}-x-#{$overflow} { overflow-x: $overflow !important; }
48
+ .overflow#{$variant}-y-#{$overflow} { overflow-y: $overflow !important; }
49
+ }
50
+ }
51
+ }
52
+
53
+ // Clear floats
54
+ /* Clear floats around the element */
55
+ .clearfix {
56
+ @include clearfix;
57
+ }
58
+
59
+ // Floats
60
+ @each $breakpoint, $variant in $responsive-variants {
61
+ @include breakpoint($breakpoint) {
62
+ /* Float to the left */
63
+ .float#{$variant}-left { float: left !important; }
64
+ /* Float to the right */
65
+ .float#{$variant}-right { float: right !important; }
66
+ /* No float */
67
+ .float#{$variant}-none { float: none !important; }
68
+ }
69
+ }
70
+
71
+ // Width and height utilities, helpful in combination
72
+ // with display-table utilities and images
73
+ /* Max width 100% */
74
+ .width-fit { max-width: 100% !important; }
75
+ /* Set the width to 100% */
76
+ .width-full { width: 100% !important; }
77
+ /* Max height 100% */
78
+ .height-fit { max-height: 100% !important; }
79
+ /* Set the height to 100% */
80
+ .height-full { height: 100% !important; }
81
+
82
+ /* Remove min-width from element */
83
+ .min-width-0 { min-width: 0 !important; }
84
+
85
+ @each $breakpoint, $variant in $responsive-variants {
86
+ @include breakpoint($breakpoint) {
87
+
88
+ // Auto variants
89
+ .width#{$variant}-auto { width: auto !important; }
90
+
91
+ /* Set the direction to rtl */
92
+ .direction#{$variant}-rtl { direction: rtl !important; }
93
+ /* Set the direction to ltr */
94
+ .direction#{$variant}-ltr { direction: ltr !important; }
95
+ }
96
+ }
@@ -0,0 +1,71 @@
1
+ // Margin spacer utilities
2
+ // stylelint-disable block-opening-brace-space-before
3
+ // stylelint-disable declaration-colon-space-before
4
+ // stylelint-disable comment-empty-line-before
5
+ // stylelint-disable primer/spacing
6
+
7
+ // Loop through the breakpoint values
8
+ @each $breakpoint, $variant in $responsive-variants {
9
+ @include breakpoint($breakpoint) {
10
+ // Loop through the spacer values
11
+ @each $scale, $size in $spacer-map-rem-extended {
12
+ @if ($scale < length($spacer-map-rem)) {
13
+ /* Set a $size margin to all sides at $breakpoint */
14
+ .m#{$variant}-#{$scale} { margin: $size !important; }
15
+ }
16
+
17
+ /* Set a $size margin on the top at $breakpoint */
18
+ .mt#{$variant}-#{$scale} { margin-top: $size !important; }
19
+ /* Set a $size margin on the bottom at $breakpoint */
20
+ .mb#{$variant}-#{$scale} { margin-bottom: $size !important; }
21
+
22
+ @if ($scale < length($spacer-map-rem)) {
23
+ /* Set a $size margin on the right at $breakpoint */
24
+ .mr#{$variant}-#{$scale} { margin-right: $size !important; }
25
+ /* Set a $size margin on the left at $breakpoint */
26
+ .ml#{$variant}-#{$scale} { margin-left: $size !important; }
27
+ }
28
+
29
+ @if ($size != 0) {
30
+ /* Set a negative $size margin on top at $breakpoint */
31
+ .mt#{$variant}-n#{$scale} { margin-top: calc(-1 * $size) !important; }
32
+ /* Set a negative $size margin on the bottom at $breakpoint */
33
+ .mb#{$variant}-n#{$scale} { margin-bottom: calc(-1 * $size) !important; }
34
+
35
+ @if ($scale < length($spacer-map-rem)) {
36
+ /* Set a negative $size margin on the right at $breakpoint */
37
+ .mr#{$variant}-n#{$scale} { margin-right : calc(-1 * $size) !important; }
38
+ /* Set a negative $size margin on the left at $breakpoint */
39
+ .ml#{$variant}-n#{$scale} { margin-left : calc(-1 * $size) !important; }
40
+ }
41
+ }
42
+
43
+ @if ($scale < length($spacer-map-rem)) {
44
+ /* Set a $size margin on the left & right at $breakpoint */
45
+ .mx#{$variant}-#{$scale} {
46
+ margin-right: $size !important;
47
+ margin-left: $size !important;
48
+ }
49
+ }
50
+
51
+ /* Set a $size margin on the top & bottom at $breakpoint */
52
+ .my#{$variant}-#{$scale} {
53
+ margin-top: $size !important;
54
+ margin-bottom: $size !important;
55
+ }
56
+ }
57
+
58
+ /* responsive horizontal auto margins */
59
+ .mx#{$variant}-auto {
60
+ margin-right: auto !important;
61
+ margin-left: auto !important;
62
+ }
63
+ }
64
+ }
65
+
66
+ .m-auto { margin: auto !important; }
67
+
68
+ .mt-auto { margin-top: auto !important; }
69
+ .mr-auto { margin-right: auto !important; }
70
+ .mb-auto { margin-bottom: auto !important; }
71
+ .ml-auto { margin-left: auto !important; }
@@ -0,0 +1,56 @@
1
+ // Padding spacer utilities
2
+ // stylelint-disable block-opening-brace-space-before
3
+ // stylelint-disable comment-empty-line-before
4
+ // stylelint-disable primer/spacing
5
+
6
+ // Responsive padding spacer utilities
7
+ @each $breakpoint, $variant in $responsive-variants {
8
+ @include breakpoint($breakpoint) {
9
+ // Loop through the spacer values
10
+ @each $scale, $size in $spacer-map-rem-extended {
11
+ @if ($scale < length($spacer-map-rem)) {
12
+ /* Set a $size padding to all sides at $breakpoint */
13
+ .p#{$variant}-#{$scale} { padding: $size !important; }
14
+ }
15
+
16
+ /* Set a $size padding to the top at $breakpoint */
17
+ .pt#{$variant}-#{$scale} { padding-top: $size !important; }
18
+ /* Set a $size padding to the right at $breakpoint */
19
+ .pr#{$variant}-#{$scale} { padding-right: $size !important; }
20
+ /* Set a $size padding to the bottom at $breakpoint */
21
+ .pb#{$variant}-#{$scale} { padding-bottom: $size !important; }
22
+ /* Set a $size padding to the left at $breakpoint */
23
+ .pl#{$variant}-#{$scale} { padding-left: $size !important; }
24
+
25
+ @if ($scale < length($spacer-map-rem)) {
26
+ /* Set a $size padding to the left & right at $breakpoint */
27
+ .px#{$variant}-#{$scale} {
28
+ padding-right: $size !important;
29
+ padding-left: $size !important;
30
+ }
31
+ }
32
+
33
+ /* Set a $size padding to the top & bottom at $breakpoint */
34
+ .py#{$variant}-#{$scale} {
35
+ padding-top: $size !important;
36
+ padding-bottom: $size !important;
37
+ }
38
+ }
39
+ }
40
+ }
41
+
42
+ // responsive padding for containers
43
+ .p-responsive {
44
+ padding-right: var(--base-size-16, $spacer-3) !important;
45
+ padding-left: var(--base-size-16, $spacer-3) !important;
46
+
47
+ @include breakpoint(sm) {
48
+ padding-right: var(--base-size-40, $spacer-6) !important;
49
+ padding-left: var(--base-size-40, $spacer-6) !important;
50
+ }
51
+
52
+ @include breakpoint(lg) {
53
+ padding-right: var(--base-size-16, $spacer-3) !important;
54
+ padding-left: var(--base-size-16, $spacer-3) !important;
55
+ }
56
+ }