We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have created a theme.scss file, as per instructions here and am trying to compile it using dart sass but receive the following error:
Can't find stylesheet to import. ╷ 26 │ @use '@material/feature-targeting/feature-targeting';
My theme.scss file:
@use "@material/theme" with ( $primary: #BB86FC, $secondary: #03DAC6, $background: #121212 );
How do I compile my theme.scss file? I cannot find any information on which tool to use.
The text was updated successfully, but these errors were encountered:
I updated my theme.scss file to the following and compilation worked
@use "@material/theme" with ( $primary: #BB86FC, $secondary: #03DAC6, $background: #121212, $surface: #121212, $error: #CF6679, $on-primary: #000000, $on-secondary: #000000, $on-surface: #FFFFFF, $on-error: #000000 ); @import "@material/button/mdc-button"; @import "@material/ripple/mdc-ripple"; @import '@material/dialog/mdc-dialog'; @import '@material/floating-label/mdc-floating-label'; @import '@material/line-ripple/mdc-line-ripple'; @import '@material/notched-outline/mdc-notched-outline'; @import '@material/textfield/mdc-text-field'; @import '@material/tab/mdc-tab'; @import '@material/tab-bar/mdc-tab-bar'; @import '@material/tab-indicator/mdc-tab-indicator'; @import '@material/tab-scroller/mdc-tab-scroller'; @import '@material/radio/mdc-radio'; @import '@material/form-field/mdc-form-field'; @import '@material/data-table/mdc-data-table'; @import '@material/icon-button/mdc-icon-button'; @import '@material/checkbox/mdc-checkbox'; @import '@material/layout-grid/mdc-layout-grid'; @import '@material/list/mdc-list';
Not sure if this is the correct way to do this?
Sorry, something went wrong.
No branches or pull requests
I have created a theme.scss file, as per instructions here and am trying to compile it using dart sass but receive the following error:
Can't find stylesheet to import.
╷
26 │ @use '@material/feature-targeting/feature-targeting';
My theme.scss file:
How do I compile my theme.scss file? I cannot find any information on which tool to use.
The text was updated successfully, but these errors were encountered: