Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customization with custom.scss documentation #56

Merged
merged 2 commits into from
Apr 16, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Customization with custom.scss documentation
  • Loading branch information
Naouak committed Apr 15, 2017
commit 0c50949950c5122d7ef7393d8b6765168dea0bd5
21 changes: 21 additions & 0 deletions Running-Mastodon/Customizing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
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.
0