-
Notifications
You must be signed in to change notification settings - Fork 12
/
config.js
222 lines (172 loc) · 7.8 KB
/
config.js
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
export const config = {
theme: {
// global scale
scale: 38, // range: min:0|max:100
// accent colours
// not used for much yet, this should be developed as the project grows
// colour defined with HSL: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/hsl
accent: { hsl: [204, 100, 72] },
// text colours
// not used for much yet, this should be developed as the project grows
// colour defined with HSL: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/hsl
text: { hsl: [0, 0, 0] },
// text font
// works with Google Fonts: https://fonts.google.com/
// enter the full name of a font as it is displayed on Google Fonts
font: 'Ubuntu',
// the speed of the different transitions
transition: { speed: { xfast: 10, fast: 20, medium: 30, slow: 40, xslow: 50 } }, // range: min:0|max:*
// the bounce transition easing bezier curve
easing: { bounce: [0.8, 0.5, 0.2, 2] }, // range: min:0|max:*
bookmark: {
background: {
// bookmark left side panel background blur amount
blur: 14, // range: min:0|max:*
// bookmark left side panel background colour
// colour defined with HSLA: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/hsla
color: { hsla: [200, 180, 25, 0.2] }
}
}
},
bookmark: {
// open the bookmarks in a new tab: true or false
newTab: true, // boolean: true|false
// the bookmark panel and group name position and direction the bookmarks flow
direction: 'left', // string: left|right
// bookmark icons show when a bookmark group gains focus or on cursor hover
// if set to true bookmarks are always shown
alwaysVisible: false, // boolean: true|false
// bookmark left side panel size
// this area contains bookmark group name, description and open all button
panel: 35, // range: min:0|max:100
// bookmark size
scale: 20, // range: min:0|max:*
// bookmark icon size the bookmark group is in focus
iconScaleVisible: 1, // range: min:*|max:*
// bookmark icon size when the bookmark group is not in focus
// if alwaysVisible is set to true this setting will not have an effect
iconScaleHidden: 0, // range: min:*|max:*
// bookmark icon size when the bookmark icon is hovered (:hover)
iconScaleHover: 1.4, // range: min:*|max:*
// bookmark icon size when the bookmark icon is clicked (:active)
iconScaleActive: 1, // range: min:*|max:*
// spacing between bookmarks
iconSpacing: 10, // range: min:0|max:*
// spacing between bookmark group rows
groupSpacing: 30, // range: min:0|max:*
// spacing between bookmark group name, description and open all button
tabSpacing: 30, // range: min:0|max:*
// bookmark grouping
// each object in this array definesa group
// add as many objects as needed
// each group contains any number of bookmarks
group: [{
// bookmark group name
name: 'Productivity',
// bookmark group description
description: 'Daily apps',
// bookmark colours
// colour defined with HSL: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/hsl
color: {
primary: { hsl: [0, 0, 100] }, // colour for group name and icons
secondary: { hsl: [200, 60, 70] } // colour for group description and the open all button
},
list: [
// list of bookmarks in this group
// add as many objects as needed
// the first key defines the visual element of the bookmark
// string: icon|letter|image
// icon eg:
// use a Font Awesome class name found on https://fontawesome.com/icons
// { icon: 'fa-solid fa-envelope', url: 'https://website.com/' },
// letter eg:
// { letter: 'ABC', url: 'https://website.com/' },
// image eg:
// { image: 'https://example.com/image.jpg', url: 'https://website.com/' },
{ icon: 'fa-solid fa-envelope', url: 'https://mail.google.com/' },
{ icon: 'fa-brands fa-slack', url: 'https://slack.com/signin/' },
{ icon: 'fa-brands fa-github', url: 'https://github.com/' },
{ icon: 'fa-brands fa-codepen', url: 'https://codepen.io/' },
{ icon: 'fa-solid fa-diamond', url: 'https://whimsical.com/login/' },
{ icon: 'fa-brands fa-figma', url: 'https://figma.com/' },
{ icon: 'fa-brands fa-dropbox', url: 'https://dropbox.com/' },
{ icon: 'fa-brands fa-google-drive', url: 'https://drive.google.com/' },
{ icon: 'fa-solid fa-calendar-day', url: 'https://calendar.google.com/calendar/' },
]
}, {
name: 'Cool stuff',
description: 'Downtime and media',
color: { primary: { hsl: [0, 0, 100] }, secondary: { hsl: [250, 60, 70] } },
list: [
{ icon: 'fa-brands fa-reddit-alien', url: 'https://reddit.com/' },
{ icon: 'fa-brands fa-artstation', url: 'https://www.artstation.com/' },
{ icon: 'fa-brands fa-discord', url: 'https://discord.com/' },
{ icon: 'fa-solid fa-paperclip', url: 'https://www.decisionproblem.com/paperclips/' },
{ icon: 'fa-solid fa-dice-d20', url: 'https://zombiefox.github.io/diceRoller/' },
{ icon: 'fa-brands fa-dribbble', url: 'https://dribbble.com/' },
]
}, {
name: 'Entertainment',
description: 'Films, videos, streams',
color: { primary: { hsl: [0, 0, 100] }, secondary: { hsl: [0, 60, 70] } },
list: [
{ icon: 'fa-brands fa-vimeo', url: 'https://vimeo.com/' },
{ icon: 'fa-brands fa-youtube', url: 'https://youtube.com/' },
{ icon: 'fa-solid fa-clapperboard', url: 'https://netflix.com/' },
{ icon: 'fa-brands fa-twitch', url: 'https://www.twitch.tv/' },
]
}, {
name: 'Ref',
description: 'Docs, code + specs',
color: { primary: { hsl: [0, 0, 100] }, secondary: { hsl: [40, 60, 70] } },
list: [
{ icon: 'fa-solid fa-code', url: 'https://devdocs.io/' },
{ icon: 'fa-brands fa-css3-alt', url: 'https://developer.mozilla.org/en-US/docs/Learn/CSS/' },
{ icon: 'fa-brands fa-stack-overflow', url: 'https://stackoverflow.com/' },
{ icon: 'fa-brands fa-bootstrap', url: 'https://getbootstrap.com/docs/5.2/getting-started/introduction/' },
{ icon: 'fa-brands fa-npm', url: 'https://www.npmjs.com/' },
]
}]
},
background: {
// the background is made of three layers
// colour at the bottom
// an image above the colour layer
// a gradient above the image layer
// background layer 1 (bottom)
// colour defined with HSL: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/hsl
color: {
hsl: [220, 30, 50]
},
// background layer 2 (middle)
image: {
url: 'https://i.redd.it/niecy4jmlmh81.png', // background image url
// opacity of background image
opacity: 1, // range: min:0|max:1
// grayscale of background image
grayscale: 0.1, // range: min:0|max:1
// blur of background image
blur: 0 // range: min:0|max:*
},
// background layer 3 (top)
gradient: {
// gradient angle
degree: 90, // range: min:0|max:360
color: [
// gradient colours
// each object is a single colour and position in the gradient layer
// the position value defines the location of the colour stop
// each stop should not be a lower value than the previous stop
// eg: {..., position: 40}, {..., position: 60}, {..., position: 90},
// add as many objects as needed
{
// colour defined with HSLA: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/hsla
hsla: [220, 80, 18, 0.6],
position: 30 // range: min:0|max:100
},
{ hsla: [240, 85, 25, 0.4], position: 40 },
{ hsla: [280, 40, 25, 0.1], position: 100 }
]
}
}
};