File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Custom CSS
22
33MagicMirror² comes with a default theme but it can be customized by placing a
4- custom css-file in ` config/custom.css ` .
4+ custom CSS file at ` config/custom.css ` . You can start with
5+ [ ` config/custom.css.sample ` ] ( https://github.com/MagicMirrorOrg/MagicMirror/blob/master/config/custom.css.sample )
6+ as an example of how to override the default variables.
7+
8+ ``` sh
9+ cp config/custom.css.sample config/custom.css
10+ ```
11+
12+ The base CSS file for MagicMirror² is located at
13+ [ ` css/main.css ` ] ( https://github.com/MagicMirrorOrg/MagicMirror/blob/master/css/main.css ) .
14+
15+ Each module can then have their own CSS styles located in their respective
16+ folders. For example the ` weather ` modules has its own CSS file located at
17+ [ ` defaultmodules/weather/weather.css ` ] ( https://github.com/MagicMirrorOrg/MagicMirror/blob/master/defaultmodules/weather/weather.css )
18+
19+ The ` custom.css ` file is loaded after all the default CSS files, so any styles
20+ you add there will override the default styles. You should not edit any of the
21+ default files directly.
522
623### Example
724
You can’t perform that action at this time.
0 commit comments