From 9c1972673ad5236c6be2addc0c9b71809d651179 Mon Sep 17 00:00:00 2001 From: Naouak Date: Mon, 17 Apr 2017 00:26:17 +0200 Subject: [PATCH] Customization with custom.scss documentation (#56) * Customization with custom.scss documentation * Update Customizing.md --- Running-Mastodon/Customizing.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Running-Mastodon/Customizing.md diff --git a/Running-Mastodon/Customizing.md b/Running-Mastodon/Customizing.md new file mode 100644 index 00000000..f8f62b3b --- /dev/null +++ b/Running-Mastodon/Customizing.md @@ -0,0 +1,20 @@ +Customizing your instance +========================= + +## Customizing style + +If you create `app/assets/stylesheets/custom.scss`, the default css will be replaced by the content in `custom.scss`. + +## Changing colors + +If you want to customize for example the vibrant color of your mastodon instance, you can put the following code in your +`custom.scss` file : + +````scss +$color4: #d3d900; // vibrant + +@import 'application'; +```` + +Don't forget to recompile your assets and restart mastodon(if you didn't have a `custom.scss` file before) +to see the changes.