Skip to content

Commit c7b4e91

Browse files
committed
chore: prettier settings for all CSS
1 parent 942eb4e commit c7b4e91

File tree

4 files changed

+8
-40
lines changed

4 files changed

+8
-40
lines changed

.changeset/free-jokes-attack.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@spectrum-web-components/dialog': patch
3+
'@spectrum-web-components/styles': patch
4+
---
5+
6+
Remove unnecessary abstraction layer for system theming.

packages/dialog/src/dialog-overrides.css

Lines changed: 0 additions & 35 deletions
This file was deleted.

packages/dialog/src/dialog.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ governing permissions and limitations under the License.
3838
height: auto;
3939
}
4040

41-
/* We may remove this override when CSS fixes unused `header` and `typeIcon` areas */
4241
.grid {
4342
grid-template-areas:
4443
"hero hero hero hero hero hero"

packages/dialog/src/spectrum-dialog.css

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ OF ANY KIND, either express or implied. See the License for the specific languag
1010
governing permissions and limitations under the License.
1111
*/
1212

13-
/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */
1413
:host {
1514
--spectrum-dialog-confirm-divider-block-spacing-start: var(--spectrum-spacing-300);
1615
--spectrum-dialog-confirm-divider-block-spacing-end: var(--spectrum-spacing-200);
@@ -31,11 +30,11 @@ governing permissions and limitations under the License.
3130
display: flex;
3231
}
3332

34-
.spectrum-Dialog--sizeS {
33+
:host([size="s"]) {
3534
--mod-dialog-width: var(--mod-dialog-confirm-small-width, 400px);
3635
}
3736

38-
.spectrum-Dialog--sizeL {
37+
:host([size="l"]) {
3938
--mod-dialog-width: var(--mod-dialog-confirm-large-width, 640px);
4039
}
4140

@@ -208,7 +207,6 @@ governing permissions and limitations under the License.
208207

209208
:host([mode="fullscreen"]) ::slotted([slot="heading"]),
210209
:host([mode="fullscreenTakeover"]) ::slotted([slot="heading"]) {
211-
font-size: 28px;
212210
font-size: var(--mod-dialog-fullscreen-header-text-size, 28px);
213211
}
214212

0 commit comments

Comments
 (0)