Skip to main content

Theme package for OneGov

Project description

plonetheme.onegov

This is the default theme for OneGov.

https://raw.github.com/OneGov/plonetheme.onegov/master/docs/screenshot_onegov.png

Usage

  • Add plonetheme.onegov to your buildout configuration:

[instance]
eggs +=
    plonetheme.onegov
  • Install the generic import profile.

Features

  • Customize styles in control panel.

  • Responsive design for tablets and smartphones

Layout customizations

Theme is SCSS based and styles most things with variables which can easily be customized in a control panel.

Just visit the customization view: http://localhost:8080/Plone/customstyles_form

Additional SCSS

You can easily register custom SCSS files in your addon package using ZCML, if you need to customize more than available through the web:

<configure
    xmlns:theme="http://namespaces.zope.org/plonetheme.onegov">

    <include package="plonetheme.onegov" />
    <theme:add_scss path="resources/custom.scss" />

</configure>

The SCSS files can also be restricted to a specific context interface or a specific request layer. Be aware that the context interface applies to the context the styles are rendered on, which is either the Plone site root or an INavigationRoot object.

<configure
    xmlns:theme="http://namespaces.zope.org/plonetheme.onegov">

    <include package="plonetheme.onegov" />
    <theme:add_scss
        path="resources/custom.scss"
        for="my.package.interfaces.ISubsite"
        layer="my.package.interfaces.IMyPackageLayer" />

</configure>

Changelog

1.0.0 (2014-01-29)

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plonetheme.onegov-1.0.0.zip (749.3 kB view details)

Uploaded Source

File details

Details for the file plonetheme.onegov-1.0.0.zip.

File metadata

  • Download URL: plonetheme.onegov-1.0.0.zip
  • Upload date:
  • Size: 749.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for plonetheme.onegov-1.0.0.zip
Algorithm Hash digest
SHA256 de7b2938091ca88018e9f67a609f3def31398f7d1befbc9ba1072454ba67c442
MD5 fd81eac704fa2095b535e68c427facc4
BLAKE2b-256 503a6ea239412c24840b59e70ace43c9e968d5f9965bc504059da17504e1a7e7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page