mirror of
https://github.com/YunoHost-Apps/outline_ynh.git
synced 2024-09-03 19:56:12 +02:00
Correct mistakes
This commit is contained in:
parent
4315d86afc
commit
896084db26
4 changed files with 50 additions and 23 deletions
|
@ -6,7 +6,7 @@
|
|||
"en": "Wiki and knowledge base for teams",
|
||||
"fr": "Wiki et base de connaissances pour les équipes"
|
||||
},
|
||||
"version": "0.72.0.3~ynh1",
|
||||
"version": "0.72.0.3.1~ynh1",
|
||||
"url": "www.getoutline.com",
|
||||
"upstream": {
|
||||
"license": "BUSL-1.1",
|
||||
|
|
|
@ -202,6 +202,13 @@ pushd "$mc_path"
|
|||
ynh_exec_warn_less sudo -u minio ./mc anonymous set-json ./policy.json minio/outlinestorage
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
# SETUP LOCAL STORAGE
|
||||
#=================================================
|
||||
|
||||
mkdir "/var/lib/$app"
|
||||
chown -R $app:www-data "/var/lib/$app"
|
||||
|
||||
#=================================================
|
||||
# NGINX CONFIGURATION
|
||||
#=================================================
|
||||
|
|
|
@ -67,14 +67,13 @@ index f30b74449..406e1fcde 100644
|
|||
|
||||
interface Colors {
|
||||
diff --git a/shared/editor/components/Styles.ts b/shared/editor/components/Styles.ts
|
||||
index 056826ddc..1ada51a1f 100644
|
||||
index 056826ddc..9a1c7bd69 100644
|
||||
--- a/shared/editor/components/Styles.ts
|
||||
+++ b/shared/editor/components/Styles.ts
|
||||
@@ -851,6 +851,18 @@ h6 {
|
||||
@@ -854,6 +854,20 @@ h6 {
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
color: ${props.theme.noticeSuccessText};
|
||||
+
|
||||
+.notice-block.bible {
|
||||
+ background: ${transparentize(0.9, props.theme.noticeBibleBackground)};
|
||||
+ border-left: 4px solid ${props.theme.noticeBibleBackground};
|
||||
|
@ -86,9 +85,12 @@ index 056826ddc..1ada51a1f 100644
|
|||
+
|
||||
+ a {
|
||||
+ color: ${props.theme.noticeBibleText};
|
||||
}
|
||||
}
|
||||
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
blockquote {
|
||||
margin: 0;
|
||||
padding: 8px 10px 8px 1.5em;
|
||||
diff --git a/shared/editor/nodes/Notice.tsx b/shared/editor/nodes/Notice.tsx
|
||||
index bd976e69b..9ee40b8d5 100644
|
||||
--- a/shared/editor/nodes/Notice.tsx
|
||||
|
@ -119,10 +121,18 @@ index bd976e69b..9ee40b8d5 100644
|
|||
component = <InfoIcon />;
|
||||
}
|
||||
diff --git a/shared/styles/theme.ts b/shared/styles/theme.ts
|
||||
index f76e9c6a2..850aa1525 100644
|
||||
index f76e9c6a2..05d78850a 100644
|
||||
--- a/shared/styles/theme.ts
|
||||
+++ b/shared/styles/theme.ts
|
||||
@@ -96,6 +96,8 @@ const buildBaseTheme = (input: Partial<Colors>) => {
|
||||
@@ -32,6 +32,7 @@ const defaultColors: Colors = {
|
||||
warning: "#f08a24",
|
||||
success: "#2f3336",
|
||||
info: "#a0d3e8",
|
||||
+ bible: "#996633",
|
||||
brand: {
|
||||
red: "#FF5C80",
|
||||
pink: "#FF4DFA",
|
||||
@@ -96,6 +97,8 @@ const buildBaseTheme = (input: Partial<Colors>) => {
|
||||
noticeSuccessBackground: colors.brand.green,
|
||||
noticeSuccessText: colors.almostBlack,
|
||||
tableSelectedBackground: transparentize(0.8, colors.accent),
|
||||
|
@ -131,7 +141,7 @@ index f76e9c6a2..850aa1525 100644
|
|||
breakpoints,
|
||||
...colors,
|
||||
...spacing,
|
||||
@@ -234,6 +236,7 @@ export const buildDarkTheme = (input: Partial<Colors>): DefaultTheme => {
|
||||
@@ -234,6 +237,7 @@ export const buildDarkTheme = (input: Partial<Colors>): DefaultTheme => {
|
||||
noticeTipText: colors.white,
|
||||
noticeWarningText: colors.white,
|
||||
noticeSuccessText: colors.white,
|
||||
|
|
|
@ -262,14 +262,13 @@ index 4d4f6f09c..f457025d5 100644
|
|||
}
|
||||
|
||||
diff --git a/shared/editor/components/Styles.ts b/shared/editor/components/Styles.ts
|
||||
index 056826ddc..1ada51a1f 100644
|
||||
index 056826ddc..9a1c7bd69 100644
|
||||
--- a/shared/editor/components/Styles.ts
|
||||
+++ b/shared/editor/components/Styles.ts
|
||||
@@ -851,6 +851,18 @@ h6 {
|
||||
@@ -854,6 +854,20 @@ h6 {
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
color: ${props.theme.noticeSuccessText};
|
||||
+
|
||||
+.notice-block.bible {
|
||||
+ background: ${transparentize(0.9, props.theme.noticeBibleBackground)};
|
||||
+ border-left: 4px solid ${props.theme.noticeBibleBackground};
|
||||
|
@ -281,9 +280,12 @@ index 056826ddc..1ada51a1f 100644
|
|||
+
|
||||
+ a {
|
||||
+ color: ${props.theme.noticeBibleText};
|
||||
}
|
||||
}
|
||||
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
blockquote {
|
||||
margin: 0;
|
||||
padding: 8px 10px 8px 1.5em;
|
||||
diff --git a/shared/editor/nodes/Notice.tsx b/shared/editor/nodes/Notice.tsx
|
||||
index bd976e69b..9ee40b8d5 100644
|
||||
--- a/shared/editor/nodes/Notice.tsx
|
||||
|
@ -314,10 +316,18 @@ index bd976e69b..9ee40b8d5 100644
|
|||
component = <InfoIcon />;
|
||||
}
|
||||
diff --git a/shared/styles/theme.ts b/shared/styles/theme.ts
|
||||
index f76e9c6a2..850aa1525 100644
|
||||
index f76e9c6a2..05d78850a 100644
|
||||
--- a/shared/styles/theme.ts
|
||||
+++ b/shared/styles/theme.ts
|
||||
@@ -96,6 +96,8 @@ const buildBaseTheme = (input: Partial<Colors>) => {
|
||||
@@ -32,6 +32,7 @@ const defaultColors: Colors = {
|
||||
warning: "#f08a24",
|
||||
success: "#2f3336",
|
||||
info: "#a0d3e8",
|
||||
+ bible: "#996633",
|
||||
brand: {
|
||||
red: "#FF5C80",
|
||||
pink: "#FF4DFA",
|
||||
@@ -96,6 +97,8 @@ const buildBaseTheme = (input: Partial<Colors>) => {
|
||||
noticeSuccessBackground: colors.brand.green,
|
||||
noticeSuccessText: colors.almostBlack,
|
||||
tableSelectedBackground: transparentize(0.8, colors.accent),
|
||||
|
@ -326,7 +336,7 @@ index f76e9c6a2..850aa1525 100644
|
|||
breakpoints,
|
||||
...colors,
|
||||
...spacing,
|
||||
@@ -234,6 +236,7 @@ export const buildDarkTheme = (input: Partial<Colors>): DefaultTheme => {
|
||||
@@ -234,6 +237,7 @@ export const buildDarkTheme = (input: Partial<Colors>): DefaultTheme => {
|
||||
noticeTipText: colors.white,
|
||||
noticeWarningText: colors.white,
|
||||
noticeSuccessText: colors.white,
|
||||
|
|
Loading…
Add table
Reference in a new issue