-
Notifications
You must be signed in to change notification settings - Fork 0
/
Brand.fragments.ts
76 lines (74 loc) · 1.19 KB
/
Brand.fragments.ts
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
import { gql } from 'apollo-boost'
const BrandFragments = {
colors: gql`
fragment getColors on Brand {
colors {
id
hexValue
rgbValue {
red
green
blue
}
hsbValue {
hue
saturation
brightness
}
labValue {
lightness
a
b
}
cmykValue {
cyan
magenta
yellow
black
}
selectedColorMode
title
tags
}
}
`,
logos: gql`
fragment getLogos on Brand {
logos {
id
originalUrl
encodedUrl
encodedSize {
width
height
}
spacing {
isEditedByUser
topPercentage
bottomPercentage
leftPercentage
rightPercentage
spacingMultiple
}
title
tags
}
}
`,
fonts: gql`
fragment getFonts on Brand {
fonts {
id
element
source
name
stylesUsed
title
tags
previewImageUrl
thumbnailImageUrl
}
}
`
}
export default BrandFragments