--- a/src/pyams_skin/interfaces/__init__.py Wed Dec 12 10:08:24 2018 +0100
+++ b/src/pyams_skin/interfaces/__init__.py Wed Dec 12 10:13:00 2018 +0100
@@ -12,17 +12,14 @@
__docformat__ = 'restructuredtext'
-# import standard library
-
-# import interfaces
-from pyams_skin.layer import IPyAMSLayer
from zope.component.interfaces import IObjectEvent, ObjectEvent
+from zope.configuration.fields import GlobalInterface
+from zope.interface import implementer, invariant, Interface, Attribute, Invalid
+from zope.schema import Text, TextLine, Choice, Int, Bool
-# import packages
+from pyams_file.schema import FileField
+from pyams_skin.layer import IPyAMSLayer
from pyams_template.template import layout_config
-from zope.interface import implementer, invariant, Interface, Attribute, Invalid
-from zope.configuration.fields import GlobalInterface
-from zope.schema import Text, TextLine, Choice, Int, Bool
from pyams_skin import _
@@ -80,6 +77,19 @@
def get_skin(self, request=None):
"""Get skin matching this content"""
+ custom_stylesheet = FileField(title=_("Custom stylesheet"),
+ description=_("This custom stylesheet will be used to override selected theme styles"),
+ required=False)
+
+ editor_stylesheet = FileField(title=_("Editor stylesheet"),
+ description=_("Styles defined into this stylesheet will be available into HTML editor"),
+ required=False)
+
+ custom_script = FileField(title=_("Custom script"),
+ description=_("This custom javascript file will be used to add dynamic features to "
+ "selected theme"),
+ required=False)
+
class IUserSkinnable(ISkinnable):
"""User skinnable content interface"""