Git Product home page Git Product logo

Comments (5)

chrislopresto avatar chrislopresto commented on July 20, 2024

@boydkr Can you post some code snippets so we can see what's going on? The examples in the README should work as written.

from ember-freestyle.

boydkr avatar boydkr commented on July 20, 2024

I've only gotten as far as installing the add-on and replacing the default fonts in the example template with my own.

I don't get the 'Typography' or 'Colors' subsections.

screen shot 2016-05-10 at 1 32 53 pm

{{#freestyle-section name='Visual Style' as |section|}}

    {{#freestyle-subsection name='Typography' section=section}}

      {{#freestyle-usage 'typography-robotolight' title='Roboto Light'}}
        {{freestyle-typeface fontFamily='robotolight'}}
      {{/freestyle-usage}}

      {{#freestyle-usage 'typography-robotomedium' title='Roboto Medium'}}
        {{freestyle-typeface fontFamily='robotomedium'}}
      {{/freestyle-usage}}

    {{/freestyle-subsection}}

    {{#freestyle-subsection name='Color' section=section}}

      {{#freestyle-usage 'fp' title='Freestyle Palette' usageTitle='Usage'}}
        {{freestyle-palette
            colorPalette=colorPalette
            title='Dummy App Color Palette'
            description='This component displays the color palette specified in freestyle/palette.json'
        }}
      {{/freestyle-usage}}

    {{/freestyle-subsection}}

  {{/freestyle-section}}

  {{#freestyle-section name='Iconography' as |section|}}

    {{#freestyle-subsection name='Icons' section=section}}

    {{/freestyle-subsection}}

  {{/freestyle-section}}

from ember-freestyle.

chrislopresto avatar chrislopresto commented on July 20, 2024

Strange. Are you getting any errors in the console? Can you inspect the DOM to see what's actually being rendered in the menu area?

from ember-freestyle.

boydkr avatar boydkr commented on July 20, 2024

The submenu elements exist in the DOM, but aren't displayed.

It turns out that we had some wonderful legacy bootstrap css hanging around that was messing with some base elements in the nav 😢 .

Removing the offending css resolves the issue.

from ember-freestyle.

chrislopresto avatar chrislopresto commented on July 20, 2024

Style guide for the win.. albeit in an indirect fashion here! Glad you tracked it down.

from ember-freestyle.

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.