Git Product home page Git Product logo

Comments (4)

caw310 avatar caw310 commented on August 12, 2024

Hey team! Please add your planning poker estimate with Zenhub @Andrew565 @ataker @harshil1793 @it-harrison @jamigibbs @micahchiang @nickjg231 @powellkerry @rmessina1010 @rsmithadhoc

from vets-design-system-documentation.

rmessina1010 avatar rmessina1010 commented on August 12, 2024

It appears that imported CSS was being hoisted because the import statement is not using the correct file type and format.

In order to import a stylesheet within a class as we were intending to, we must name the inner file with an underscore, and ending in scss. .Yes, even if it's plain css, i.e. @import '~@department-of-veterans-affairs/component-library/dist/main.css';
@import '~@department-of-veterans-affairs/component-library/dist/main' ; and of course, main.css renamed to _main.scss

Specific to this ticket: main.css contains more rules that were intended to be imported, as such the file may not need to be imported within the .consolidated class.

from vets-design-system-documentation.

humancompanion-usds avatar humancompanion-usds commented on August 12, 2024

@rmessina1010 - Is there an issue tracking our implementation of these changes or did we already make these changes?

from vets-design-system-documentation.

micahchiang avatar micahchiang commented on August 12, 2024

@humancompanion-usds - we don't have an issue yet for implementing changes, and actually with Randi's recent work to completely decouple the injected header, we likely won't need to do anything on our end to guard against this happening again. Her rework of the style-consolidated.scss file completely removed the import of component-library/dist/main.css.

from vets-design-system-documentation.

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.