twig_gear

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

Helper functions to work with Twig in Drupal 8

  1. swapClass : change CSS class to another if exist in argument
    for example {{ item.attributes|swapClass('menu-item--active-trail', 'active') }} change menu-item--active-trail to active
  2. tg_site_name : global variable which have site name in any template {{ tg_site_name }}

Fill free to add issues!
More came for my needs but if u have any idea how do this module better open issue.

Componentize!

Component type

module

Maintenance status

Development status

Downloads

1673

Component created

Component changed

Integrate/ingest a well-structured front-end (KSS) style guide.

╰( ⁰ ਊ ⁰ )━☆゚.*・。゚

Map Drupal fields through your existing front-end templates.

Organize your front-end into components? Use an automated, living style guide (KSS), want it synced into Drupal? Want to use modern templates (Handlebars) for CMS data? Now you can!

Views CSS Tables

Component type

module

Maintenance status

Development status

Downloads

1722

Component created

Component changed

Adds a table display type to Views which prints fields out in a pure CSS table.

Why use this?

Views default table display style is packed with features such as column sorting, alignment and separators however the HTML table tag is notoriously difficult to override and style. Using CSS Tables (see http://caniuse.com/#feat=css-table for support) you can create views tables that work well on both mobile and desktop with minimal overrides.

Field tokens

Component type

module

Maintenance status

Development status

Downloads

13211

Component created

Component changed

The Field tokens module add two additional types of field tokens; Formatted fields and field properties.

 

Formatted field tokens

Formatted Field tokens are tokens allowing one or many field values to be rendered via the default or specified field formatter.

The format is:
[PREFIX:DELTA(S):FORMATTER:FORMATTER_SETTING_KEY-FORMATTER_SETTING_VALUE:...]

(e.g. [node:field_image-formatted:0,1:image:image_style-thumbnail]).

 

Theme-color meta tag

Component type

module

Categories

Maintenance status

Development status

Downloads

244

Component created

Component changed

Adds a "theme-color" meta tag and administration UI on appearance section to set color value.
This tag gives ability for your web-site to look in its own color theme in mobile Chrome and Safari browser.
Other modules may also change color value using hook_theme_color_meta_tag_color_alter().

BEM classes

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

Module to add BEM classes to fields/entities based on a configurable array of field/entity/bundle names mapped to BEM classes.
Provides hook_bem_alter($bem_array) to view/alter the BEM classes.

TODO:
* blocks
* views?
* ...

Device Detector

Component type

module

Maintenance status

Development status

Downloads

1347

Component created

Component changed

Synopsis

Device Detector is a simple, PHP-based browser and device(Desktop & Mobile)feature-detection module that can detect devices & browsers on its own without the need to pull from a central database of browser information and adds configuration classes to HTML "BODY" tag.