mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
scss test
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
@import "./chip";
|
||||
@import "./chip.vars";
|
||||
|
||||
:host {
|
||||
font-size: $chip-base-font-size-rem;
|
||||
@import 'chip.md2.scss';
|
||||
@import 'chip.md3.scss';
|
||||
|
||||
$useMD3: true;
|
||||
|
||||
@if $useMD3 {
|
||||
@include chipMD3;
|
||||
} @else {
|
||||
@include chipMD2;
|
||||
}
|
||||
|
||||
5
core/src/components/chip/chip.md2.scss
Normal file
5
core/src/components/chip/chip.md2.scss
Normal file
@@ -0,0 +1,5 @@
|
||||
@mixin chipMD2 {
|
||||
:host {
|
||||
font-size: $chip-base-font-size-rem;
|
||||
}
|
||||
}
|
||||
5
core/src/components/chip/chip.md3.scss
Normal file
5
core/src/components/chip/chip.md3.scss
Normal file
@@ -0,0 +1,5 @@
|
||||
@mixin chipMD3 {
|
||||
:host {
|
||||
background: green;
|
||||
}
|
||||
}
|
||||
0
core/src/components/chip/test.ts
Normal file
0
core/src/components/chip/test.ts
Normal file
Reference in New Issue
Block a user