Sass

1.6K posts

Sass banner
Sass

Sass

@SassCSS

The official Sass twitter account. Follow everyone's favorite CSS language for updates, information, and announcements. Mostly run by @nex3.

Bergabung Mart 2013
21 Mengikuti70.1K Pengikut
Tweet Disematkan
Sass
Sass@SassCSS·
Sass is more than a technology; it is a welcoming community and we are dedicated to preserving this. Please read & RT sass-lang.com/community-guid…
English
26
90
194
0
Sass
Sass@SassCSS·
We've got another proposal out for review, this one for the JS API! We're planning to change the sourceMapIncludeSources option to clarify when and how source maps are embedded. Let us know what you think! github.com/sass/sass/blob…
English
0
0
7
1K
Sass
Sass@SassCSS·
We've got another proposal out for review, and this one's meaty! It proposes adding Sass support for the new plain CSS if() function in place of Sass's old if() function syntax. Let us know what you think! github.com/sass/sass/blob…
English
2
4
8
1.7K
Sass
Sass@SassCSS·
We have a new language proposal out for review! This adds support for new syntax that's recently landed for the attr() function, which includes one breaking change: user-defined functions can no longer be named "type()". Let us know what you think! github.com/sass/sass/blob…
English
0
1
4
1.7K
Sass
Sass@SassCSS·
We've got an exciting new language proposal out for review that adds support for multiline expressions in the indented syntax. Take a look at the explainer at sass-lang.com/blog/rfc-inden… and let us know what you think!
English
0
0
4
1.7K
Sass
Sass@SassCSS·
Thrilled to announce that after years of work, Dart Sass 1.79.0 has been released with support for wide-gamut color spaces! Read all about it in the blog post by Miriam Suzanne sass-lang.com/blog/wide-gamu…
English
1
3
15
2.6K
Sass
Sass@SassCSS·
@TypeErrorDev For performance reasons, Dart Sass doesn't support customizable precision. You can manually convert a function to a given precision like so : #eJx1kMsOgjAQRfd8xSSSUOQRMXEDG34F2oqTYEv6UBPCv1tERKJs2unMze25k2Wl1RwCXWmdXytzCQrvq6ONQtG4nleeraAGpQAjk05xito9EmGvxHdHzVUMPsMGjQ6h9wD8c0WNVDmMrmkn7yQ7LJLCKUrFjVViEjC8kVehpBVs9oT97BPGn6rwhk0eB7zFYwWaZAqUw3SnukXKya5fvjsMMRxfeP6s/YyHb+qVw1sbg4v4HqBg/LEMgjQIIVqQohXQFInx2ja/+6VVS0mHbgMnB/ZPNaZeq56AVZsT" target="_blank" rel="nofollow noopener">sass-lang.com/playground/#eJ
English
0
0
1
47
Sass
Sass@SassCSS·
@TypeErrorDev Yes, you can call functions within mixins as long as they're in-scope for the current module.
English
0
0
0
30
TypeErrorDev
TypeErrorDev@TypeErrorDev·
@SassCSS can i call a function within a mixin? I have a simple px -> rem converter function, and I'd like to use it within a mixin but im getting errors 😢
English
1
0
0
35
Sass
Sass@SassCSS·
We've got a new language proposal out for review. This one involves a breaking change in the way declarations are handled when interleaved with nested rules, so please take a look: github.com/sass/sass/blob…
English
1
4
15
4.6K
Sass
Sass@SassCSS·
We have a new, small proposal out for review. This deprecates mixins and functions beginning with "--" with the intention of making them errors in a future version, to avoid conflicting with plain-CSS functions and mixins. Let us know what you think! github.com/sass/sass/blob…
English
4
5
30
5K
Sass
Sass@SassCSS·
We've got a new proposal out for public review! This one removes the meta.feature-exists() function, which hasn't had any few features added in years. See github.com/sass/sass/blob… for details, and let us know what you think!
English
0
1
4
4K
Sass
Sass@SassCSS·
We've got a new proposal out for review! This one adds a JS API for sharing resources between Sass compilations, specifically so embedded host users can get as much performance as possible. github.com/sass/sass/blob…
English
1
3
16
4.8K
Sass
Sass@SassCSS·
Excited to announce that as of Sass 1.69.0, we now support first-class mixins! You can get a mixin as a value with meta.get-mixin(), and invoke it using the new built-in meta.apply() mixin. This allows mixins to be passed into libraries and dynamically invoked.
English
0
2
16
4.2K
Sass
Sass@SassCSS·
We've got another language proposal out for review! This one codifies "pkg:" as the URL scheme for Sass packages and adds a built-in loader for npm-style packages. sass-lang.com/blog/rfc-packa…
English
0
1
8
3.2K
Sass
Sass@SassCSS·
If you've been following along with our work on support for CSS Colors 4, you may be excited to know that we now have a parallel proposal out for review adding support for new color spaces to the JS API! github.com/sass/sass/blob…
English
0
0
6
3K
Sass
Sass@SassCSS·
We have a new language proposal out for review! This one adds support for first-class mixin objects, similar to first-class functions today. Check it out at #first-class-mixins-draft-1" target="_blank" rel="nofollow noopener">github.com/sass/sass/blob… and let us know what you think!
English
0
3
8
4.3K
Sass
Sass@SassCSS·
The tradeoff for exposing a color.js Color is that the sass package would need to add it as a dependency. The sass-embedded package would need it as a dependency in either case, since it doesn't have direct access to the Sass compiler's color logic. So what do you prefer?
English
1
0
3
2.4K
Sass
Sass@SassCSS·
We could lean on the excellent colorjs.io library for conversions, but there are two ways that could work. We could either directly expose a color.js Color object for every SassColor, or we could encapsulate its logic in our own custom APIs.
English
1
0
2
2.5K
Sass
Sass@SassCSS·
We're considering some options for exposing CSS color spaces in the JS API. We could just expose each color in its own color space with no support for conversion between them, but that's not very user-friendly. On the other hand, color space conversion logic is complex!
English
2
0
3
3.3K
Sass
Sass@SassCSS·
We're excited to officially announce Dart Sass support for running as a JS library in the browser, and with it a new Sass Playground! sass-lang.com/blog/sass-in-t…
English
0
9
26
10.5K
Sass
Sass@SassCSS·
Looks like we're all set now. Thanks for your patience!
English
0
0
0
2.3K
Sass
Sass@SassCSS·
We're switching hosting providers for sass-lang.com which means we need to provision a new SSL certificate. If you see HTTPS errors, please bear with us for now, they shouldn't last more than a day!
English
2
0
13
5K