Added 'Materia' material design theme

This commit is contained in:
SecretlyTaco 2018-02-25 12:01:41 +00:00
parent 1c7747497a
commit c8f0b17122
3 changed files with 17 additions and 0 deletions

12
static/materia.css Normal file

File diff suppressed because one or more lines are too long

View file

@ -8,6 +8,7 @@
<script src="{{ url_for('static', filename ='fontawesome-all.js') }}"></script>
{% if theme=="darkly" %}<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename = 'darkly.css') }}" />{% endif %}
{% if theme=="cyborg" %}<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename = 'cyborg.css') }}" />{% endif %}
{% if theme=="materia" %}<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename = 'materia.css') }}" />{% endif %}
<title>{{ title }} - Tweeder</title>
</head>
<body>

View file

@ -42,6 +42,10 @@
<input type="radio" id="customRadioInline3" name="theme" value="cyborg" class="custom-control-input" {% if theme=="cyborg" %}checked{% endif %}>
<label class="custom-control-label" for="customRadioInline3">Cyborg</label>
</div>
<div class="custom-control custom-radio custom-control-inline">
<input type="radio" id="customRadioInline4" name="theme" value="materia" class="custom-control-input" {% if theme=="materia" %}checked{% endif %}>
<label class="custom-control-label" for="customRadioInline4">Materia</label>
</div>
</div>
<button type="submit" class="btn btn-primary">Save</button>