Remarkbox has a new theme system!
renamed: remarkbox_westworld/static/theme/css/westworld.css -> remarkbox_westworld/static/theme/westworld/css/theme.css renamed: remarkbox_westworld/static/theme/img/westworld2-bg.jpg -> remarkbox_westworld/static/theme/westworld/img/westworld2-bg.jpg renamed: remarkbox_westworld/templates/base.j2 -> remarkbox_westworld/templates/westworld-base.j2 modified: setup.py
This commit is contained in:
parent
8ef215b4bc
commit
977aa2ffa0
4 changed files with 16 additions and 5 deletions
|
|
@ -3,7 +3,7 @@ body {
|
|||
line-height: 1.3;
|
||||
|
||||
|
||||
background-image: url("/static/theme/img/westworld2-bg.jpg");
|
||||
background-image: url("/static/theme/westworld/img/westworld2-bg.jpg");
|
||||
|
||||
background-repeat: no-repeat;
|
||||
|
||||
|
Before Width: | Height: | Size: 366 KiB After Width: | Height: | Size: 366 KiB |
|
|
@ -18,7 +18,7 @@
|
|||
<link rel="stylesheet" href="/static/css/embed.css">
|
||||
{%- endblock %}
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat:700">
|
||||
<link rel="stylesheet" href="/static/theme/css/westworld.css">
|
||||
<link rel="stylesheet" href="/static/theme/westworld/css/theme.css">
|
||||
<link rel="stylesheet" href="/static/css/pygments.css">
|
||||
|
||||
{% include 'snippets/google-analytics.j2' %}
|
||||
17
setup.py
17
setup.py
|
|
@ -1,9 +1,15 @@
|
|||
import os
|
||||
# A Remarkbox theme is a python package with the following paths:
|
||||
#
|
||||
# template/<theme_name>-base.j2
|
||||
# static/theme/<theme_name>
|
||||
#
|
||||
# The theme needs to be registered to the 'remarkbox.themes'
|
||||
# entry_point group to make it loaded by the Remarkbox application.
|
||||
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
setup(name='remarkbox_westworld',
|
||||
version='0.0.1',
|
||||
version='0.2.0',
|
||||
description='remarkbox westworld theme',
|
||||
classifiers=[
|
||||
"Programming Language :: Python",
|
||||
|
|
@ -14,9 +20,14 @@ setup(name='remarkbox_westworld',
|
|||
author='Russell Ballestrini',
|
||||
author_email='russell@ballestrini.net',
|
||||
url='http://russell.ballestrini.net',
|
||||
keywords='remarkbox theme',
|
||||
keywords='remarkbox westworld theme',
|
||||
packages=find_packages(),
|
||||
include_package_data=True,
|
||||
zip_safe=False,
|
||||
entry_points = {
|
||||
'remarkbox.themes' : [
|
||||
'westworld = remarkbox_westworld'
|
||||
],
|
||||
},
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue