Customization with custom.scss documentation (#56)
* Customization with custom.scss documentation * Update Customizing.md
This commit is contained in:
parent
088c491411
commit
9c1972673a
1 changed files with 20 additions and 0 deletions
20
Running-Mastodon/Customizing.md
Normal file
20
Running-Mastodon/Customizing.md
Normal file
|
@ -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.
|
Loading…
Reference in a new issue