Giter Club home page Giter Club logo

Comments (6)

stephenway avatar stephenway commented on May 30, 2024

@seandrickson
_vars.scss has the default variables, could please clarify what you mean?
Thanks

from inuit.css.

seandrickson avatar seandrickson commented on May 30, 2024

I think I'm trying to say two things:

  1. the inuit.css folder/package does not define default variables. If you were to compile inuit.scss with all of its includes, the variables would not be defined and you would get an error. Therefore, we should move the current _vars.scss file inside the inuit.css folder either directly inside the partials folder or in the base folder.
  2. now that the _vars.scss file is in a new location, we need to create a new, example vars file (or define the variables inside your-project.scss. The variables being defined can look like this:
$base-font-size: 16;
$base-line-height: 24;

note that the variables do not have the !default identifier.

I hope I clarified what I was saying.

from inuit.css.

csswizardry avatar csswizardry commented on May 30, 2024

It sounds like you’re watching the inuit.css directory, whereas all the instructions tell you to watch your-project.scss (once you’re renamed it to whatever your project is). Is this the case?

from inuit.css.

seandrickson avatar seandrickson commented on May 30, 2024

I'd like to be able to use the inuit.css folder as a CodeKit framework folder. Then, create projects by using inuit as a framework and simply @includeing it into a project.

Whatever the case may be, it might be useful to have default variables defined.

What are your thoughts?

from inuit.css.

csswizardry avatar csswizardry commented on May 30, 2024

Your project structure should look like

+ css/
    + inuit.css/
    your-project.css
+ img/
index.html

Which means you can just watch the css directory if you want to use CodeKit etc…

from inuit.css.

csswizardry avatar csswizardry commented on May 30, 2024

I think this is a non-issue now, caused by a slight misunderstanding. I’m gonna close this issue, but feel free to reopen if necessary :)

from inuit.css.

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.