feat: add themes source (#1089)

This commit is contained in:
Johnny A
2022-06-11 17:34:13 -04:00
committed by GitHub
parent d162cf87fc
commit e80eb441a7
28 changed files with 571 additions and 717 deletions

View File

@@ -0,0 +1 @@
dist

View File

@@ -0,0 +1 @@
# Dynamic Theme

View File

@@ -0,0 +1,12 @@
{
"name": "@standardnotes/dynamic-theme",
"version": "1.0.4",
"main": "dist/dist.css",
"private": true,
"sn": {
"main": "dist/dist.css"
},
"scripts": {
"build": "webpack --entry ./src/main.scss --config ./../../theme.webpack.config.js"
}
}

View File

@@ -0,0 +1,29 @@
#navigation.section,
.section.tags, // legacy code pre-smart tags release
navigation {
flex: none !important;
width: 190px !important;
transition: width 0.25s;
}
#navigation.section:hover,
.section.tags:hover, // legacy code pre-smart tags release
navigation:hover {
flex: initial;
width: 250px !important;
transition: width 0.25s;
}
.section.notes,
notes-view {
flex: none !important;
width: 270px !important;
transition: width 0.25s;
}
.section.notes:hover,
notes-view:hover {
flex: initial;
width: 420px !important;
transition: width 0.25s;
}