@microsoft/atlas-css 3.38.1 → 3.39.1
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/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/package.json +3 -3
- package/src/atomics/colors.scss +2 -0
- package/src/components/hero.scss +15 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/atlas-css",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.39.1",
|
|
4
4
|
"description": "Styles backing the Atlas Design System used by Microsoft's Developer Relations.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
@@ -73,11 +73,11 @@
|
|
|
73
73
|
"license": "MIT",
|
|
74
74
|
"devDependencies": {
|
|
75
75
|
"@microsoft/stylelint-config-atlas": "4.1.0",
|
|
76
|
-
"@parcel/transformer-sass": "^2.
|
|
76
|
+
"@parcel/transformer-sass": "^2.11.0",
|
|
77
77
|
"css-tree": "^2.3.1",
|
|
78
78
|
"eslint-plugin-security": "^1.7.1",
|
|
79
79
|
"fs-extra": "^11.1.1",
|
|
80
|
-
"parcel": "^2.
|
|
80
|
+
"parcel": "^2.11.0",
|
|
81
81
|
"lightningcss": "1.21.1",
|
|
82
82
|
"prettier": "^2.8.8",
|
|
83
83
|
"quicktype-core": "^23.0.48",
|
package/src/atomics/colors.scss
CHANGED
|
@@ -178,9 +178,11 @@
|
|
|
178
178
|
}
|
|
179
179
|
|
|
180
180
|
.background-color-white-static {
|
|
181
|
+
outline-color: $black-static !important;
|
|
181
182
|
background-color: $white-static !important;
|
|
182
183
|
}
|
|
183
184
|
|
|
184
185
|
.background-color-black-static {
|
|
186
|
+
outline-color: $white-static !important;
|
|
185
187
|
background-color: $black-static !important;
|
|
186
188
|
}
|
package/src/components/hero.scss
CHANGED
|
@@ -137,4 +137,19 @@ $hero-image-width-widescreen: calc((100% - 2 * $layout-widescreen-gap) * 0.55) !
|
|
|
137
137
|
--hero-background-image: none;
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
|
+
|
|
141
|
+
// Set direction to prevent image flip for rtl
|
|
142
|
+
|
|
143
|
+
&.hero-image:dir(rtl) {
|
|
144
|
+
direction: ltr;
|
|
145
|
+
|
|
146
|
+
.hero-content {
|
|
147
|
+
direction: rtl;
|
|
148
|
+
|
|
149
|
+
@include desktop {
|
|
150
|
+
padding-inline-end: unset;
|
|
151
|
+
padding-inline-start: $hero-padding-sm;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
140
155
|
}
|