diff options
author | Wang Chucheng <me@wangchucheng.com> | 2020-12-27 21:06:11 +0300 |
---|---|---|
committer | Wang Chucheng <me@wangchucheng.com> | 2020-12-27 21:06:11 +0300 |
commit | c33985a935b5bf5706bed27bc112f700df2f2903 (patch) | |
tree | 431d55abb64e7d125b9056475e31abc26ede6a33 /assets | |
parent | 3023aca70db61f681db293c21341769de8111a59 (diff) |
feat: widget system for configuring homepagev0.4.0
BREAKING CHANGE: Param 'hero' in params.toml is deprecated.
BREAKING CHANGE: Param 'icon_pack' in %q is deprecated. Use 'iconPack'.
BREAKING CHANGE: 'doc_list' in doc layout is deprecated. Use 'doc-list'.
Closes #11
Diffstat (limited to 'assets')
-rw-r--r-- | assets/css/tailwind.config.js | 6 | ||||
-rw-r--r-- | assets/js/eureka.js | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/assets/css/tailwind.config.js b/assets/css/tailwind.config.js index 7e28272..cb8a45d 100644 --- a/assets/css/tailwind.config.js +++ b/assets/css/tailwind.config.js @@ -17,6 +17,12 @@ module.exports = { 'mono': ['SFMono-Regular', 'Menlo'], }, extend: { + height: { + '(screen-16)': 'calc(100vh - 4rem)', + '96': '24rem', + '128': '32rem', + '160': '40rem', + }, minHeight: { '16': '4rem', }, diff --git a/assets/js/eureka.js b/assets/js/eureka.js index bcc3d14..469a34d 100644 --- a/assets/js/eureka.js +++ b/assets/js/eureka.js @@ -112,7 +112,7 @@ function resizeInstance(instance) { resizeGridItem(item); } -//color schema +//color components/schema function getcolorscheme() { let storageColorScheme = localStorage.getItem("lightDarkMode") let element = document.getElementById('lightDarkMode'); |