jekyll-rtd-theme 2.0.6 → 2.0.7
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.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/_includes/class/_breadcrumbs.liquid +1 -1
- data/_includes/class/_footer.liquid +11 -9
- data/_includes/node/links.liquid +2 -2
- data/_includes/node/script.extension.liquid +1 -1
- data/_includes/node/script.liquid +2 -2
- data/_includes/reset/content.liquid +1 -0
- data/_includes/reset/variables.liquid +3 -2
- data/_includes/reset/version.liquid +1 -1
- data/_layouts/default.liquid +1 -1
- data/_layouts/plugins/compress.liquid +1 -1
- data/_layouts/plugins/{extension.liquid → shortcodes.liquid} +1 -1
- data/_sass/_direction.scss +92 -0
- data/_sass/_layout.scss +4 -3
- data/_sass/_variables.scss +1 -0
- data/_sass/class/markdown-body.scss +5 -3
- data/_sass/lib/@primer/css/base/README.md +24 -0
- data/_sass/{@primer → lib/@primer}/css/base/base.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/base/index.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/base/kbd.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/base/normalize.scss +1 -0
- data/_sass/{@primer → lib/@primer}/css/base/typography-base.scss +0 -0
- data/_sass/lib/@primer/css/breadcrumb/README.md +24 -0
- data/_sass/{@primer → lib/@primer}/css/breadcrumb/breadcrumb.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/breadcrumb/index.scss +0 -0
- data/_sass/lib/@primer/css/buttons/README.md +24 -0
- data/_sass/{@primer → lib/@primer}/css/buttons/button-group.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/buttons/button.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/buttons/index.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/buttons/misc.scss +0 -0
- data/_sass/lib/@primer/css/forms/README.md +24 -0
- data/_sass/{@primer → lib/@primer}/css/forms/form-control.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/forms/form-group.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/forms/form-select.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/forms/form-validation.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/forms/index.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/forms/input-group.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/forms/radio-group.scss +0 -0
- data/_sass/lib/@primer/css/loaders/README.md +24 -0
- data/_sass/{@primer → lib/@primer}/css/loaders/index.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/loaders/loaders.scss +0 -0
- data/_sass/lib/@primer/css/markdown/README.md +24 -0
- data/_sass/{@primer → lib/@primer}/css/markdown/blob-csv.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/markdown/code.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/markdown/headings.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/markdown/images.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/markdown/index.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/markdown/lists.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/markdown/markdown-body.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/markdown/tables.scss +0 -0
- data/_sass/lib/@primer/css/support/README.md +24 -0
- data/_sass/{@primer → lib/@primer}/css/support/index.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/support/mixins/buttons.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/support/mixins/layout.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/support/mixins/misc.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/support/mixins/typography.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/support/variables/color-system.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/support/variables/colors.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/support/variables/layout.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/support/variables/misc.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/support/variables/typography.scss +0 -0
- data/_sass/lib/@primer/css/utilities/README.md +24 -0
- data/_sass/{@primer → lib/@primer}/css/utilities/animations.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/utilities/borders.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/utilities/box-shadow.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/utilities/colors.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/utilities/details.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/utilities/flexbox.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/utilities/index.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/utilities/layout.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/utilities/margin.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/utilities/padding.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/utilities/typography.scss +0 -0
- data/_sass/{@primer → lib/@primer}/css/utilities/visibility-display.scss +0 -0
- data/_sass/{font-awesome → lib/font-awesome}/_icons.scss +0 -0
- data/_sass/{font-awesome → lib/font-awesome}/_variables.scss +0 -0
- data/_sass/{material-design-lite → lib/material-design-lite}/_color-definitions.scss +0 -0
- data/_sass/{material-design-lite → lib/material-design-lite}/_functions.scss +0 -0
- data/_sass/{material-design-lite → lib/material-design-lite}/_mixins.scss +0 -0
- data/_sass/{material-design-lite → lib/material-design-lite}/_variables.scss +0 -0
- data/_sass/{rouge → lib/rouge}/github.scss +0 -0
- data/_sass/theme.scss +16 -13
- data/assets/css/theme.min.css +1 -1
- data/assets/images/apple-touch-icon-300x300.jpg +0 -0
- metadata +70 -61
- data/assets/images/apple-touch-icon-300x300.png +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c1d81c4e4bca30f30060d2ff431ec4bd788637fe6e4194838a06e8fb1554859a
|
|
4
|
+
data.tar.gz: e83a3adaaabd7968459adffe41e74c4264d9695e61134855456384fb7807f231
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2a83835f2e9a9a729cbb0afc39495208a66903597156586356471419dbfe537b969f381ca6a980ac8ca752ccdf4ac2aaf516bcb15667b5c84643522ead8483e7
|
|
7
|
+
data.tar.gz: 35cbfe025b744d57243941837d2732667fad23e79da865cc5003fb4c0472a35d7aaac0a5974a7697b78ac761ca550b47de3fc0036dc148bc9a0507cd31081657
|
data/README.md
CHANGED
|
@@ -38,6 +38,8 @@ readme_index:
|
|
|
38
38
|
with_frontmatter: true
|
|
39
39
|
|
|
40
40
|
## optional settings ##
|
|
41
|
+
direction: # default: auto, syntax: [ltr|rtl]
|
|
42
|
+
|
|
41
43
|
meta:
|
|
42
44
|
key1: value1
|
|
43
45
|
key2: value2
|
|
@@ -65,6 +67,8 @@ translate:
|
|
|
65
67
|
warning:
|
|
66
68
|
# 404
|
|
67
69
|
not_found:
|
|
70
|
+
# copyright
|
|
71
|
+
revision:
|
|
68
72
|
# search
|
|
69
73
|
searching:
|
|
70
74
|
search:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<div class="navigation-top d-flex flex-justify-between">
|
|
2
2
|
<ul class="breadcrumb" role="navigation" aria-label="breadcrumbs navigation">
|
|
3
3
|
<li class="breadcrumb-item">
|
|
4
|
-
<a class="no-underline" href="{{ site.baseurl }}/">
|
|
4
|
+
<a class="no-underline" href="{{ site.baseurl }}/" title="{{ docs.source.path }}">
|
|
5
5
|
<i class="fa fa-home"></i>
|
|
6
6
|
</a>
|
|
7
7
|
</li>
|
|
@@ -24,18 +24,20 @@
|
|
|
24
24
|
|
|
25
25
|
<div class="copyright text-center text-gray" role="contentinfo">
|
|
26
26
|
<i class="fa fa-copyright"></i>
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
{
|
|
31
|
-
|
|
32
|
-
{
|
|
33
|
-
|
|
27
|
+
<span class="time">
|
|
28
|
+
{%- assign created_time = rest_created_at | date: "%Y" -%}
|
|
29
|
+
{%- assign updated_time = rest_updated_at | date: "%Y" -%}
|
|
30
|
+
{%- if created_time == updated_time -%}
|
|
31
|
+
{{- created_time -}},
|
|
32
|
+
{%- else -%}
|
|
33
|
+
{{- created_time }}-{{ updated_time -}},
|
|
34
|
+
{%- endif -%}
|
|
35
|
+
</span>
|
|
34
36
|
<a class="text-gray" href="{{ docs.owner_url }}" target="_blank">
|
|
35
|
-
{{ author }}
|
|
37
|
+
{{- author -}}
|
|
36
38
|
</a>
|
|
37
39
|
{{ __.revision | default: "Revision" }}
|
|
38
40
|
<a class="text-gray" href="{{ docs.repository_url }}/commit/{{ docs.build_revision }}" title="{{ docs.build_revision }}" target="_blank">
|
|
39
|
-
{{ docs.build_revision | slice: 0, 7 }}
|
|
41
|
+
{{- docs.build_revision | slice: 0, 7 -}}
|
|
40
42
|
</a>
|
|
41
43
|
</div>
|
data/_includes/node/links.liquid
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
{%- endif -%}
|
|
15
15
|
|
|
16
16
|
{% comment %} theme {% endcomment %}
|
|
17
|
-
<link rel="stylesheet" href="{{
|
|
17
|
+
<link rel="stylesheet" href="{{ base }}/assets/css/theme{% if site.debug.dist != false %}.min{% endif %}.css">
|
|
18
18
|
|
|
19
19
|
{%- if custom_scss.size > 0 -%}
|
|
20
20
|
<style>{{ custom_scss | scssify | strip_newlines }}</style>
|
|
@@ -30,4 +30,4 @@
|
|
|
30
30
|
<link rel="mask-icon" href="{{ site.baseurl }}/assets/images/favicon.svg" color="#2980b9">
|
|
31
31
|
|
|
32
32
|
{% comment %} apple-touch-icon {% endcomment %}
|
|
33
|
-
<link rel="apple-touch-icon" href="{{ site.baseurl }}/assets/images/apple-touch-icon-300x300.
|
|
33
|
+
<link rel="apple-touch-icon" href="{{ site.baseurl }}/assets/images/apple-touch-icon-300x300.jpg">
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
{%- if site.mermaid.custom -%}
|
|
4
4
|
<script src="{{ site.mermaid.custom }}"></script>
|
|
5
5
|
{%- else -%}
|
|
6
|
-
<script src="{{
|
|
6
|
+
<script src="{{ base }}/assets/js/mermaid.min.js"></script>
|
|
7
7
|
{%- endif %}
|
|
8
8
|
<script>
|
|
9
9
|
mermaid.initialize({% if site.mermaid.initialize %}{{ site.mermaid.initialize | jsonify }}{% else %}{}{% endif %});
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
</script>
|
|
13
|
-
<script src="{{
|
|
13
|
+
<script src="{{ base }}/assets/js/jquery.min.js"></script>
|
|
14
14
|
|
|
15
15
|
{%- if custom_script.size > 0 -%}
|
|
16
16
|
<script>{{ custom_script }}</script>
|
|
17
17
|
{%- endif -%}
|
|
18
18
|
|
|
19
|
-
<script src="{{
|
|
19
|
+
<script src="{{ base }}/assets/js/theme{% if site.debug.dist != false %}.min{% endif %}.js"></script>
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
{%- assign rest_created_at = rest.created_at | default: site.time -%}
|
|
7
7
|
{%- assign rest_updated_at = rest.updated_at | default: site.time -%}
|
|
8
8
|
|
|
9
|
+
{%- assign direction = site.direction | default: "auto" -%}
|
|
9
10
|
{%- assign lang = site.lang | default: "en" -%}
|
|
10
11
|
{%- assign author = docs.owner.name | default: docs.owner_name -%}
|
|
11
12
|
|
|
@@ -16,9 +17,9 @@
|
|
|
16
17
|
|
|
17
18
|
{% comment %} debug {% endcomment %}
|
|
18
19
|
{%- if site.debug -%}
|
|
19
|
-
{%- assign
|
|
20
|
+
{%- assign base = site.baseurl -%}
|
|
20
21
|
{%- else -%}
|
|
21
|
-
{%- assign
|
|
22
|
+
{%- assign base = "https://cdn.jsdelivr.net/gh/rundocs/jekyll-rtd-theme@" | append: version -%}
|
|
22
23
|
{%- endif -%}
|
|
23
24
|
|
|
24
25
|
{% comment %} custom {% endcomment %}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{%- assign version = "2.0.
|
|
1
|
+
{%- assign version = "2.0.7" -%}
|
data/_layouts/default.liquid
CHANGED
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
html[dir="rtl"] {
|
|
2
|
+
// common
|
|
3
|
+
ul,
|
|
4
|
+
ol {
|
|
5
|
+
padding-right: 0;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
dd {
|
|
9
|
+
margin-right: 0;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
// layout
|
|
13
|
+
.menu-sm {
|
|
14
|
+
left: unset;
|
|
15
|
+
right: -$theme-menu-width-sm;
|
|
16
|
+
|
|
17
|
+
&.shift {
|
|
18
|
+
left: unset;
|
|
19
|
+
right: 0;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
.content-wrap {
|
|
23
|
+
&.shift {
|
|
24
|
+
left: unset;
|
|
25
|
+
right: $theme-menu-width-sm;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@include breakpoint(md) {
|
|
30
|
+
.menu-md {
|
|
31
|
+
left: unset;
|
|
32
|
+
right: 0;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.content-wrap {
|
|
36
|
+
margin-left: unset;
|
|
37
|
+
margin-right: $theme-menu-width;
|
|
38
|
+
|
|
39
|
+
&.shift {
|
|
40
|
+
left: unset;
|
|
41
|
+
right: 0;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
// toctree
|
|
47
|
+
.toctree {
|
|
48
|
+
.fa {
|
|
49
|
+
margin-right: unset;
|
|
50
|
+
margin-left: 2px;
|
|
51
|
+
}
|
|
52
|
+
> ul {
|
|
53
|
+
// the first level links
|
|
54
|
+
> .toc > a {
|
|
55
|
+
padding-left: unset;
|
|
56
|
+
padding-right: $spacer-4 / 2;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
// toc layout
|
|
62
|
+
.toc {
|
|
63
|
+
@for $level from 1 through 11 {
|
|
64
|
+
&.level-#{$level}.current {
|
|
65
|
+
> a {
|
|
66
|
+
padding-left: unset;
|
|
67
|
+
padding-right: $spacer-4 * ($level - 1 + 0.5);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.level-#{$level + 1} > a {
|
|
71
|
+
padding-left: unset;
|
|
72
|
+
padding-right: $spacer-4 * ($level + 0.5);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
// markdown-body
|
|
78
|
+
.markdown-body {
|
|
79
|
+
.d-lang {
|
|
80
|
+
&:after {
|
|
81
|
+
right: unset;
|
|
82
|
+
left: 0;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
// improved checkbox
|
|
87
|
+
.task-list-item-checkbox {
|
|
88
|
+
margin-right: unset;
|
|
89
|
+
margin-left: 3px;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
data/_sass/_layout.scss
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
.menu-sm {
|
|
2
2
|
position: fixed;
|
|
3
3
|
bottom: 0;
|
|
4
|
-
left: -
|
|
5
|
-
width:
|
|
4
|
+
left: -$theme-menu-width-sm;
|
|
5
|
+
width: $theme-menu-width-sm;
|
|
6
6
|
max-height: 100%;
|
|
7
7
|
|
|
8
8
|
&.shift {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
position: fixed;
|
|
30
30
|
top: 0;
|
|
31
31
|
bottom: 0;
|
|
32
|
-
left:
|
|
32
|
+
left: $theme-menu-width-sm;
|
|
33
33
|
min-width: 100%;
|
|
34
34
|
}
|
|
35
35
|
}
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
@extend .menu-md;
|
|
45
45
|
|
|
46
46
|
.sidebar {
|
|
47
|
+
// 20px for scroll
|
|
47
48
|
width: $theme-menu-width + 20px;
|
|
48
49
|
|
|
49
50
|
.header,
|
data/_sass/_variables.scss
CHANGED
|
@@ -31,6 +31,7 @@ $theme-mask-white: transparentize($theme-white, 0.9);
|
|
|
31
31
|
$theme-mask-black: transparentize($theme-black, 0.9);
|
|
32
32
|
|
|
33
33
|
// theme menu
|
|
34
|
+
$theme-menu-width-sm: 85%;
|
|
34
35
|
$theme-menu-width: 300px;
|
|
35
36
|
$theme-menu-background: darken($theme-black, 10%);
|
|
36
37
|
$theme-menu-active-background: darken($theme-blue, 15%);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.markdown-body {
|
|
2
|
-
|
|
2
|
+
.d-lang {
|
|
3
3
|
position: relative;
|
|
4
4
|
|
|
5
5
|
&:after {
|
|
@@ -55,6 +55,8 @@
|
|
|
55
55
|
float: none;
|
|
56
56
|
padding-right: 0;
|
|
57
57
|
margin-left: 3px;
|
|
58
|
+
// rtl
|
|
59
|
+
margin-right: 3px;
|
|
58
60
|
}
|
|
59
61
|
|
|
60
62
|
// improved
|
|
@@ -80,7 +82,7 @@
|
|
|
80
82
|
}
|
|
81
83
|
|
|
82
84
|
div.highlighter-rouge {
|
|
83
|
-
@
|
|
85
|
+
@extend .d-lang;
|
|
84
86
|
}
|
|
85
87
|
|
|
86
88
|
// search
|
|
@@ -101,7 +103,7 @@
|
|
|
101
103
|
font-size: $font-size-small;
|
|
102
104
|
font-family: $mono-font;
|
|
103
105
|
white-space: pre;
|
|
104
|
-
@
|
|
106
|
+
@extend .d-lang;
|
|
105
107
|
// mdl
|
|
106
108
|
@include shadow-2dp();
|
|
107
109
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
bundle: "base"
|
|
3
|
+
generated: true
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Primer CSS: `base` bundle
|
|
7
|
+
|
|
8
|
+
## Usage
|
|
9
|
+
|
|
10
|
+
Primer CSS source files are written in [SCSS]. To include this Primer CSS module in your own build, ensure that your `node_modules` directory is listed in your Sass include paths, then import it with:
|
|
11
|
+
|
|
12
|
+
```scss
|
|
13
|
+
@import "@primer/css/base/index.scss";
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Build
|
|
17
|
+
|
|
18
|
+
The `@primer/css` npm package includes a standalone CSS build of this module in `dist/base.css`.
|
|
19
|
+
|
|
20
|
+
## License
|
|
21
|
+
|
|
22
|
+
[MIT](https://github.com/primer/css/blob/master/LICENSE) © [GitHub](https://github.com/)
|
|
23
|
+
|
|
24
|
+
[scss]: https://sass-lang.com/documentation/syntax#scss
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
bundle: "breadcrumb"
|
|
3
|
+
generated: true
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Primer CSS: `breadcrumb` bundle
|
|
7
|
+
|
|
8
|
+
## Usage
|
|
9
|
+
|
|
10
|
+
Primer CSS source files are written in [SCSS]. To include this Primer CSS module in your own build, ensure that your `node_modules` directory is listed in your Sass include paths, then import it with:
|
|
11
|
+
|
|
12
|
+
```scss
|
|
13
|
+
@import "@primer/css/breadcrumb/index.scss";
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Build
|
|
17
|
+
|
|
18
|
+
The `@primer/css` npm package includes a standalone CSS build of this module in `dist/breadcrumb.css`.
|
|
19
|
+
|
|
20
|
+
## License
|
|
21
|
+
|
|
22
|
+
[MIT](https://github.com/primer/css/blob/master/LICENSE) © [GitHub](https://github.com/)
|
|
23
|
+
|
|
24
|
+
[scss]: https://sass-lang.com/documentation/syntax#scss
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
bundle: "buttons"
|
|
3
|
+
generated: true
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Primer CSS: `buttons` bundle
|
|
7
|
+
|
|
8
|
+
## Usage
|
|
9
|
+
|
|
10
|
+
Primer CSS source files are written in [SCSS]. To include this Primer CSS module in your own build, ensure that your `node_modules` directory is listed in your Sass include paths, then import it with:
|
|
11
|
+
|
|
12
|
+
```scss
|
|
13
|
+
@import "@primer/css/buttons/index.scss";
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Build
|
|
17
|
+
|
|
18
|
+
The `@primer/css` npm package includes a standalone CSS build of this module in `dist/buttons.css`.
|
|
19
|
+
|
|
20
|
+
## License
|
|
21
|
+
|
|
22
|
+
[MIT](https://github.com/primer/css/blob/master/LICENSE) © [GitHub](https://github.com/)
|
|
23
|
+
|
|
24
|
+
[scss]: https://sass-lang.com/documentation/syntax#scss
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
bundle: "forms"
|
|
3
|
+
generated: true
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Primer CSS: `forms` bundle
|
|
7
|
+
|
|
8
|
+
## Usage
|
|
9
|
+
|
|
10
|
+
Primer CSS source files are written in [SCSS]. To include this Primer CSS module in your own build, ensure that your `node_modules` directory is listed in your Sass include paths, then import it with:
|
|
11
|
+
|
|
12
|
+
```scss
|
|
13
|
+
@import "@primer/css/forms/index.scss";
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Build
|
|
17
|
+
|
|
18
|
+
The `@primer/css` npm package includes a standalone CSS build of this module in `dist/forms.css`.
|
|
19
|
+
|
|
20
|
+
## License
|
|
21
|
+
|
|
22
|
+
[MIT](https://github.com/primer/css/blob/master/LICENSE) © [GitHub](https://github.com/)
|
|
23
|
+
|
|
24
|
+
[scss]: https://sass-lang.com/documentation/syntax#scss
|