File size: 703 Bytes
9cd6ddb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
export interface BadgeType {
  text: {
    value: string;
    colour: string;
    gradient: {
      enabled: boolean;
      colours?: any[];
      angle: any;
      type?: string;
    };
    stringColor?: string;
  };
  colour: string;
  stringColor?: string;
  gradient: {
    enabled: boolean;
    colours?: any[];
    angle: any;
    type?: string;
  };
  fontFamily: string;
  fontWeight: string;
  letterSpacing: number;
  shinyEffect: boolean;
  icon?: {
    component?: string;
    position: "left" | "right" | "left-right";
    enabled?: boolean;
    colour?: string;
    stringColor?: string;
  };
  type: string;
  radius?: number;
  border?: {
    width?: number;
    colour?: string;
  };
}