Skip to content
A theme for Omeka S based on the default theme
CSS HTML JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
asset
config
view
.gitignore
LICENSE
README.md
composer.json
gulpfile.js
package-lock.json
package.json
theme.jpg

README.md

UO Library Omeka-S Theme

A theme for Omeka-S used by UO Libraries, based on the default theme.

Setup

Requirements

This theme requires the use of the Universal Viewer module

Development

NPM

CSS development uses NPM and Gulp to compile Sass. A full explanation can be found here: https://omeka.org/s/docs/developer/key_concepts/working_with_Sass_and_CSS/.

The short version is:

  • Install NPM
  • Install Gulp globally npm install -g gulp-cli
  • Install local NPM packages npm install
  • Start Gulp css watcher gulp css:watch

As you change .scss files in /asset/sass Gulp will recompile the .css files in /asset/css. This means .css files should not be edited directly.

Views

Developing views follows a typical templating engine approach. More details can be found here: https://omeka.org/s/docs/developer/themes/modifying_themes/

Upstream templates are here: https://github.com/omeka/omeka-s/tree/develop/application/view

You can copy a template from upstream and make edits locally to overwrite the view output.

You can’t perform that action at this time.