Skip to content

Commit 81f86ea

Browse files
WIP: test: add AppShellConfiguratorImpl
1 parent b96eb6b commit 81f86ea

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/*-
2+
* #%L
3+
* Badge List Add-on
4+
* %%
5+
* Copyright (C) 2023 - 2026 Flowing Code
6+
* %%
7+
* Licensed under the Apache License, Version 2.0 (the "License");
8+
* you may not use this file except in compliance with the License.
9+
* You may obtain a copy of the License at
10+
*
11+
* http://www.apache.org/licenses/LICENSE-2.0
12+
*
13+
* Unless required by applicable law or agreed to in writing, software
14+
* distributed under the License is distributed on an "AS IS" BASIS,
15+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
* See the License for the specific language governing permissions and
17+
* limitations under the License.
18+
* #L%
19+
*/
20+
package com.flowingcode.vaadin.addons;
21+
22+
import com.flowingcode.vaadin.addons.demo.DynamicTheme;
23+
import com.vaadin.flow.component.page.AppShellConfigurator;
24+
import com.vaadin.flow.server.AppShellSettings;
25+
26+
public class AppShellConfiguratorImpl implements AppShellConfigurator {
27+
28+
@Override
29+
public void configurePage(AppShellSettings settings) {
30+
if (DynamicTheme.isFeatureSupported()) {
31+
DynamicTheme.LUMO.initialize(settings);
32+
}
33+
}
34+
35+
}

0 commit comments

Comments
 (0)