Widget Studio
WSTheme.h
1/*
2* Copyright (c) 2021 THEIA INTERACTIVE. All rights reserved.
3*
4* Website: https://widgetstudio.design
5* Documentation: https://docs.widgetstudio.design
6* Support: marketplace@theia.io
7* Marketplace FAQ: https://marketplacehelp.epicgames.com
8*/
9
10#pragma once
11
12#include "CoreMinimal.h"
13#include "Engine/DataAsset.h"
14#include "WSTheme.generated.h"
15
19UCLASS(BlueprintType)
20class WIDGETSTUDIORUNTIME_API UWidgetStudioTheme : public UDataAsset
21{
22 GENERATED_BODY()
23
24public:
25 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Accent", Meta=(HideAlphaChannel="true"))
26 FLinearColor PrimaryAccent;
27
28 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Accent", Meta=(HideAlphaChannel="true"))
29 FLinearColor SecondaryAccent;
30
31 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Content", Meta=(HideAlphaChannel="true"))
32 FLinearColor PrimaryContent;
33
34 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Content", Meta=(HideAlphaChannel="true"))
35 FLinearColor SecondaryContent;
36
37 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Content", Meta=(HideAlphaChannel="true"))
38 FLinearColor TertiaryContent;
39
40 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Background", Meta=(HideAlphaChannel="true"))
41 FLinearColor PrimaryBackground;
42
43 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Background", Meta=(HideAlphaChannel="true"))
44 FLinearColor SecondaryBackground;
45
46 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Background", Meta=(HideAlphaChannel="true"))
47 FLinearColor TertiaryBackground;
48
49private:
51};
Data asset that contains the current theme color palette.
Definition: WSTheme.h:21