Giter Site home page Giter Site logo

ur-super-theme's Introduction

Super Theme

Theme Name: Super Theme

Theme Description: Theme for Super Theme.

Developers name(s): Adam Glenn

Stash repository URL: https://stash.development.wvu.edu/projects/CST/repos/ur-super-theme/browse

Dependencies necessary to work with this theme: Sass.

Gulp & Brand Patterns

Requirements

You will need to install Node ~0.12.2

  1. Download and install NodeJS from https://nodejs.org/en if you haven't already.
  2. Install Gulp globally by entering npm install -g gulp in your terminal.
  3. Navigate to your project's directory via terminal (something like cd ~/Sites/cleanslate_themes/MY-SITE)
  4. Install node modules by typing npm install
  5. Run Gulp by typing gulp.

Note: the gulpfile.js in its base form will only compile your Sass.

ur-super-theme's People

Contributors

adamglenn avatar

Watchers

Dave Olsen avatar Steven Spriggs avatar Bok Kwee Toh avatar  avatar James Cloos avatar dustinmazon avatar Sarah Gould avatar

Forkers

bokster

ur-super-theme's Issues

admin hero optional paragraph not editable

Can't enter an intro paragraph with the _adminHero.html with Mercury Editor.

<r:editable_region name="so-admin-hero__p" type="simple">Optional paragraph text goes here.</r:editable_region>

Calendar Event doesn't compile on Calendar parent template

When setting up a Calendar page, giving it a child with the Calendar Event template will not output the Event on the Parent page. However, if you define the calendar_id: on another page and put the calendarManual in a pattern slot, it will render the events on that page.

https://stash.development.wvu.edu/projects/CST/repos/ur-super-theme/browse/views/calendar.html#19

It looks like the template is currently defining a page id, which would be different in every instance. I would assume that's the culprit unless that's there for some other reason dealing with something else in the theme.

Fieldsets for variables are vague without examples

When defining your custom data via the given field, some field names leave a lot of ambiguity to the naming convention of the data you need to insert.

Entering $wvu-gold, wvu-gold, or gold into the field for masthead_color:

One of these yield a gold masthead, whereas one would expect a gold masthead bg to be output as if you were defining it it the pattern's variable itself in the theme files.

Edit: Might have been some server lag earlier, gold works as intended, but the point is still valid. Once we get documentation rolling I'm sure this will be an easy issue to deal with piece by piece.

Inconsistent content calls on wvu-profile-index patterns

On the wvu-profiles-index pattern, the <r:page:content name="profile__description" /> should be <r:page:content name="wvu-profile__short-description" />

On the wvu-profiles-index--anywhere pattern, there's no call for the wvu-profile__short-description at all.

Quadtych is broken in super-nav and super-nav--sitewide patterns

Currently:

<r:page:if_has_content_for region="wvu-super-nav__body__description--4">wvu-super-nav--quadtych</r:page:if_has_content_for>

Results in only triptych property being applied to the quadtych.

Change to:

<r:page:if_has_content_for region="wvu-super-nav__body--4">wvu-super-nav--quadtych</r:page:if_has_content_for>

Results in quadtych displaying properly.

Start using the Wiki

Suggestion to start a wiki to document various configuration and support information for the super theme.

How to change the Masthead Style etc.

Breakup SCSS for nav patterns

Right now, the nav patterns are all styled in one SCSS file, even though they are distinctly different classes. Break these up and included them in separate SCSS files for better modularization. You can still call them all in initially, but the option to remove the unused files should be there to lighten the css production file.

Fix default content slots

Get an error on every page:
Could not find partial 'custom-patterns/_so-ERROR: Custom data for 'default_content_03' does not exist..html' in 'University Relations: Super Theme' theme. Could not find partial 'custom-patterns/_so-ERROR: Custom data for 'default_content_03' does not exist..html' in 'University Relations: Super Theme' theme.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.