1
0
mirror of https://github.com/kognise/water.css.git synced 2025-08-15 09:34:26 +02:00

feat: update so branch base matches current master

This commit is contained in:
Jonas Kuske
2019-06-08 21:31:00 +02:00
parent 8e465363f1
commit 758cd36841
11 changed files with 20 additions and 6 deletions

View File

@@ -2,10 +2,16 @@
/** @typedef {'dark' | 'light'} Theme */
/** @typedef {keyof typeof FILE_SIZES} FileName */
/** @typedef {'success' | 'failed'} CopyStatus */
/** @typedef {{ Vue: typeof import('vue').default, clipboard: Clipboard }} Libraries */
/** @typedef {{ theme: Theme, isLegacy: boolean, isStandalone: boolean }} VersionOptions */
/**
* @typedef {Object} Libraries External packages exposed on `window` (loaded through `<script>`)
* @prop {typeof import('vue').default} Vue
* @prop {Clipboard} clipboard
* @prop {import('favicon-mode-switcher')} faviconModeSwitcher
*/
/** @typedef {Object} VueData State used by the version picker
/**
* @typedef {Object} VueData State used by the version picker
* @prop {VersionOptions} versionOptions
* @prop {?CopyStatus} copyStatus
* @prop {?Theme} preferedColorScheme
@@ -163,7 +169,7 @@ new w.Vue({
},
})
const iconModeSwitcher = faviconModeSwitcher.default
const iconModeSwitcher = w.faviconModeSwitcher.default
iconModeSwitcher([
{
element: 'link[rel="shortcut icon"]',