Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit8f59092

Browse files
committed
Merge branch 'themes' into dev
2 parents1e76450 +3cfa13d commit8f59092

File tree

9 files changed

+21
-20
lines changed

9 files changed

+21
-20
lines changed

‎utils/themes/Blue.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ const Blue = {
7272
articleSpliter:'#3c4648',
7373

7474
// like github
75-
repoTitle:'#0066D1',
75+
repoTitle:'#737990',
7676
},
7777
content:{
7878
bg:contentBoxBg,

‎utils/themes/Cyan.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ const Cyan = {
7070
extraInfo:'#84C3C8',
7171
articleSpliter:'#dee8ea',
7272
// like github
73-
repoTitle:'#0066D1',
73+
repoTitle:'#83a7ad',
7474
},
7575
content:{
7676
bg:contentBoxBg,

‎utils/themes/Github.js‎

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@ import { lighten, darken } from 'polished'
66
constprimaryColor='rgba(68, 181, 99, 0.8)'
77

88
constbannerBg='#FAFBFC'
9-
constcontentBg='#F9F9F9'
9+
constcontentBg='#f8f8f8'
1010
constcontentBoxBg='#FFFFFF'
1111
constfontColor=primaryColor
1212
constsidebarBg='#23292E'
1313
constmarkdownFont='#9eb8bd'
1414

1515
constdescText='#b5b5b5'
16+
constthreadTitle='#7b7878'
1617
// const primaryMate = 'orange'
1718

1819
constGithub={
@@ -22,8 +23,8 @@ const Github = {
2223
contrastFg:'#eca014',
2324
htmlBg:bannerBg,
2425
loading:{
25-
basic:bannerBg,
26-
animate:lighten(0.03,bannerBg),
26+
basic:darken(0.05,contentBg),
27+
animate:contentBg,
2728
},
2829
error:{
2930
title:primaryColor,
@@ -59,8 +60,8 @@ const Github = {
5960
thread:{
6061
bg:contentBoxBg,
6162
filterResultHint:descText,
62-
articleTitle:'#7b7878',
63-
articleHover:'#f3f6f9',
63+
articleTitle:threadTitle,
64+
articleHover:'#f9f9f9',
6465
articleStrip:contentBoxBg,
6566
articleDigest:descText,
6667
articleTag:'#71979a',
@@ -70,7 +71,7 @@ const Github = {
7071
articleSpliter:'#dee8ea',
7172

7273
// like github
73-
repoTitle:'#0066D1',
74+
repoTitle:'#6ba0d8',
7475
},
7576
content:{
7677
bg:contentBoxBg,
@@ -93,18 +94,18 @@ const Github = {
9394
borderColor:'#14363E',
9495
},
9596
preview:{
96-
title:'#83a2a5',
97-
desc:'#83a2a5',
97+
title:threadTitle,
98+
desc:descText,
9899
font:primaryColor,
99100
bg:contentBg,
100101
shadow:'-5px 0px 14px 0px rgba(189,189,189,0.37)',
101102
closerShadow:'-6px 4px 5px 2px rgba(156, 154, 154, 0.2)',
102103
markdownHelperBg:'#F9FCFC',
103-
accountBg:'#F9FCFC',
104-
articleBg:'#F9FCFC',
104+
accountBg:'#FFFFFF',
105+
articleBg:'#FFFFFF',
105106
helper:'#d9e5e6',
106107
helperHover:'#83a2a5',
107-
topLine:primaryColor,
108+
topLine:'#22292E',
108109
icon:'tomato',
109110
divider:'#e0e6e5',
110111
},

‎utils/themes/Green.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ const Green = {
7272
extraInfo:primaryMate,
7373
articleSpliter:'#BBCEBC',
7474
// like github
75-
repoTitle:'#0066D1',
75+
repoTitle:'#62867A',
7676
},
7777
content:{
7878
bg:contentBoxBg,

‎utils/themes/IronGreen.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ const IconGreen = {
7070
extraInfo:'#95e4be',
7171
articleSpliter:'#79A7A9',
7272
// like github
73-
repoTitle:'#0066D1',
73+
repoTitle:'#e4e4e4',
7474
},
7575
content:{
7676
bg:contentBoxBg,

‎utils/themes/Purple.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const Purple = {
7171
extraInfo:primaryMate,
7272
articleSpliter:'#3f3a50',
7373
// like github
74-
repoTitle:'#0066D1',
74+
repoTitle:'#737990',
7575
},
7676
content:{
7777
bg:contentBoxBg,

‎utils/themes/SolarizedDark.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ const SolarizedDark = {
7272
extraInfo:darken(0.04,primaryMate),// '#987d40',
7373
articleSpliter:'#014454',
7474
// like github
75-
repoTitle:'#0066D1',
75+
repoTitle:'#7B8F90',
7676
},
7777
content:{
7878
bg:contentBoxBg,

‎utils/themes/Yellow.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const Yellow = {
7171
extraInfo:primaryMate,
7272
articleSpliter:'#decfb0',
7373
// like github
74-
repoTitle:'#0066D1',
74+
repoTitle:primaryColor,
7575
},
7676
content:{
7777
bg:contentBoxBg,

‎utils/themes/index.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ import Green from './Green'
2323
importIronGreenfrom'./IronGreen'
2424

2525
exportconstthemeDict={
26-
default:{ ...Cyan},
27-
/*cyan: { ...Cyan }, */
26+
default:{ ...Github},
27+
cyan:{ ...Cyan},
2828
solarized:{ ...SolarizedDark},
2929
purple:{ ...Purple},
3030
yellow:{ ...Yellow},

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp