You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Custom assets are stored in the 'custom-assets' directory found inside the 'extra' folder.
9
+
Custom assets can be any file you would like to use in your theme.
10
+
For example: JS, CSS or image files.
11
+
12
+
You can load these custom assets with a built-in function, 'themeAsset()'.
13
+
Add the file you want to add to your 'custom-assets' folder, and include the name with the file extension in the function.
14
+
15
+
Down below, you can find a few examples using this function:
16
+
17
+
18
+
19
+
--}}
20
+
21
+
<style>
22
+
html {
23
+
font-size: 100%; }
24
+
25
+
/* From the :root element you can easily change the colors of the design, its size and so on. */
26
+
:root {
27
+
28
+
/* You can change the font family in the whole design here. (You need to add the font family to the codes.) */
29
+
--font-family: 'Inter', sans-serif;
30
+
31
+
/* You can change the font size here, is proportional to all texts. */
32
+
--font-size: 16px;
33
+
34
+
/* You can change the background color by typing the color code. (If you do not enter a background-image image, the background-color will be active.) */
0 commit comments