Code Monkey home page Code Monkey logo

paragraph_skins's Introduction

Paragraph Skins

This module implements custom styles for the paragraph bundle by adding select fields with custom libraries. Frontend developer uses Paragraph Skins to implement various CSS or js library for one paragraph type.

How to use:

If you want to add additional skins, please create a new file or add new items to the .paragraph_skins.yml file and clear cache. After this action, new skins will appear at the system.

Explaining for data:

Data structure is the standard array in the YAML file.

<yourmodule>.paragraph_skins:
  - name: feature-card // Skin key
    label: 'Feature card'
    paragraph_type: 1c // Paragraph bundle to which we want attach this skin
    library: 'openy_prgf_1c/feature-card' // Library for skin
    theme_library:
      openy_carnation: 'openy_carnation/feature-card' // Theme name and library name
Explaining for preprocess:

At paragraph edit form, user is able to select additional skin for paragraph entity. Select list contains only skins, which are prepared for this paragraph bundle.

paragraph_skins's People

Contributors

anpolimus avatar podarok avatar retif avatar svicervlad avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

paragraph_skins's Issues

Little confused

I am still confused what this module does. Does skins mean that It will provide options like color, image overlay etc etc?

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.