GithubHelp home page GithubHelp logo

standardnotes / component-relay Goto Github PK

View Code? Open in Web Editor NEW
12.0 12.0 5.0 2.19 MB

A bridge that handles communication between Standard Notes and an external extension.

Home Page: https://docs.standardnotes.com/extensions/components

License: GNU Affero General Public License v3.0

JavaScript 1.31% TypeScript 98.69%

component-relay's People

Contributors

jaspalsuri avatar johnny243 avatar moughxyz avatar ryanpcmcquen avatar sebtota avatar theodorechu avatar tjrana avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

component-relay's Issues

Expose background color to JS?

I'd like to detect dark themes with my extension, and apply a CSS filter based on that, but I can't find a way to access the style kit background color inside of my extension, I've tried all the ComponentManager permissions I can find, but nothing seems to have the style sheet. I can access the the name of the style sheet under activeThemes, but I can't read the CSS rules because of iframe CORS limitations. Is there a way to just get the background color of the parent html passed down?

Having trouble installing extension

Were there recent changes to this lib or to browsers, because I am getting weird errors when I try to install an extension:

Request error: index.js:1
    onreadystatechange React
Error downloading package details dist.js:655:17
TypeError: response is nulldist.js:4379:13
    downloadPackage dist.js:4379
    downloadPackageDetails dist.js:656
    onreadystatechange React
    <anonymous> self-hosted:1003

Related issue:
standardnotes/desktop#602

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.