@primer/css 0.0.0-20221121175732 → 0.0.0-20221121211438
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 +1 -1
- package/dist/meta.json +11 -11
- package/package.json +1 -1
- package/utilities/borders.scss +8 -8
package/CHANGELOG.md
CHANGED
package/dist/meta.json
CHANGED
|
@@ -33,6 +33,17 @@
|
|
|
33
33
|
"legacy": "primer-loaders/index.scss",
|
|
34
34
|
"imports": []
|
|
35
35
|
},
|
|
36
|
+
"progress": {
|
|
37
|
+
"name": "progress",
|
|
38
|
+
"source": "src/progress/index.scss",
|
|
39
|
+
"sass": "@primer/css/progress/index.scss",
|
|
40
|
+
"css": "dist/progress.css",
|
|
41
|
+
"map": "dist/progress.css.map",
|
|
42
|
+
"js": "dist/progress.js",
|
|
43
|
+
"stats": "dist/stats/progress.json",
|
|
44
|
+
"legacy": "primer-progress/index.scss",
|
|
45
|
+
"imports": []
|
|
46
|
+
},
|
|
36
47
|
"branch-name": {
|
|
37
48
|
"name": "branch-name",
|
|
38
49
|
"source": "src/branch-name/index.scss",
|
|
@@ -143,17 +154,6 @@
|
|
|
143
154
|
"legacy": "primer-overlay/index.scss",
|
|
144
155
|
"imports": []
|
|
145
156
|
},
|
|
146
|
-
"progress": {
|
|
147
|
-
"name": "progress",
|
|
148
|
-
"source": "src/progress/index.scss",
|
|
149
|
-
"sass": "@primer/css/progress/index.scss",
|
|
150
|
-
"css": "dist/progress.css",
|
|
151
|
-
"map": "dist/progress.css.map",
|
|
152
|
-
"js": "dist/progress.js",
|
|
153
|
-
"stats": "dist/stats/progress.json",
|
|
154
|
-
"legacy": "primer-progress/index.scss",
|
|
155
|
-
"imports": []
|
|
156
|
-
},
|
|
157
157
|
"truncate": {
|
|
158
158
|
"name": "truncate",
|
|
159
159
|
"source": "src/truncate/index.scss",
|
package/package.json
CHANGED
package/utilities/borders.scss
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Core border utilities
|
|
2
|
-
// stylelint-disable block-opening-brace-space-before
|
|
2
|
+
// stylelint-disable block-opening-brace-space-before, primer/borders
|
|
3
3
|
|
|
4
4
|
/* Add a gray border to the left and right */
|
|
5
5
|
.border-x {
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
.border#{$variant}-left-0 { border-left: 0 !important; }
|
|
32
32
|
|
|
33
33
|
// Rounded corners
|
|
34
|
-
.rounded#{$variant} { border-radius: var(--primer-borderRadius-medium,
|
|
34
|
+
.rounded#{$variant} { border-radius: var(--primer-borderRadius-medium, $border-radius-2) !important; }
|
|
35
35
|
.rounded#{$variant}-0 { border-radius: 0 !important; }
|
|
36
|
-
.rounded#{$variant}-1 { border-radius: var(--primer-borderRadius-small,
|
|
37
|
-
.rounded#{$variant}-2 { border-radius: var(--primer-borderRadius-medium,
|
|
38
|
-
.rounded#{$variant}-3 { border-radius: var(--primer-borderRadius-large,
|
|
36
|
+
.rounded#{$variant}-1 { border-radius: var(--primer-borderRadius-small, $border-radius-1) !important; }
|
|
37
|
+
.rounded#{$variant}-2 { border-radius: var(--primer-borderRadius-medium, $border-radius-2) !important; }
|
|
38
|
+
.rounded#{$variant}-3 { border-radius: var(--primer-borderRadius-large, $border-radius-3) !important; }
|
|
39
39
|
|
|
40
40
|
@each $edge, $corners in $edges {
|
|
41
41
|
.rounded#{$variant}-#{$edge}-0 {
|
|
@@ -46,19 +46,19 @@
|
|
|
46
46
|
|
|
47
47
|
.rounded#{$variant}-#{$edge}-1 {
|
|
48
48
|
@each $corner in $corners {
|
|
49
|
-
border-#{$corner}-radius: var(--primer-borderRadius-small,
|
|
49
|
+
border-#{$corner}-radius: var(--primer-borderRadius-small, $border-radius-1) !important;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
.rounded#{$variant}-#{$edge}-2 {
|
|
54
54
|
@each $corner in $corners {
|
|
55
|
-
border-#{$corner}-radius: var(--primer-borderRadius-medium,
|
|
55
|
+
border-#{$corner}-radius: var(--primer-borderRadius-medium, $border-radius-2) !important;
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
.rounded#{$variant}-#{$edge}-3 {
|
|
60
60
|
@each $corner in $corners {
|
|
61
|
-
border-#{$corner}-radius: var(--primer-borderRadius-medium,
|
|
61
|
+
border-#{$corner}-radius: var(--primer-borderRadius-medium, $border-radius-3) !important;
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
}
|