feat: add themes source (#1089)
This commit is contained in:
1
packages/components/src/org.standardnotes.theme-dynamic/.gitignore
vendored
Normal file
1
packages/components/src/org.standardnotes.theme-dynamic/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
dist
|
||||
@@ -0,0 +1 @@
|
||||
# Dynamic Theme
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user