diff --git a/tests/themes/Example/config.json b/tests/themes/Example/config.json index 187a9bca..bd4fda91 100644 --- a/tests/themes/Example/config.json +++ b/tests/themes/Example/config.json @@ -26,11 +26,18 @@ "value": 50, "min": 0, "max": 100, - "step": 1, + "step": 1, "unit": "%", "multi": "0.01", "text": "Span border opacity", - "hint": "test" + "hint": "test" + }, + { + "id": "avatar", + "type": "text", + "value": "https://upload.wikimedia.org/wikipedia/commons/thumb/0/0c/Cow_female_black_white.jpg/220px-Cow_female_black_white.jpg", + "text": "Avatar replace", + "hint": "Replace all avatars" }, { "id": "default-0", diff --git a/tests/themes/Example/index.scss b/tests/themes/Example/index.scss index 97bebc4e..d4a781a5 100644 --- a/tests/themes/Example/index.scss +++ b/tests/themes/Example/index.scss @@ -6,4 +6,8 @@ div { span { border: 1px solid rgba(20, 20, 20, $spanOpacity); -} \ No newline at end of file +} + +.avatar-large { + background-image: url($avatar) !important; +} diff --git a/tests/themes/Example/vars.scss b/tests/themes/Example/vars.scss index 005a4714..472c3a65 100644 --- a/tests/themes/Example/vars.scss +++ b/tests/themes/Example/vars.scss @@ -1,2 +1,3 @@ $divBg: green !default; -$spanOpacity: 0.5 !default; \ No newline at end of file +$spanOpacity: 0.5 !default; +$avatar: "https://upload.wikimedia.org/wikipedia/commons/thumb/0/0c/Cow_female_black_white.jpg/220px-Cow_female_black_white.jpg" !default; \ No newline at end of file