diff options
Diffstat (limited to 'theme-compiler/tests/resources')
-rw-r--r-- | theme-compiler/tests/resources/css/listmodify.css | 23 | ||||
-rw-r--r-- | theme-compiler/tests/resources/scss/listmodify.scss | 25 |
2 files changed, 48 insertions, 0 deletions
diff --git a/theme-compiler/tests/resources/css/listmodify.css b/theme-compiler/tests/resources/css/listmodify.css new file mode 100644 index 0000000000..b07d5d9eef --- /dev/null +++ b/theme-compiler/tests/resources/css/listmodify.css @@ -0,0 +1,23 @@ +.v-button { + font-size: 12px; +} + +.v-label { + font-size: 12px; +} + +.v-button { + font-color: red; +} + +.v-label { + font-color: red; +} + +.v-textfield { + font-color: red; +} + +.v-button { + background-color: black; +}
\ No newline at end of file diff --git a/theme-compiler/tests/resources/scss/listmodify.scss b/theme-compiler/tests/resources/scss/listmodify.scss new file mode 100644 index 0000000000..814f3156f8 --- /dev/null +++ b/theme-compiler/tests/resources/scss/listmodify.scss @@ -0,0 +1,25 @@ +$list : .v-button, .v-panel, .v-label; + +$basics : remove($list, .v-panel); + +@each $component in $basics{ + .#{$component} { + font-size: 12px; + } +} + +$items : append($basics, .v-textfield); + +@each $component in $items{ + .#{$component} { + font-color: red; + } +} + +$contains : contains($items, .v-button); + +@if($contains){ + .v-button { + background-color: black; + } +} |