Giter VIP home page Giter VIP logo

genesis-theme-toolkit's People

Contributors

craigsimps avatar garyjones avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

genesis-theme-toolkit's Issues

Split into multiple packages

This repo fails good package design, in that it contains a collection of classes that may not all be used. If someone just wanted to use the Breadcrumb brick for instance, they'd need to pull in all of gamajo/genesis-theme-toolkit. It should be more granular than that.

Brick: Config for Sample Responsive Menu

Genesis Sample, and therefore multiple child themes, contains a responsive-menu.js.

This should be supportable with a Brick that can pass in (via wp_localize_script() using the genesis-sample-responsive-menu as the default handle ) config-set values for:

  • menuClasses (combine + others)
  • menuIconClass
  • subMenuIconClass
  • mainMenu (text)
  • subMenu (text)

And:

  • handle (of the responsive menu script, so it can attach correctly. Default is genesis-sample-responsive-menu)
  • name (default of genesis_responsive_menu)

See here for an example.

CSS Grid structure brick

With CSS Grid, we shouldn't hopefully need quite as a deep a structure as the default Genesis gives (i.e. number of nested divs and containers).

The genesis() function should now be flexible enough, through the use of callbacks hooked into action hooks which can be removed, and the use of genesis_markup() calls which can be filtered, to provide a much shallower markup, especially for those aimed at layouts with no sidebars.

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.