Git Product home page Git Product logo

Comments (2)

san650 avatar san650 commented on May 30, 2024

There's no way to disable the generation of the theme_color meta at the moment. Sorry about that.

Is there a possibility that you use the theme_color generated by ember-web-app and update it when the ember app boots? Instead of using ember-cli-head.

I guess we could offer a blacklist mechanism on this addon to avoid generating unwanted meta tags, maybe through ember-cli-build.js config flag...

var EmberApp = require('ember-cli/lib/broccoli/ember-app');

module.exports = function(defaults) {
  var options = {
    'ember-web-app': {
      'disable-theme-meta': true
    }
  };

  var app = new EmberApp(defaults, options);

  return app.toTree();
};

or something like this.

Maybe we should think on a way to disable fallbacks altogether.

from ember-web-app.

topaxi avatar topaxi commented on May 30, 2024

I thought of updating it manually, but that would require DOM manipulation which is not available in FastBoot. Would definitely be nice to blacklist unwanted meta tags.

Maybe have an override for each target?

module.exports = function() {
  return {
    name: "Theme color manifest",
    theme_color: "#ffa105",

    apple: {
      statusBarStyle: 'black-translucent'
    },

    html: { // or `meta`
      theme_color: null
    }
  }
}

from ember-web-app.

Related Issues (20)

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.