aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcristiano <[email protected]>2020-12-29 11:39:53 +0000
committercristiano <[email protected]>2020-12-29 11:39:53 +0000
commit4aeb2168a1568f3062f285bce217430290701634 (patch)
tree7c0416e4caf3f021549669807f192f61d22cad1b
parent2d1dd6e46368edf40401b97b06cca720b1c03ce3 (diff)
downloadprotonmail-themes-4aeb2168a1568f3062f285bce217430290701634.tar.xz
protonmail-themes-4aeb2168a1568f3062f285bce217430290701634.zip
Updated file structure in readme 📖.
-rw-r--r--docs/README.md5
-rw-r--r--docs/theme-templates-guide.md5
2 files changed, 6 insertions, 4 deletions
diff --git a/docs/README.md b/docs/README.md
index 525e5c0..fc1d614 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -84,8 +84,9 @@ $danger_color: #d62646;
$warning_color: #ffaa00;
@import "../@theme-base/styles";
-// @import "../@theme-base/full";
-// Please do not remove the import above, add overrides and other partials below this line.
+@import "../@theme-base/dark_mode";
+
+// Please do not remove the imports above, add overrides and other partials below this line.
```
The snippet will change the colors of the elements across the theme. However, you can extend or override the theme further by adding changes to `_override.scss`. Additionally, [custom partials can be added](https://sass-lang.com/guide). You can refer to [the guide on editing theme templates](./theme-templates-guide.md) for more information on customizing themes.
diff --git a/docs/theme-templates-guide.md b/docs/theme-templates-guide.md
index 4c1c91a..b404701 100644
--- a/docs/theme-templates-guide.md
+++ b/docs/theme-templates-guide.md
@@ -58,8 +58,9 @@ Override styles will be scoped to your theme only. The [Ochin theme can be consu
// Color variables here...
@import "../@theme-base/styles";
-// @import "../@theme-base/full";
-// Please do not remove the import above, add overrides and other partials below this line.
+@import "../@theme-base/dark_mode";
+
+// Please do not remove the imports above, add overrides and other partials below this line.
@import 'override';
```