mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-15 18:56:22 +00:00
Compare commits
12 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f6208c1324 | ||
|
|
3a117c0f09 | ||
|
|
a0c83f33ca | ||
|
|
99b9fadd74 | ||
|
|
cf023847ad | ||
|
|
59357b274d | ||
|
|
1582184223 | ||
|
|
db9bcafb82 | ||
|
|
50b9838eec | ||
|
|
ff958b7cd6 | ||
|
|
33bc2aa220 | ||
|
|
03b331e5d5 |
@@ -192,7 +192,7 @@ export default class AppSettingTab extends React.Component {
|
|||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div className='sectionSelect'>
|
<div className='sectionSelect'>
|
||||||
<label>Code Theme</label>
|
<label>Code block Theme</label>
|
||||||
<select valueLink={this.linkState('config.theme-code')}>
|
<select valueLink={this.linkState('config.theme-code')}>
|
||||||
{
|
{
|
||||||
hljsThemeList.map(function(v, i){
|
hljsThemeList.map(function(v, i){
|
||||||
@@ -202,7 +202,7 @@ export default class AppSettingTab extends React.Component {
|
|||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div className='sectionSelect'>
|
<div className='sectionSelect'>
|
||||||
<label>Syntax Theme</label>
|
<label>Editor Theme</label>
|
||||||
<select valueLink={this.linkState('config.theme-syntax')}>
|
<select valueLink={this.linkState('config.theme-syntax')}>
|
||||||
{
|
{
|
||||||
aceThemeList.themes.map(function(v, i){
|
aceThemeList.themes.map(function(v, i){
|
||||||
|
|||||||
@@ -30,6 +30,8 @@ articleItemColor = #777
|
|||||||
height 20px
|
height 20px
|
||||||
color articleItemColor
|
color articleItemColor
|
||||||
font-size 11px
|
font-size 11px
|
||||||
|
i
|
||||||
|
margin-right 4px
|
||||||
.folderName
|
.folderName
|
||||||
overflow ellipsis
|
overflow ellipsis
|
||||||
display inline-block
|
display inline-block
|
||||||
|
|||||||
@@ -12,8 +12,16 @@ themeDarkTooltip = rgba(0, 0, 0, 0.7)
|
|||||||
themeDarkFocusText = #FFFFFF
|
themeDarkFocusText = #FFFFFF
|
||||||
themeDarkFocusButton = lighten(themeDarkTopicColor, 30%)
|
themeDarkFocusButton = lighten(themeDarkTopicColor, 30%)
|
||||||
themeDarkBoxShadow = alpha(lighten(themeDarkTopicColor, 10%), 0.4);
|
themeDarkBoxShadow = alpha(lighten(themeDarkTopicColor, 10%), 0.4);
|
||||||
|
themeDarkTableOdd = themeDarkPreview
|
||||||
|
themeDarkTableEven = darken(themeDarkPreview, 10%)
|
||||||
|
themeDarkTableHead = themeDarkTableEven
|
||||||
|
themeDarkTableBorder = themeDarkBorder
|
||||||
|
themeDarkModalButtonDefault = themeDarkPreview
|
||||||
|
themeDarkModalButtonDanger = #BF360C
|
||||||
|
|
||||||
body[data-theme="dark"]
|
body[data-theme="dark"]
|
||||||
|
background-color themeDarkBackground
|
||||||
|
|
||||||
.Main
|
.Main
|
||||||
.ArticleNavigator .userInfo .settingBtn .tooltip,
|
.ArticleNavigator .userInfo .settingBtn .tooltip,
|
||||||
.ArticleNavigator .ArticleNavigator-folders .ArticleNavigator-folders-header .addBtn .tooltip,
|
.ArticleNavigator .ArticleNavigator-folders .ArticleNavigator-folders-header .addBtn .tooltip,
|
||||||
@@ -122,6 +130,10 @@ body[data-theme="dark"]
|
|||||||
&:hover
|
&:hover
|
||||||
background-color lighten(themeDarkList, 5%)
|
background-color lighten(themeDarkList, 5%)
|
||||||
|
|
||||||
|
.ArticleList-item-top
|
||||||
|
.folderName
|
||||||
|
color darken(themeDarkText, 15%)
|
||||||
|
|
||||||
.divider
|
.divider
|
||||||
border-color themeDarkBorder
|
border-color themeDarkBorder
|
||||||
|
|
||||||
@@ -182,6 +194,7 @@ body[data-theme="dark"]
|
|||||||
.ArticleEditor
|
.ArticleEditor
|
||||||
.CodeEditor
|
.CodeEditor
|
||||||
border-color themeDarkBorder
|
border-color themeDarkBorder
|
||||||
|
border-radius 0
|
||||||
|
|
||||||
&>.ArticleDetail-panel-header .ArticleDetail-panel-header-mode
|
&>.ArticleDetail-panel-header .ArticleDetail-panel-header-mode
|
||||||
transition 0.1s
|
transition 0.1s
|
||||||
@@ -244,6 +257,30 @@ body[data-theme="dark"]
|
|||||||
&:hover
|
&:hover
|
||||||
background-color brandColor
|
background-color brandColor
|
||||||
|
|
||||||
|
.DeleteArticleModal.modal
|
||||||
|
.control
|
||||||
|
button
|
||||||
|
transition 0.1s
|
||||||
|
color themeDarkText
|
||||||
|
border-color lighten(themeDarkModalButtonDefault, 20%)
|
||||||
|
background-color themeDarkModalButtonDefault
|
||||||
|
|
||||||
|
&:hover
|
||||||
|
background-color: lighten(themeDarkModalButtonDefault, 10%)
|
||||||
|
|
||||||
|
&:focus
|
||||||
|
border-color themeDarkTopicColor
|
||||||
|
|
||||||
|
&.danger
|
||||||
|
background-color themeDarkModalButtonDanger
|
||||||
|
border-color lighten(themeDarkModalButtonDanger, 30%)
|
||||||
|
|
||||||
|
&:hover
|
||||||
|
background-color: lighten(themeDarkModalButtonDanger, 10%)
|
||||||
|
|
||||||
|
&:focus
|
||||||
|
border-color lighten(themeDarkModalButtonDanger, 50%)
|
||||||
|
|
||||||
.Preferences.modal
|
.Preferences.modal
|
||||||
.sectionInput input,
|
.sectionInput input,
|
||||||
.sectionSelect select
|
.sectionSelect select
|
||||||
@@ -395,3 +432,29 @@ body[data-theme="dark"]
|
|||||||
|
|
||||||
a:hover
|
a:hover
|
||||||
background-color alpha(lighten(brandColor, 30%), 0.2) !important
|
background-color alpha(lighten(brandColor, 30%), 0.2) !important
|
||||||
|
|
||||||
|
code
|
||||||
|
border-color darken(themeDarkBorder, 10%)
|
||||||
|
background-color lighten(themeDarkPreview, 5%)
|
||||||
|
|
||||||
|
pre
|
||||||
|
code
|
||||||
|
background-color transparent
|
||||||
|
|
||||||
|
table
|
||||||
|
thead
|
||||||
|
tr
|
||||||
|
background-color themeDarkTableHead
|
||||||
|
th
|
||||||
|
border-color themeDarkTableBorder
|
||||||
|
&:last-child
|
||||||
|
border-right solid 1px themeDarkTableBorder
|
||||||
|
tbody
|
||||||
|
tr:nth-child(2n + 1)
|
||||||
|
background-color themeDarkTableOdd
|
||||||
|
tr:nth-child(2n)
|
||||||
|
background-color themeDarkTableEven
|
||||||
|
td
|
||||||
|
border-color themeDarkTableBorder
|
||||||
|
&:last-child
|
||||||
|
border-right solid 1px themeDarkTableBorder
|
||||||
|
|||||||
@@ -288,6 +288,14 @@ app.on('ready', function () {
|
|||||||
})
|
})
|
||||||
break
|
break
|
||||||
case 'linux':
|
case 'linux':
|
||||||
|
if (process.env.DESKTOP_SESSION === 'cinnamon') {
|
||||||
|
finderWindow = require('./finder-window')
|
||||||
|
finderWindow.on('close', function (e) {
|
||||||
|
if (appQuit) return true
|
||||||
|
e.preventDefault()
|
||||||
|
finderWindow.hide()
|
||||||
|
})
|
||||||
|
}
|
||||||
// Do nothing.
|
// Do nothing.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "boost",
|
"name": "boost",
|
||||||
"version": "0.5.10",
|
"version": "0.5.11",
|
||||||
"description": "Boostnote",
|
"description": "Boostnote",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@@ -27,7 +27,8 @@
|
|||||||
"author": "Dick Choi <fluke8259@gmail.com> (https://github.com/Rokt33r)",
|
"author": "Dick Choi <fluke8259@gmail.com> (https://github.com/Rokt33r)",
|
||||||
"contributors": [
|
"contributors": [
|
||||||
"dojineko (https://github.com/dojineko)",
|
"dojineko (https://github.com/dojineko)",
|
||||||
"Romain Bazile (https://github.com/gromain)"
|
"Romain Bazile (https://github.com/gromain)",
|
||||||
|
"Bruno Paz (https://github.com/brpaz)"
|
||||||
],
|
],
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/BoostIO/Boostnote/issues"
|
"url": "https://github.com/BoostIO/Boostnote/issues"
|
||||||
|
|||||||
@@ -127,8 +127,9 @@ grunt zip:osx
|
|||||||
|
|
||||||
## Contributors
|
## Contributors
|
||||||
|
|
||||||
[dojineko](https://github.com/dojineko)
|
- [dojineko](https://github.com/dojineko)
|
||||||
[Romain Bazile](https://github.com/gromain)
|
- [Romain Bazile](https://github.com/gromain)
|
||||||
|
- [Bruno Paz](https://github.com/brpaz)
|
||||||
|
|
||||||
## Copyright & License
|
## Copyright & License
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user