Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 2e9837c

Browse files
Fix Warning
1 parent fa30104 commit 2e9837c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/styles.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
@use "sass:meta";
12
/* You can add global styles to this file, and also import other style files */
23

34
// Tailwind CSS will be compiled separately and imported via angular.json
@@ -7,8 +8,8 @@
78
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
89

910
// Import Material Design 3 tokens and Material You theme
10-
@import './styles/material-tokens.scss';
11-
@import './styles/material-you-theme.scss';
11+
@include meta.load-css('styles/material-tokens.scss');
12+
@include meta.load-css('styles/material-you-theme.scss');
1213

1314
html, body {
1415
height: 100%;

src/styles/material-you-theme.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Material You Dynamic Color Theme Generator
22
// This file provides utilities for creating Material You themes
33

4-
@import './material-tokens.scss';
4+
@use 'material-tokens.scss';
55

66
// Base Material You Theme Class
77
.material-you-theme {

0 commit comments

Comments
 (0)