Skip to content

Create YAML to JS compiler for Semantic-UI components #3

Description

@p3nGu1nZz

Overview

we need a compiler that will take a base .yml file containing theme style fields and functions and create a JS module that can be loaded into a webpage. The JS module will consist of:

  • Renderer
  • Injector
  • Rules

Specification

The compiled module's renderer will dynamically create a new stylesheet <link/> into the <head/> of the document with the renderer. The renderer will create new rules in the stylesheet by injecting the rules with the injector. Rules can dynamically be set by calling an update function within the renderer.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions