@primer/css 0.0.0-1ea75fe → 0.0.0-202110100305
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1231 -132
- package/CODE_OF_CONDUCT.md +1 -1
- package/CONTRIBUTING.md +85 -0
- package/DEVELOP.md +11 -69
- package/LICENSE +1 -1
- package/README.md +13 -15
- package/RELEASING.md +5 -72
- package/actionlist/action-list-item-divider.scss +42 -0
- package/actionlist/action-list-item.scss +444 -0
- package/actionlist/action-list-variables.scss +8 -0
- package/actionlist/action-list.scss +33 -0
- package/actionlist/index.scss +5 -0
- package/alerts/README.md +11 -22
- package/alerts/flash.scss +91 -21
- package/alerts/index.scss +2 -2
- package/autocomplete/README.md +25 -0
- package/autocomplete/autocomplete.scss +58 -0
- package/autocomplete/index.scss +4 -0
- package/autocomplete/suggester.scss +92 -0
- package/avatars/README.md +11 -23
- package/avatars/avatar-parent-child.scss +4 -3
- package/avatars/avatar-stack.scss +21 -13
- package/avatars/avatar.scss +31 -3
- package/avatars/circle-badge.scss +5 -4
- package/avatars/index.scss +5 -5
- package/base/README.md +11 -22
- package/base/base.scss +5 -4
- package/base/index.scss +6 -4
- package/base/kbd.scss +20 -0
- package/base/normalize.scss +5 -5
- package/base/octicons.scss +6 -0
- package/base/typography-base.scss +2 -0
- package/blankslate/README.md +11 -23
- package/blankslate/blankslate.scss +25 -12
- package/blankslate/index.scss +2 -2
- package/box/README.md +11 -23
- package/box/box.scss +52 -44
- package/box/index.scss +2 -2
- package/branch-name/README.md +11 -23
- package/branch-name/branch-name.scss +18 -8
- package/branch-name/index.scss +2 -2
- package/breadcrumb/README.md +17 -13
- package/breadcrumb/breadcrumb.scss +15 -5
- package/breadcrumb/index.scss +2 -2
- package/buttons/README.md +11 -23
- package/buttons/button-group.scss +2 -0
- package/buttons/button.scss +243 -143
- package/buttons/index.scss +4 -3
- package/buttons/misc.scss +222 -0
- package/color-modes/index.scss +9 -0
- package/color-modes/native.scss +10 -0
- package/color-modes/themes/dark.scss +7 -0
- package/color-modes/themes/dark_colorblind.scss +7 -0
- package/color-modes/themes/dark_dimmed.scss +7 -0
- package/color-modes/themes/dark_high_contrast.scss +7 -0
- package/color-modes/themes/light.scss +7 -0
- package/color-modes/themes/light_colorblind.scss +7 -0
- package/core/README.md +11 -23
- package/core/index.scss +19 -20
- package/deprecations.js +24 -0
- package/deprecations.json +539 -0
- package/dist/actionlist.css +2 -0
- package/dist/actionlist.css.map +1 -0
- package/dist/actionlist.js +1 -0
- package/dist/alerts.css +1 -2
- package/dist/alerts.css.map +1 -1
- package/dist/alerts.js +1 -1
- package/dist/autocomplete.css +2 -0
- package/dist/autocomplete.css.map +1 -0
- package/dist/autocomplete.js +1 -0
- package/dist/avatars.css +1 -2
- package/dist/avatars.css.map +1 -1
- package/dist/avatars.js +1 -1
- package/dist/base.css +1 -2
- package/dist/base.css.map +1 -1
- package/dist/base.js +1 -1
- package/dist/blankslate.css +1 -2
- package/dist/blankslate.css.map +1 -1
- package/dist/blankslate.js +1 -1
- package/dist/box.css +1 -2
- package/dist/box.css.map +1 -1
- package/dist/box.js +1 -1
- package/dist/branch-name.css +1 -2
- package/dist/branch-name.css.map +1 -1
- package/dist/branch-name.js +1 -1
- package/dist/breadcrumb.css +1 -2
- package/dist/breadcrumb.css.map +1 -1
- package/dist/breadcrumb.js +1 -1
- package/dist/buttons.css +1 -2
- package/dist/buttons.css.map +1 -1
- package/dist/buttons.js +1 -1
- package/dist/color-modes.css +2 -0
- package/dist/color-modes.css.map +1 -0
- package/dist/color-modes.js +1 -0
- package/dist/core.css +3 -4
- package/dist/core.css.map +1 -1
- package/dist/core.js +1 -1
- package/dist/deprecations.json +539 -0
- package/dist/dropdown.css +2 -0
- package/dist/dropdown.css.map +1 -0
- package/dist/dropdown.js +1 -0
- package/dist/forms.css +1 -2
- package/dist/forms.css.map +1 -1
- package/dist/forms.js +1 -1
- package/dist/header.css +2 -0
- package/dist/header.css.map +1 -0
- package/dist/header.js +1 -0
- package/dist/labels.css +1 -2
- package/dist/labels.css.map +1 -1
- package/dist/labels.js +1 -1
- package/dist/layout.css +1 -2
- package/dist/layout.css.map +1 -1
- package/dist/layout.js +1 -1
- package/dist/links.css +2 -0
- package/dist/links.css.map +1 -0
- package/dist/links.js +1 -0
- package/dist/loaders.css +2 -0
- package/dist/loaders.css.map +1 -0
- package/dist/loaders.js +1 -0
- package/dist/markdown.css +1 -2
- package/dist/markdown.css.map +1 -1
- package/dist/markdown.js +1 -1
- package/dist/marketing-buttons.css +1 -2
- package/dist/marketing-buttons.css.map +1 -1
- package/dist/marketing-buttons.js +1 -1
- package/dist/marketing-support.css +1 -2
- package/dist/marketing-support.js +1 -1
- package/dist/marketing-type.css +1 -2
- package/dist/marketing-type.css.map +1 -1
- package/dist/marketing-type.js +1 -1
- package/dist/marketing-utilities.css +1 -2
- package/dist/marketing-utilities.css.map +1 -1
- package/dist/marketing-utilities.js +1 -1
- package/dist/marketing.css +3 -4
- package/dist/marketing.css.map +1 -1
- package/dist/marketing.js +1 -1
- package/dist/meta.json +316 -273
- package/dist/navigation.css +1 -2
- package/dist/navigation.css.map +1 -1
- package/dist/navigation.js +1 -1
- package/dist/pagination.css +1 -2
- package/dist/pagination.css.map +1 -1
- package/dist/pagination.js +1 -1
- package/dist/popover.css +1 -2
- package/dist/popover.css.map +1 -1
- package/dist/popover.js +1 -1
- package/dist/primer.css +13 -14
- package/dist/primer.css.map +1 -1
- package/dist/primer.js +1 -1
- package/dist/product.css +3 -4
- package/dist/product.css.map +1 -1
- package/dist/product.js +1 -1
- package/dist/progress.css +1 -2
- package/dist/progress.css.map +1 -1
- package/dist/progress.js +1 -1
- package/dist/select-menu.css +2 -0
- package/dist/select-menu.css.map +1 -0
- package/dist/select-menu.js +1 -0
- package/dist/stats/actionlist.json +1 -0
- package/dist/stats/alerts.json +1 -1
- package/dist/stats/autocomplete.json +1 -0
- package/dist/stats/avatars.json +1 -1
- package/dist/stats/base.json +1 -1
- package/dist/stats/blankslate.json +1 -1
- package/dist/stats/box.json +1 -1
- package/dist/stats/branch-name.json +1 -1
- package/dist/stats/breadcrumb.json +1 -1
- package/dist/stats/buttons.json +1 -1
- package/dist/stats/color-modes.json +1 -0
- package/dist/stats/core.json +1 -1
- package/dist/stats/dropdown.json +1 -0
- package/dist/stats/forms.json +1 -1
- package/dist/stats/header.json +1 -0
- package/dist/stats/labels.json +1 -1
- package/dist/stats/layout.json +1 -1
- package/dist/stats/links.json +1 -0
- package/dist/stats/loaders.json +1 -0
- package/dist/stats/markdown.json +1 -1
- package/dist/stats/marketing-buttons.json +1 -1
- package/dist/stats/marketing-support.json +1 -1
- package/dist/stats/marketing-type.json +1 -1
- package/dist/stats/marketing-utilities.json +1 -1
- package/dist/stats/marketing.json +1 -1
- package/dist/stats/navigation.json +1 -1
- package/dist/stats/pagination.json +1 -1
- package/dist/stats/popover.json +1 -1
- package/dist/stats/primer.json +1 -1
- package/dist/stats/product.json +1 -1
- package/dist/stats/progress.json +1 -1
- package/dist/stats/select-menu.json +1 -0
- package/dist/stats/subhead.json +1 -1
- package/dist/stats/support.json +1 -1
- package/dist/stats/table-object.json +1 -1
- package/dist/stats/timeline.json +1 -0
- package/dist/stats/toasts.json +1 -0
- package/dist/stats/tooltips.json +1 -1
- package/dist/stats/truncate.json +1 -1
- package/dist/stats/utilities.json +1 -1
- package/dist/subhead.css +1 -2
- package/dist/subhead.css.map +1 -1
- package/dist/subhead.js +1 -1
- package/dist/support.css +1 -1
- package/dist/support.js +1 -1
- package/dist/table-object.css +0 -1
- package/dist/table-object.css.map +1 -1
- package/dist/table-object.js +1 -1
- package/dist/timeline.css +2 -0
- package/dist/timeline.css.map +1 -0
- package/dist/timeline.js +1 -0
- package/dist/toasts.css +2 -0
- package/dist/toasts.css.map +1 -0
- package/dist/toasts.js +1 -0
- package/dist/tooltips.css +1 -2
- package/dist/tooltips.css.map +1 -1
- package/dist/tooltips.js +1 -1
- package/dist/truncate.css +1 -2
- package/dist/truncate.css.map +1 -1
- package/dist/truncate.js +1 -1
- package/dist/utilities.css +1 -2
- package/dist/utilities.css.map +1 -1
- package/dist/utilities.js +1 -1
- package/dist/variables.json +1352 -0
- package/dropdown/README.md +25 -0
- package/dropdown/dropdown.scss +272 -0
- package/dropdown/index.scss +2 -0
- package/forms/README.md +11 -23
- package/forms/form-control.scss +76 -32
- package/forms/form-group.scss +83 -46
- package/forms/form-select.scss +17 -5
- package/forms/form-validation.scss +51 -32
- package/forms/index.scss +7 -6
- package/forms/input-group.scss +2 -0
- package/forms/radio-group.scss +62 -0
- package/header/README.md +25 -0
- package/header/header.scss +47 -0
- package/header/index.scss +2 -0
- package/index.scss +7 -4
- package/labels/README.md +11 -23
- package/labels/counters.scss +24 -13
- package/labels/diffstat.scss +37 -0
- package/labels/index.scss +8 -4
- package/labels/issue-labels.scss +23 -0
- package/labels/labels.scss +59 -40
- package/labels/mixins.scss +32 -0
- package/labels/states.scss +40 -19
- package/layout/README.md +11 -23
- package/layout/container.scss +0 -8
- package/layout/grid-offset.scss +11 -11
- package/layout/grid.scss +23 -23
- package/layout/index.scss +8 -5
- package/layout/layout-beta.scss +339 -0
- package/layout/layout.scss +185 -0
- package/layout/mixins.scss +79 -0
- package/links/README.md +25 -0
- package/links/index.scss +3 -0
- package/links/link.scss +55 -0
- package/loaders/README.md +25 -0
- package/loaders/index.scss +2 -0
- package/loaders/loaders.scss +19 -0
- package/markdown/README.md +11 -23
- package/markdown/blob-csv.scss +4 -2
- package/markdown/code.scss +11 -3
- package/markdown/footnotes.scss +37 -0
- package/markdown/headings.scss +13 -4
- package/markdown/images.scss +15 -4
- package/markdown/index.scss +9 -8
- package/markdown/lists.scss +19 -5
- package/markdown/markdown-body.scss +15 -18
- package/markdown/tables.scss +8 -5
- package/marketing/README.md +11 -23
- package/marketing/buttons/button.scss +82 -61
- package/marketing/index.scss +6 -11
- package/marketing/support/index.scss +1 -0
- package/marketing/support/mixins.scss +66 -0
- package/marketing/support/variables.scss +110 -51
- package/marketing/type/typography.scss +100 -62
- package/marketing/utilities/animations.scss +9 -0
- package/marketing/utilities/filters.scss +0 -1
- package/marketing/utilities/index.scss +2 -3
- package/marketing/utilities/layout.scss +32 -11
- package/navigation/README.md +11 -23
- package/navigation/filter-list.scss +16 -14
- package/navigation/index.scss +7 -6
- package/navigation/menu.scss +44 -35
- package/navigation/sidenav.scss +108 -0
- package/navigation/subnav.scss +28 -21
- package/navigation/tabnav.scss +45 -21
- package/navigation/underline-nav.scss +36 -22
- package/package.json +78 -107
- package/pagination/README.md +12 -14
- package/pagination/index.scss +2 -2
- package/pagination/pagination.scss +61 -37
- package/popover/README.md +11 -24
- package/popover/index.scss +2 -2
- package/popover/popover.scss +18 -9
- package/postcss.config.cjs +22 -0
- package/prettier.config.cjs +1 -0
- package/product/README.md +11 -23
- package/product/index.scss +19 -17
- package/progress/README.md +11 -23
- package/progress/index.scss +2 -2
- package/progress/progress.scss +11 -1
- package/select-menu/README.md +25 -0
- package/select-menu/index.scss +3 -0
- package/select-menu/select-menu.scss +464 -0
- package/stylelint.config.cjs +16 -0
- package/subhead/README.md +11 -25
- package/subhead/index.scss +2 -2
- package/subhead/subhead.scss +10 -4
- package/support/README.md +12 -18
- package/support/index.scss +7 -8
- package/support/mixins/color-modes.scss +106 -0
- package/support/mixins/misc.scss +9 -12
- package/support/mixins/typography.scss +1 -1
- package/support/variables/layout.scss +103 -11
- package/support/variables/misc.scss +7 -30
- package/support/variables/typography.scss +4 -4
- package/table-object/README.md +11 -24
- package/table-object/index.scss +1 -1
- package/timeline/README.md +25 -0
- package/timeline/index.scss +2 -0
- package/timeline/timeline-item.scss +95 -0
- package/toasts/README.md +25 -0
- package/toasts/index.scss +2 -0
- package/toasts/toasts.scss +124 -0
- package/tooltips/README.md +11 -24
- package/tooltips/index.scss +2 -2
- package/tooltips/tooltips.scss +17 -8
- package/truncate/README.md +11 -24
- package/truncate/index.scss +2 -1
- package/truncate/truncate.scss +41 -7
- package/utilities/README.md +11 -23
- package/utilities/animations.scss +14 -2
- package/utilities/borders.scss +29 -65
- package/utilities/box-shadow.scss +8 -9
- package/utilities/colors.scss +71 -110
- package/utilities/details.scss +12 -4
- package/utilities/flexbox.scss +14 -14
- package/utilities/index.scss +12 -12
- package/utilities/layout.scss +28 -22
- package/utilities/margin.scss +34 -17
- package/utilities/padding.scss +13 -9
- package/utilities/typography.scss +54 -25
- package/utilities/visibility-display.scss +0 -13
- package/.browserslistrc +0 -6
- package/.eslintrc.json +0 -13
- package/.stylelintrc.json +0 -9
- package/MIGRATING.md +0 -70
- package/bin/primer-migrate +0 -86
- package/build/build.css +0 -23
- package/build/build.json +0 -1
- package/build/index.js +0 -1
- package/dist/marketing-support.css.map +0 -1
- package/dist/support.css.map +0 -1
- package/fonts/Inter-Medium.woff +0 -0
- package/fonts/Inter-Regular.woff +0 -0
- package/layout/columns.scss +0 -56
- package/marketing/buttons/README.md +0 -39
- package/marketing/support/README.md +0 -31
- package/marketing/type/README.md +0 -39
- package/marketing/utilities/README.md +0 -36
- package/marketing/utilities/margin.scss +0 -18
- package/marketing/utilities/padding.scss +0 -28
- package/postcss.config.js +0 -14
- package/prettier.config.js +0 -1
- package/support/mixins/buttons.scss +0 -160
- package/support/variables/color-system.scss +0 -243
- package/support/variables/colors.scss +0 -70
package/build/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = {cssstats: require('./build.json')}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/marketing/src/marketing/support/variables.scss","../src/marketing/src/support/variables/typography.scss"],"names":[],"mappings":"AAGA,WACE,iBAAkB,CAClB,iBAAkB,CAClB,eCoBsB,CDnBtB,kHAA4G,CAG9G,WACE,iBAAkB,CAClB,iBAAkB,CAClB,eCYwB,CDXxB,uHAAiH","file":"marketing-support.css","sourcesContent":["$marketing-font-path: \"/primer-marketing-support/fonts/\" !default;\n\n// Type\n@font-face {\n font-family: Inter;\n font-style: normal;\n font-weight: $font-weight-normal;\n src: local(\"Inter\"), local(\"Inter-Regular\"), url(\"#{$marketing-font-path}Inter-Regular.woff\") format(\"woff\");\n}\n\n@font-face {\n font-family: Inter;\n font-style: normal;\n font-weight: $font-weight-semibold;\n src: local(\"Inter Medium\"), local(\"Inter-Medium\"), url(\"#{$marketing-font-path}Inter-Medium.woff\") format(\"woff\");\n}\n\n$font-mktg: Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\" !default;\n\n// Builds upon primer-support/variables/typography.scss\n$h000-size: 64px !default;\n$h000-size-mobile: 48px !default;\n\n// Colors\n$green-mktg: mix($green-500, $green-400, 50%);\n$blue-mktg: mix($blue-400, $blue-500, 42%);\n\n// Animations\n$transition-time: 0.4s;\n\n// Increases primer-core scale first by 8px for spacer-7 then by 16px step increments for spacer-8 to spacer-12\n// i.e. After 40px, we have 48, 64, 80, 96, etc.\n$spacer-7: $spacer * 6 !default; // 48px\n$spacer-8: $spacer * 8 !default; // 64px\n$spacer-9: $spacer * 10 !default; // 80px\n$spacer-10: $spacer * 12 !default; // 96px\n$spacer-11: $spacer * 14 !default; // 112px\n$spacer-12: $spacer * 16 !default; // 128px\n\n$marketingSpacers: $spacer-7, $spacer-8, $spacer-9, $spacer-10, $spacer-11, $spacer-12;\n$allSpacers: $spacer-1, $spacer-2, $spacer-3, $spacer-4, $spacer-5, $spacer-6, $spacer-7, $spacer-8, $spacer-9, $spacer-10, $spacer-11, $spacer-12;\n\n$marketing-spacers: (\n 7: $spacer-7,\n 8: $spacer-8,\n 9: $spacer-9,\n 10: $spacer-10,\n 11: $spacer-11,\n 12: $spacer-12,\n) !default;\n\n$marketing-all-spacers: map-merge(\n (\n 0: 0,\n 1: $spacer-1,\n 2: $spacer-2,\n 3: $spacer-3,\n 4: $spacer-4,\n 5: $spacer-5,\n 6: $spacer-6,\n ),\n $marketing-spacers,\n) !default;\n\n$marketing-position-variants: (\n \"\": \"\",\n md: \"-md\",\n lg: \"-lg\",\n) !default;\n","// Typography variables\n// stylelint-disable declaration-bang-space-before\n\n// Heading sizes - mobile\n// h4—h6 remain the same size on both mobile & desktop\n$h00-size-mobile: 40px !default;\n$h0-size-mobile: 32px !default;\n$h1-size-mobile: 26px !default;\n$h2-size-mobile: 22px !default;\n$h3-size-mobile: 18px !default;\n\n// Heading sizes - desktop\n$h00-size: 48px !default;\n$h0-size: 40px !default;\n$h1-size: 32px !default;\n$h2-size: 24px !default;\n$h3-size: 20px !default;\n$h4-size: 16px !default;\n$h5-size: 14px !default;\n$h6-size: 12px !default;\n\n$font-size-small: 12px !default;\n\n// Font weights\n$font-weight-bold: 600 !default;\n$font-weight-semibold: 500 !default;\n$font-weight-normal: 400 !default;\n$font-weight-light: 300 !default;\n\n// Line heights\n$lh-condensed-ultra: 1 !default;\n$lh-condensed: 1.25 !default;\n$lh-default: 1.5 !default;\n\n// Font stacks\n$body-font: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\" !default;\n\n// Monospace font stack\n$mono-font: \"SFMono-Regular\", Consolas, \"Liberation Mono\", Menlo, Courier, monospace !default;\n\n// The base body size\n$body-font-size: 14px !default;\n$body-line-height: $lh-default !default;\n"]}
|
package/dist/support.css.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"support.css"}
|
package/fonts/Inter-Medium.woff
DELETED
|
Binary file
|
package/fonts/Inter-Regular.woff
DELETED
|
Binary file
|
package/layout/columns.scss
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
// Grid system
|
|
2
|
-
//
|
|
3
|
-
// Create rows with `.columns` to clear the floated columns and outdent the
|
|
4
|
-
// padding on `.column`s with negative margin for alignment.
|
|
5
|
-
|
|
6
|
-
@warn ".columns, .column, .one-third, .two-thirds, .one-fourth, .one-half, .three-fourths, .one-fifth, .four-fifths, .centered will be deprecated in 12.0.0 please migrate to grid.scss";
|
|
7
|
-
|
|
8
|
-
.columns {
|
|
9
|
-
margin-right: -$grid-gutter;
|
|
10
|
-
margin-left: -$grid-gutter;
|
|
11
|
-
@include clearfix;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
// Base class for every column (requires a column width from below)
|
|
15
|
-
.column {
|
|
16
|
-
float: left;
|
|
17
|
-
padding-right: $grid-gutter;
|
|
18
|
-
padding-left: $grid-gutter;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
// Column widths
|
|
22
|
-
.one-third {
|
|
23
|
-
width: 33.333333%;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.two-thirds {
|
|
27
|
-
width: 66.666667%;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.one-fourth {
|
|
31
|
-
width: 25%;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.one-half {
|
|
35
|
-
width: 50%;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.three-fourths {
|
|
39
|
-
width: 75%;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.one-fifth {
|
|
43
|
-
width: 20%;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.four-fifths {
|
|
47
|
-
width: 80%;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
// Centers content horizontally. Can be used inside or outside the grid.
|
|
51
|
-
.centered {
|
|
52
|
-
display: block;
|
|
53
|
-
float: none;
|
|
54
|
-
margin-right: auto;
|
|
55
|
-
margin-left: auto;
|
|
56
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
# Primer Marketing CSS Buttons
|
|
2
|
-
|
|
3
|
-
> Buttons are used for actions, like in forms, while textual hyperlinks are used for destinations, or moving from one page to another.
|
|
4
|
-
|
|
5
|
-
This repository is a module of the full [primer][primer] repository.
|
|
6
|
-
|
|
7
|
-
## Documentation
|
|
8
|
-
|
|
9
|
-
Find further documentation at [primer.style/css/utilities/marketing-buttons](https://primer.style/css/utilities/marketing-buttons).
|
|
10
|
-
|
|
11
|
-
## Usage
|
|
12
|
-
|
|
13
|
-
The source files included are written in [Sass][sass] (`scss`) You can simply point your sass `include-path` at your `node_modules` directory and import it like this.
|
|
14
|
-
|
|
15
|
-
```scss
|
|
16
|
-
@import "primer-marketing-buttons/index.scss";
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
You can also import specific portions of the module by importing those partials from the `/lib/` folder. _Make sure you import any requirements along with the modules._
|
|
20
|
-
|
|
21
|
-
## Build
|
|
22
|
-
|
|
23
|
-
For a compiled **css** version of this module, a npm script is included that will output a css version to `build/build.css`
|
|
24
|
-
|
|
25
|
-
```
|
|
26
|
-
$ npm run build
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
## License
|
|
30
|
-
|
|
31
|
-
MIT © [GitHub](https://github.com/)
|
|
32
|
-
|
|
33
|
-
[primer]: https://github.com/primer/css
|
|
34
|
-
[primer-support]: https://github.com/primer/css-support
|
|
35
|
-
[support]: https://github.com/primer/css-support
|
|
36
|
-
[docs]: https://primer.style/css
|
|
37
|
-
[npm]: https://www.npmjs.com/
|
|
38
|
-
[install-npm]: https://docs.npmjs.com/getting-started/installing-node
|
|
39
|
-
[sass]: http://sass-lang.com/
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# Primer Marketing Support
|
|
2
|
-
|
|
3
|
-
> Support files are Sass variables, mixins, and functions that we import into different bases for use across components, objects, and utilities. Sharing these common properties across GitHub sites helps us to keep our styles more consistent.
|
|
4
|
-
>
|
|
5
|
-
> Most of the time to include these you'll only need to add `@import "./primer-marketing-support";` to the top of your bundle. If you want only a specific partial you can import them separately.
|
|
6
|
-
|
|
7
|
-
This repository is a module of the full [primer][primer] repository.
|
|
8
|
-
|
|
9
|
-
## Usage
|
|
10
|
-
|
|
11
|
-
The source files included are written in [Sass][sass] (`scss`) You can simply point your sass `include-path` at your `node_modules` directory and import it like this.
|
|
12
|
-
|
|
13
|
-
```scss
|
|
14
|
-
@import "primer-marketing-support/index.scss";
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
You can also import specific portions of the module by importing those partials from the `/lib/` folder. _Make sure you import any requirements along with the modules._
|
|
18
|
-
|
|
19
|
-
## Documentation
|
|
20
|
-
|
|
21
|
-
Find further documentation at [primer.style/css/support/marketing-variables](https://primer.style/css/support/marketing-variables).
|
|
22
|
-
|
|
23
|
-
## License
|
|
24
|
-
|
|
25
|
-
MIT © [GitHub](https://github.com/)
|
|
26
|
-
|
|
27
|
-
[primer]: https://github.com/primer/css
|
|
28
|
-
[docs]: https://primer.style/css
|
|
29
|
-
[npm]: https://www.npmjs.com/
|
|
30
|
-
[install-npm]: https://docs.npmjs.com/getting-started/installing-node
|
|
31
|
-
[sass]: http://sass-lang.com/
|
package/marketing/type/README.md
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
# Primer Marketing CSS Typography
|
|
2
|
-
|
|
3
|
-
> Flash messages, or alerts, inform users of successful or pending actions. Use them sparingly. Don’t show more than one at a time.
|
|
4
|
-
|
|
5
|
-
This repository is a module of the full [primer][primer] repository.
|
|
6
|
-
|
|
7
|
-
## Documentation
|
|
8
|
-
|
|
9
|
-
Find further documentation at [primer.style/css/utilities/marketing-type](https://primer.style/css/utilities/marketing-type).
|
|
10
|
-
|
|
11
|
-
## Usage
|
|
12
|
-
|
|
13
|
-
The source files included are written in [Sass][sass] (`scss`) You can simply point your sass `include-path` at your `node_modules` directory and import it like this.
|
|
14
|
-
|
|
15
|
-
```scss
|
|
16
|
-
@import "primer-marketing-typography/index.scss";
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
You can also import specific portions of the module by importing those partials from the `/lib/` folder. _Make sure you import any requirements along with the modules._
|
|
20
|
-
|
|
21
|
-
## Build
|
|
22
|
-
|
|
23
|
-
For a compiled **css** version of this module, a npm script is included that will output a css version to `build/build.css`
|
|
24
|
-
|
|
25
|
-
```
|
|
26
|
-
$ npm run build
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
## License
|
|
30
|
-
|
|
31
|
-
MIT © [GitHub](https://github.com/)
|
|
32
|
-
|
|
33
|
-
[primer]: https://github.com/primer/css
|
|
34
|
-
[primer-support]: https://github.com/primer/css-support
|
|
35
|
-
[support]: https://github.com/primer/css-support
|
|
36
|
-
[docs]: https://primer.style/css
|
|
37
|
-
[npm]: https://www.npmjs.com/
|
|
38
|
-
[install-npm]: https://docs.npmjs.com/getting-started/installing-node
|
|
39
|
-
[sass]: http://sass-lang.com/
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
# Primer Marketing CSS Utilities
|
|
2
|
-
|
|
3
|
-
This repository is a module of the full [primer-marketing-css][primer-marketing-css] repository.
|
|
4
|
-
|
|
5
|
-
## Usage
|
|
6
|
-
|
|
7
|
-
The source files included are written in [Sass][sass] (`scss`) You can simply point your sass `include-path` at your `node_modules` directory and import it like this.
|
|
8
|
-
|
|
9
|
-
```scss
|
|
10
|
-
@import "primer-marketing-utilities/index.scss";
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
You can also import specific portions of the module by importing those partials from the `/lib/` folder. _Make sure you import any requirements along with the modules._
|
|
14
|
-
|
|
15
|
-
## Build
|
|
16
|
-
|
|
17
|
-
For a compiled **css** version of this module, a npm script is included that will output a css version to `build/build.css` The built css file is also included in the npm package.
|
|
18
|
-
|
|
19
|
-
```
|
|
20
|
-
$ npm run build
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
## Documentation
|
|
24
|
-
|
|
25
|
-
Find further documentation at [primer.style/css/utilities](https://primer.style/css/utilities).
|
|
26
|
-
|
|
27
|
-
## License
|
|
28
|
-
|
|
29
|
-
[MIT](./LICENSE) © [GitHub](https://github.com/)
|
|
30
|
-
|
|
31
|
-
[primer]: https://github.com/primer/css
|
|
32
|
-
[docs]: https://primer.style/css
|
|
33
|
-
[npm]: https://www.npmjs.com/
|
|
34
|
-
[install-npm]: https://docs.npmjs.com/getting-started/installing-node
|
|
35
|
-
[sass]: http://sass-lang.com/
|
|
36
|
-
[primer-marketing-css]: https://github.com/primer/css-marketing
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// Margin spacer utilities for marketing
|
|
2
|
-
// Utilities only added for y-direction margin (i.e. top & bottom)
|
|
3
|
-
// stylelint-disable block-opening-brace-space-before, declaration-colon-space-before, primer/selector-no-utility, comment-empty-line-before
|
|
4
|
-
|
|
5
|
-
@each $breakpoint, $variant in $responsive-variants {
|
|
6
|
-
@include breakpoint($breakpoint) {
|
|
7
|
-
@each $scale, $size in $marketing-spacers {
|
|
8
|
-
|
|
9
|
-
.mt#{$variant}-#{$scale} { margin-top: $size !important; }
|
|
10
|
-
.mb#{$variant}-#{$scale} { margin-bottom: $size !important; }
|
|
11
|
-
|
|
12
|
-
.my#{$variant}-#{$scale} {
|
|
13
|
-
margin-top: $size !important;
|
|
14
|
-
margin-bottom: $size !important;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
// Padding spacer utilities for marketing
|
|
2
|
-
// stylelint-disable block-opening-brace-space-before, declaration-colon-space-before
|
|
3
|
-
// stylelint-disable comment-empty-line-before
|
|
4
|
-
|
|
5
|
-
@each $breakpoint, $variant in $responsive-variants {
|
|
6
|
-
@include breakpoint($breakpoint) {
|
|
7
|
-
@each $scale, $size in $marketing-spacers {
|
|
8
|
-
|
|
9
|
-
/* Set a #{$size} padding for all sides */
|
|
10
|
-
.p#{$variant}-#{$scale} { padding: #{$size} !important; }
|
|
11
|
-
|
|
12
|
-
/* Set a #{$size} padding to the top */
|
|
13
|
-
.pt#{$variant}-#{$scale} { padding-top: #{$size} !important; }
|
|
14
|
-
/* Set a #{$size} padding to the right */
|
|
15
|
-
.pr#{$variant}-#{$scale} { padding-right: #{$size} !important; }
|
|
16
|
-
/* Set a #{$size} padding to the bottom */
|
|
17
|
-
.pb#{$variant}-#{$scale} { padding-bottom: #{$size} !important; }
|
|
18
|
-
/* Set a #{$size} padding to the left */
|
|
19
|
-
.pl#{$variant}-#{$scale} { padding-left: #{$size} !important; }
|
|
20
|
-
|
|
21
|
-
/* Set a #{$size} padding to the top & bottom */
|
|
22
|
-
.py#{$variant}-#{$scale} {
|
|
23
|
-
padding-top: #{$size} !important;
|
|
24
|
-
padding-bottom: #{$size} !important;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
package/postcss.config.js
DELETED
package/prettier.config.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require('eslint-plugin-github/prettier.config')
|
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
// stylelint-disable block-closing-brace-newline-after
|
|
2
|
-
|
|
3
|
-
// Button color generator for primary and themed buttons
|
|
4
|
-
|
|
5
|
-
// New button hotness
|
|
6
|
-
@mixin btn-solid($color, $bg, $bg2) {
|
|
7
|
-
color: $color;
|
|
8
|
-
background-color: $bg2;
|
|
9
|
-
background-image: linear-gradient(-180deg, $bg 0%, $bg2 90%);
|
|
10
|
-
|
|
11
|
-
@if $bg == $gray-000 {
|
|
12
|
-
&:focus,
|
|
13
|
-
&.focus {
|
|
14
|
-
box-shadow: $btn-input-focus-shadow;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
&:hover,
|
|
18
|
-
&.hover {
|
|
19
|
-
background-color: darken($bg2, 3%);
|
|
20
|
-
background-image: linear-gradient(-180deg, darken($bg, 3%) 0%, darken($bg2, 3%) 90%);
|
|
21
|
-
background-position: 0 -$em-spacer-5;
|
|
22
|
-
border-color: rgba($black, 0.35);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&:active,
|
|
26
|
-
&.selected,
|
|
27
|
-
[open] > & {
|
|
28
|
-
background-color: darken(desaturate($bg, 10%), 6%);
|
|
29
|
-
background-image: none;
|
|
30
|
-
border-color: rgba($black, 0.35); // repeat to avoid shift on click-drag off of button
|
|
31
|
-
box-shadow: $btn-active-shadow;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&:disabled,
|
|
35
|
-
&.disabled {
|
|
36
|
-
color: rgba($color, 0.4);
|
|
37
|
-
background-color: $bg2;
|
|
38
|
-
background-image: none;
|
|
39
|
-
border-color: transparentize($black, 0.8); // back to default .btn
|
|
40
|
-
box-shadow: none;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
} @else {
|
|
44
|
-
&:focus,
|
|
45
|
-
&.focus {
|
|
46
|
-
box-shadow: 0 0 0 0.2em rgba($bg, 0.4);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
&:hover,
|
|
50
|
-
&.hover {
|
|
51
|
-
background-color: darken($bg2, 2%);
|
|
52
|
-
background-image: linear-gradient(-180deg, darken($bg, 2%) 0%, darken($bg2, 2%) 90%);
|
|
53
|
-
background-position: 0 -$em-spacer-5;
|
|
54
|
-
border-color: $black-fade-50;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
&:active,
|
|
58
|
-
&.selected,
|
|
59
|
-
[open] > & {
|
|
60
|
-
background-color: darken(mix($bg, $bg2, 50%), 7%);
|
|
61
|
-
background-image: none;
|
|
62
|
-
border-color: $black-fade-50; // repeat to avoid shift on click-drag off of button
|
|
63
|
-
box-shadow: $btn-active-shadow;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
&:disabled,
|
|
67
|
-
&.disabled {
|
|
68
|
-
color: rgba($color, 0.75);
|
|
69
|
-
background-color: mix($bg2, $white, 50%);
|
|
70
|
-
background-image: none;
|
|
71
|
-
border-color: transparentize($black, 0.8); // repeat .btn default to avoid shift on click-drag off of button
|
|
72
|
-
box-shadow: none;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.Counter {
|
|
76
|
-
color: darken($bg, 8%);
|
|
77
|
-
background-color: $white;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
// Inverse button hover style
|
|
83
|
-
@mixin btn-inverse($color, $bg, $bg2) {
|
|
84
|
-
color: $color;
|
|
85
|
-
background-color: $bg;
|
|
86
|
-
background-image: linear-gradient(-180deg, $bg 0%, $bg2 90%);
|
|
87
|
-
|
|
88
|
-
&:focus {
|
|
89
|
-
box-shadow: 0 0 0 0.2em rgba($color, 0.4);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
&:hover {
|
|
93
|
-
color: $text-white;
|
|
94
|
-
background-color: $color;
|
|
95
|
-
background-image: linear-gradient(-180deg, lighten($color, 10%) 0%, $color 90%);
|
|
96
|
-
border-color: $black-fade-50;
|
|
97
|
-
|
|
98
|
-
.Counter {
|
|
99
|
-
color: $text-white;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
&:active,
|
|
104
|
-
&.selected,
|
|
105
|
-
[open] > & {
|
|
106
|
-
color: $text-white;
|
|
107
|
-
background-color: darken($color, 5%);
|
|
108
|
-
background-image: none;
|
|
109
|
-
border-color: $black-fade-50;
|
|
110
|
-
box-shadow: $btn-active-shadow;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
&:disabled,
|
|
114
|
-
&.disabled {
|
|
115
|
-
color: rgba($color, 0.4);
|
|
116
|
-
background-color: $bg2;
|
|
117
|
-
background-image: none;
|
|
118
|
-
border-color: transparentize($black, 0.8); // back to default .btn
|
|
119
|
-
box-shadow: none;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
// Outline color generator for btn-outline to make the hover state inverse the text and bg colors.
|
|
124
|
-
@mixin btn-outline($text-color: $text-blue, $bg-color: $bg-white) {
|
|
125
|
-
color: $text-color;
|
|
126
|
-
background-color: $bg-color;
|
|
127
|
-
background-image: none;
|
|
128
|
-
|
|
129
|
-
.Counter {
|
|
130
|
-
background-color: rgba($black, 0.07);
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
&:hover,
|
|
134
|
-
&:active,
|
|
135
|
-
&.selected,
|
|
136
|
-
[open] > & {
|
|
137
|
-
color: $bg-color;
|
|
138
|
-
background-color: $text-color;
|
|
139
|
-
background-image: none;
|
|
140
|
-
border-color: $text-color;
|
|
141
|
-
|
|
142
|
-
.Counter {
|
|
143
|
-
color: $text-color;
|
|
144
|
-
background-color: $bg-color;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
&:focus {
|
|
149
|
-
border-color: $text-color;
|
|
150
|
-
box-shadow: 0 0 0 0.2em rgba($text-color, 0.4);
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
&:disabled,
|
|
154
|
-
&.disabled {
|
|
155
|
-
color: $black-fade-30;
|
|
156
|
-
background-color: $bg-white;
|
|
157
|
-
border-color: $black-fade-15;
|
|
158
|
-
box-shadow: none;
|
|
159
|
-
}
|
|
160
|
-
}
|
|
@@ -1,243 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
//
|
|
3
|
-
// -------- Grays --------
|
|
4
|
-
$gray-000: #fafbfc !default;
|
|
5
|
-
$gray-100: #f6f8fa !default;
|
|
6
|
-
$gray-200: #e1e4e8 !default;
|
|
7
|
-
$gray-300: #d1d5da !default;
|
|
8
|
-
$gray-400: #959da5 !default;
|
|
9
|
-
$gray-500: #6a737d !default;
|
|
10
|
-
$gray-600: #586069 !default;
|
|
11
|
-
$gray-700: #444d56 !default;
|
|
12
|
-
$gray-800: #2f363d !default;
|
|
13
|
-
$gray-900: #24292e !default; // body font color
|
|
14
|
-
|
|
15
|
-
// -------- Blue --------
|
|
16
|
-
$blue-000: #f1f8ff !default;
|
|
17
|
-
$blue-100: #dbedff !default;
|
|
18
|
-
$blue-200: #c8e1ff !default;
|
|
19
|
-
$blue-300: #79b8ff !default;
|
|
20
|
-
$blue-400: #2188ff !default;
|
|
21
|
-
$blue-500: #0366d6 !default; // Default: Passes AA with #fff
|
|
22
|
-
$blue-600: #005cc5 !default;
|
|
23
|
-
$blue-700: #044289 !default;
|
|
24
|
-
$blue-800: #032f62 !default;
|
|
25
|
-
$blue-900: #05264c !default; // Passes with 1/2/300 blues
|
|
26
|
-
|
|
27
|
-
// -------- Green --------
|
|
28
|
-
$green-000: #f0fff4 !default;
|
|
29
|
-
$green-100: #dcffe4 !default;
|
|
30
|
-
$green-200: #bef5cb !default;
|
|
31
|
-
$green-300: #85e89d !default;
|
|
32
|
-
$green-400: #34d058 !default;
|
|
33
|
-
$green-500: #28a745 !default; // Default. passes AA Large
|
|
34
|
-
$green-600: #22863a !default; // Text green, passes AA on #fff
|
|
35
|
-
$green-700: #176f2c !default;
|
|
36
|
-
$green-800: #165c26 !default;
|
|
37
|
-
$green-900: #144620 !default;
|
|
38
|
-
|
|
39
|
-
// -------- Yellow --------
|
|
40
|
-
$yellow-000: #fffdef !default;
|
|
41
|
-
$yellow-100: #fffbdd !default;
|
|
42
|
-
$yellow-200: #fff5b1 !default;
|
|
43
|
-
$yellow-300: #ffea7f !default;
|
|
44
|
-
$yellow-400: #ffdf5d !default;
|
|
45
|
-
$yellow-500: #ffd33d !default;
|
|
46
|
-
$yellow-600: #f9c513 !default;
|
|
47
|
-
$yellow-700: #dbab09 !default;
|
|
48
|
-
$yellow-800: #b08800 !default;
|
|
49
|
-
$yellow-900: #735c0f !default;
|
|
50
|
-
|
|
51
|
-
// -------- Orange --------
|
|
52
|
-
$orange-000: #fff8f2 !default;
|
|
53
|
-
$orange-100: #ffebda !default;
|
|
54
|
-
$orange-200: #ffd1ac !default;
|
|
55
|
-
$orange-300: #ffab70 !default;
|
|
56
|
-
$orange-400: #fb8532 !default;
|
|
57
|
-
$orange-500: #f66a0a !default; // Default. passes AA Large with #fff
|
|
58
|
-
$orange-600: #e36209 !default;
|
|
59
|
-
$orange-700: #d15704 !default;
|
|
60
|
-
$orange-800: #c24e00 !default;
|
|
61
|
-
$orange-900: #a04100 !default;
|
|
62
|
-
|
|
63
|
-
// -------- Red --------
|
|
64
|
-
$red-000: #ffeef0 !default;
|
|
65
|
-
$red-100: #ffdce0 !default;
|
|
66
|
-
$red-200: #fdaeb7 !default;
|
|
67
|
-
$red-300: #f97583 !default;
|
|
68
|
-
$red-400: #ea4a5a !default;
|
|
69
|
-
$red-500: #d73a49 !default; // Default. passes AA
|
|
70
|
-
$red-600: #cb2431 !default;
|
|
71
|
-
$red-700: #b31d28 !default;
|
|
72
|
-
$red-800: #9e1c23 !default;
|
|
73
|
-
$red-900: #86181d !default;
|
|
74
|
-
|
|
75
|
-
// -------- Purple --------
|
|
76
|
-
$purple-000: #f5f0ff !default;
|
|
77
|
-
$purple-100: #e6dcfd !default;
|
|
78
|
-
$purple-200: #d1bcf9 !default;
|
|
79
|
-
$purple-300: #b392f0 !default;
|
|
80
|
-
$purple-400: #8a63d2 !default;
|
|
81
|
-
$purple-500: #6f42c1 !default; // passes AA with #fff
|
|
82
|
-
$purple-600: #5a32a3 !default;
|
|
83
|
-
$purple-700: #4c2889 !default;
|
|
84
|
-
$purple-800: #3a1d6e !default;
|
|
85
|
-
$purple-900: #29134e !default;
|
|
86
|
-
|
|
87
|
-
// -------- Pink --------
|
|
88
|
-
$pink-000: #ffeef8 !default;
|
|
89
|
-
$pink-100: #fedbf0 !default;
|
|
90
|
-
$pink-200: #f9b3dd !default;
|
|
91
|
-
$pink-300: #f692ce !default;
|
|
92
|
-
$pink-400: #ec6cb9 !default;
|
|
93
|
-
$pink-500: #ea4aaa !default;
|
|
94
|
-
$pink-600: #d03592 !default;
|
|
95
|
-
$pink-700: #b93a86 !default;
|
|
96
|
-
$pink-800: #99306f !default;
|
|
97
|
-
$pink-900: #6d224f !default;
|
|
98
|
-
|
|
99
|
-
// -------- Fades --------
|
|
100
|
-
// Black based on same hue as $gray-900
|
|
101
|
-
$black: #1b1f23 !default;
|
|
102
|
-
$white: #fff !default;
|
|
103
|
-
|
|
104
|
-
$black-fade-15: rgba($black, 0.15) !default;
|
|
105
|
-
$black-fade-30: rgba($black, 0.3) !default;
|
|
106
|
-
$black-fade-50: rgba($black, 0.5) !default;
|
|
107
|
-
$black-fade-70: rgba($black, 0.7) !default;
|
|
108
|
-
$black-fade-85: rgba($black, 0.85) !default;
|
|
109
|
-
|
|
110
|
-
$white-fade-15: rgba($white, 0.15) !default;
|
|
111
|
-
$white-fade-30: rgba($white, 0.3) !default;
|
|
112
|
-
$white-fade-50: rgba($white, 0.5) !default;
|
|
113
|
-
$white-fade-70: rgba($white, 0.7) !default;
|
|
114
|
-
$white-fade-85: rgba($white, 0.85) !default;
|
|
115
|
-
|
|
116
|
-
// -------- Color defaults --------
|
|
117
|
-
$red: $red-500 !default;
|
|
118
|
-
$purple: $purple-500 !default;
|
|
119
|
-
$blue: $blue-500 !default;
|
|
120
|
-
$green: $green-500 !default;
|
|
121
|
-
$yellow: $yellow-500 !default;
|
|
122
|
-
$orange: $orange-500 !default;
|
|
123
|
-
|
|
124
|
-
$gray-dark: $gray-900 !default;
|
|
125
|
-
$gray-light: $gray-400 !default;
|
|
126
|
-
$gray: $gray-500 !default;
|
|
127
|
-
|
|
128
|
-
// -------- Color gradient maps --------
|
|
129
|
-
|
|
130
|
-
$grays: (
|
|
131
|
-
0: $gray-000,
|
|
132
|
-
1: $gray-100,
|
|
133
|
-
2: $gray-200,
|
|
134
|
-
3: $gray-300,
|
|
135
|
-
4: $gray-400,
|
|
136
|
-
5: $gray-500,
|
|
137
|
-
6: $gray-600,
|
|
138
|
-
7: $gray-700,
|
|
139
|
-
8: $gray-800,
|
|
140
|
-
9: $gray-900,
|
|
141
|
-
) !default;
|
|
142
|
-
|
|
143
|
-
$blues: (
|
|
144
|
-
0: $blue-000,
|
|
145
|
-
1: $blue-100,
|
|
146
|
-
2: $blue-200,
|
|
147
|
-
3: $blue-300,
|
|
148
|
-
4: $blue-400,
|
|
149
|
-
5: $blue-500,
|
|
150
|
-
6: $blue-600,
|
|
151
|
-
7: $blue-700,
|
|
152
|
-
8: $blue-800,
|
|
153
|
-
9: $blue-900,
|
|
154
|
-
) !default;
|
|
155
|
-
|
|
156
|
-
$greens: (
|
|
157
|
-
0: $green-000,
|
|
158
|
-
1: $green-100,
|
|
159
|
-
2: $green-200,
|
|
160
|
-
3: $green-300,
|
|
161
|
-
4: $green-400,
|
|
162
|
-
5: $green-500,
|
|
163
|
-
6: $green-600,
|
|
164
|
-
7: $green-700,
|
|
165
|
-
8: $green-800,
|
|
166
|
-
9: $green-900,
|
|
167
|
-
) !default;
|
|
168
|
-
|
|
169
|
-
$yellows: (
|
|
170
|
-
0: $yellow-000,
|
|
171
|
-
1: $yellow-100,
|
|
172
|
-
2: $yellow-200,
|
|
173
|
-
3: $yellow-300,
|
|
174
|
-
4: $yellow-400,
|
|
175
|
-
5: $yellow-500,
|
|
176
|
-
6: $yellow-600,
|
|
177
|
-
7: $yellow-700,
|
|
178
|
-
8: $yellow-800,
|
|
179
|
-
9: $yellow-900,
|
|
180
|
-
) !default;
|
|
181
|
-
|
|
182
|
-
$oranges: (
|
|
183
|
-
0: $orange-000,
|
|
184
|
-
1: $orange-100,
|
|
185
|
-
2: $orange-200,
|
|
186
|
-
3: $orange-300,
|
|
187
|
-
4: $orange-400,
|
|
188
|
-
5: $orange-500,
|
|
189
|
-
6: $orange-600,
|
|
190
|
-
7: $orange-700,
|
|
191
|
-
8: $orange-800,
|
|
192
|
-
9: $orange-900,
|
|
193
|
-
) !default;
|
|
194
|
-
|
|
195
|
-
$reds: (
|
|
196
|
-
0: $red-000,
|
|
197
|
-
1: $red-100,
|
|
198
|
-
2: $red-200,
|
|
199
|
-
3: $red-300,
|
|
200
|
-
4: $red-400,
|
|
201
|
-
5: $red-500,
|
|
202
|
-
6: $red-600,
|
|
203
|
-
7: $red-700,
|
|
204
|
-
8: $red-800,
|
|
205
|
-
9: $red-900,
|
|
206
|
-
) !default;
|
|
207
|
-
|
|
208
|
-
$purples: (
|
|
209
|
-
0: $purple-000,
|
|
210
|
-
1: $purple-100,
|
|
211
|
-
2: $purple-200,
|
|
212
|
-
3: $purple-300,
|
|
213
|
-
4: $purple-400,
|
|
214
|
-
5: $purple-500,
|
|
215
|
-
6: $purple-600,
|
|
216
|
-
7: $purple-700,
|
|
217
|
-
8: $purple-800,
|
|
218
|
-
9: $purple-900,
|
|
219
|
-
) !default;
|
|
220
|
-
|
|
221
|
-
$pinks: (
|
|
222
|
-
0: $pink-000,
|
|
223
|
-
1: $pink-100,
|
|
224
|
-
2: $pink-200,
|
|
225
|
-
3: $pink-300,
|
|
226
|
-
4: $pink-400,
|
|
227
|
-
5: $pink-500,
|
|
228
|
-
6: $pink-600,
|
|
229
|
-
7: $pink-700,
|
|
230
|
-
8: $pink-800,
|
|
231
|
-
9: $pink-900,
|
|
232
|
-
) !default;
|
|
233
|
-
|
|
234
|
-
$hue-maps: (
|
|
235
|
-
gray: $grays,
|
|
236
|
-
blue: $blues,
|
|
237
|
-
green: $greens,
|
|
238
|
-
yellow: $yellows,
|
|
239
|
-
orange: $oranges,
|
|
240
|
-
red: $reds,
|
|
241
|
-
purple: $purples,
|
|
242
|
-
pink: $pinks,
|
|
243
|
-
) !default;
|