- 
                Notifications
    
You must be signed in to change notification settings  - Fork 13.4k
 
feat(modal): add default ionic theme styles #29876
New issue
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
Changes from 11 commits
22039d0
              4814caa
              0cc29b0
              962a8fe
              12898c0
              3ccc987
              3f4596d
              2dfcc63
              b5e8f95
              72484b1
              840265f
              98c1b73
              File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,11 +1,15 @@ | ||||||
| @use "../../themes/ionic/ionic.globals.scss" as globals; | ||||||
| @import "./modal"; | ||||||
| @import "./modal.common"; | ||||||
                
       | 
||||||
| @import "./modal.common"; | |
| @use "./modal.common"; | 
| Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| @import "./modal"; | ||
| @import "./modal.native"; | ||
| @import "./modal.ios.vars"; | ||
| 
     | 
||
| // iOS Modals | ||
| 
          
            
          
           | 
    ||
| Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| @import "./modal"; | ||
| @import "./modal.native"; | ||
| @import "./modal.md.vars"; | ||
| 
     | 
||
| // Material Design Modals | ||
| 
          
            
          
           | 
    ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,49 @@ | ||||||
| @use "./modal.common"; | ||||||
| @import "./modal.vars"; | ||||||
                
       | 
||||||
| @import "./modal.vars"; | |
| @use "./modal.vars" as vars | 
Let's start to convert over to @use. @import is deprecated so it'll make it easier on us to get in the habit to use @use so we have less areas to convert.
Note: item.ionic.scss has an example of how the vars variable is being used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Common files do not use any files that are theme associated. I assume that this import was added in order to use mixins like
position. If that's the case then import the correct file like howbuttonsdoes it: