wearebraid / griddle Goto Github PK
View Code? Open in Web Editor NEW๐ณ A system of Sass functions and mixins with an accompanying visual grid overlay to help you be exact with your front-end development. Cook up something delicious.
๐ณ A system of Sass functions and mixins with an accompanying visual grid overlay to help you be exact with your front-end development. Cook up something delicious.
Hi there,
Great grid system
With
"sass-loader": "^9.0.3" and "@vue/cli-service": "~4.5.0",
additionalData is used instead of data
module.exports = {
css: {
loaderOptions: {
sass: {
// An overrides file should be included in your build process
// before griddle.scss if you wish to override default settings
// these files should only include variables and mixins, not styles
// as they will be added to every component that uses SCSS.
additionalData: `
@import "@/assets/griddle-overrides.scss";
@import "@braid/griddle/scss/griddle.scss";
`
}
}
}
}
Best!
Lots of deprecation warnings about how math will change in dart sass 2.0.0
๐คทโโ๏ธ
Deprecation Warning: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div($g-max-gutter-width, $g-max-body-width) or calc($g-max-gutter-width / $g-max-body-width)
Would be nice if those deprecation warnings weren't around, but should probably be lower priority.
I'm liking the idea behind this repo, it looks really useful.
How would I go about implementing this into Next JS? Specifically the overlay feature in the browser.
I'm using this for a Wordpress site. No js lib or so. When i try to activate the overlay, which i have imported in my sass like so, it wont display. Everything else works great! Since its activated by a short command i may need some JS?
@import "tools/variables"; //override
@import "./node_modules/@braid/griddle/scss/griddle.scss";
@import "./node_modules/@braid/griddle/scss/griddle-overlay.scss";
Any plans of changing the style from using @import
statements to @use/@forward
since @import
is going to be deprecated soon and they advise users to use the new methods.
I've been trying to change my project to use @use
and @forward
but its not working that well with griddle.
Was wondering if you guys have tried to use the new methods instead at the same time as import-methods. Not sure if they can coexist though, so it may be a breaking change..
Starting to get deprecation warnings when using newest Dart Sass (ref)
DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.