chore: add remaining default options

This commit is contained in:
David Ralph
2024-06-11 12:28:47 +01:00
parent bf1d1660e4
commit 5aac518cec
8 changed files with 59 additions and 8 deletions

17
src/config/default.js Normal file
View File

@@ -0,0 +1,17 @@
const DefaultOptions = {
installed: [],
toastDisplayTime: 2500,
fontstyle: 'normal',
fontweight: 400,
order: '["greeting", "time", "quicklinks", "quote", "date", "message"]',
theme: 'auto',
experimental: false,
debugtimeout: 0,
offlineMode: false,
animations: true,
textBorder: 'new',
widgetStyle: 'new',
showWelcome: true
};
export default DefaultOptions;

View File

@@ -0,0 +1,21 @@
const DefaultOptions = {
background: true,
backgroundType: 'api',
backgroundFilter: 'none',
backgroundAPI: 'mue',
apiQuality: 'placeholder',
unsplashCollections: '',
bgtransition: true,
photoInformation: true,
photoMap: true,
blur: 0,
brightness: 0,
backgroundEffect: 'none',
backgroundFilterAmount: 0,
customBackgroundColour: 'rgba(0, 0, 0, 0)',
customBackground: [],
backgroundVideoLoop: true,
backgroundVideoMute: true
};
export default DefaultOptions;

View File

@@ -1,7 +1,7 @@
const DefaultOptions = {
greeting: true,
birthday: new Date(),
customEvents: [],
customEvents: "[{\"id\":\"widgets.greeting.christmas\",\"name\":\"Merry Christmas\",\"month\":12,\"date\":25},{\"id\":\"widgets.greeting.newyear\",\"name\":\"Happy New Year\",\"month\":1,\"date\":1},{\"id\":\"widgets.greeting.halloween\",\"name\":\"Happy Halloween\",\"month\":10,\"date\":31}]",
birthdayenabled: false,
defaultGreetingMessage: true,
greetingName: '',

View File

@@ -0,0 +1,17 @@
const DefaultOptions = {
navbarHover: false,
appsEnabled: false,
view: true,
notesEnabled: true,
todoEnabled: false,
refresh: 'page',
zoomNavbar: 100,
applinks: [],
appsPinned: false,
notesPinned: false,
todoPinned: false,
todo: [],
notes: ''
};
export default DefaultOptions;

View File

@@ -1,5 +1,5 @@
const DefaultOptions = {
search: false,
searchBar: true,
searchEngine: 'duckduckgo',
customSearchEngine: '',
voiceSearch: false,

View File

@@ -1,5 +1,5 @@
const DefaultOptions = {
stats: true,
stats: false,
statsData: {},
};

View File

@@ -1,7 +1,7 @@
const DefaultOptions = {
weather: false,
windspeed: true,
weatherType: 'basic',
weatherType: 2,
tempformat: 'celsius',
weatherdescription: false,
cloudiness: false,

View File

@@ -207,10 +207,6 @@
"name": "datezero",
"value": true
},
{
"name": "autocompleteProvider",
"value": "google"
},
{
"name": "quoteType",
"value": "api"