Giter Site home page Giter Site logo

alkaline-base's People

Contributors

bradtreloar avatar dependabot[bot] avatar

Watchers

 avatar

alkaline-base's Issues

Remove field_emphasis from paragraphs

field_emphasis was going to be a means to make a paragraph bigger, brighter etc but instead I decided not to give this functionality to content editors.

Prevent FOUC

The Foundation responsive-menu widget takes a moment to load.

Need to look into Foundation's strategy for preventing FOUC

Change the alklaine icon function to use ` '#type' => 'html_tag'`.

Change the _alkaline_icon function to use '#type' => 'html_tag'.

function _alkaline_icon($name) {
  return [
    '#type' => 'html_tag',
    '#tag' => 'svg',
    'symbol' => [
      '#type' => 'html_tag',
      '#tag' => 'use',
      '#attributes' => [
        'xlink:href' => "#$name",
      ],
    ],
    '#attributes' => [
      'class' => 'icon',
    ],
  ];
}

Remove heading styles from banner

Headings should remain consistent across the theme, and responsibility for altering h1 styles should lie with the page_title library.

Allow node author to choose from several layouts for media objects.

The layout of the media_object paragraph type can only be changed by overriding the Twig template or by overriding the CSS. This means that a site can only have one media object style.

Fix this by adding view modes to media_object pciture fields that can be set on a per paragraph basis, rather than on a per content type basis.

For media_object, the picture field could have choices for large, small and banner.

The theme needs to work with or without these modes, for the sake of backwards compatibility.

Remove row layout container

I experimented with using a "row" wrapper to provide padding and alignment for content but the block wrapper already does this job well enough.

Add grid paragraph type

Add grid paragraph type to serve as a container for other paragraphs.

The grid size should be configured in a preprocess function so that the grid size can adapt to the number of children. This also allows a subtheme to override the breakpoints.

This should also make the cards and pictures fields redundant, since they are just specific use-cases of a grid container.

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.