Commit Graph

284 Commits

Author SHA1 Message Date
Natalie Weizenbaum
c77ebc90f1
Document the bogus combinator breaking change (#654) 2022-07-18 17:00:41 -07:00
updatedMyJournal
42470e1477
Fix a typo (#653) 2022-07-18 20:13:59 +00:00
Takuya N
a3d9319dce
HWB support was introduced in 1.28.0, not in 1.27.0 (#646)
Code change: https://github.com/sass/dart-sass/pull/1129

Follows up https://github.com/sass/sass-site/pull/493

Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2022-06-16 18:52:18 -07:00
Natalie Weizenbaum
9e97f56f66
Add a section describing the differences between @use and @import (#636)
Closes #443
2022-05-31 16:43:33 -07:00
Natalie Weizenbaum
d78a1f26af
Be more accurate about how brackets work with list.join() (#633)
Closes #354
2022-05-26 19:22:21 -07:00
Rafik Ogandzhanyan
443cf501ec
Fix list.slash documentation example (#629) 2022-05-16 14:04:56 -07:00
Natalie Weizenbaum
d5bfb55cfc
Add a note about multiline expressions in the indented syntax. (#628)
Closes #627
2022-05-16 20:58:14 +00:00
Jeremy Graziani
ed66c8a861
Fix Sass interpolation example to match the SCSS one and its output (#624) 2022-05-02 21:30:06 +00:00
Andrew
107f294859
docs: correct mixin name (#621)
`@reset` mixin is not defined in this example, but `@list-rest` is.
2022-04-18 14:34:33 -07:00
Awjin Ahn
4a0d20e0d4
Link to boolean operators from the conditional docs. (#613) 2022-03-09 13:18:20 -08:00
Awjin Ahn
42001970c4
Fix broken link. (#610) 2022-02-03 13:59:12 -08:00
Kimberly Grey
8dd884f5a1
Fix missing hyphen in private members example (#606) 2022-01-14 10:57:44 -08:00
Natalie Weizenbaum
b573c2b2a5
Fix a typo in the placeholder selector documentation (#605) 2021-12-29 14:56:44 -08:00
Awjin Ahn
cc92fc9eea
Add docs for reassigning module vars. (#546)
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2021-12-16 02:09:18 +00:00
Shaun McCance
defe334103
Fix link markup (#601) 2021-12-10 06:26:11 +00:00
Awjin Ahn
c9323faa76
Explain /-in-calc not deprecated. (#595) 2021-12-03 13:59:30 -08:00
Natalie Weizenbaum
94ee6e088c
Add documentation explicitly describing compatibility callouts (#596)
Closes #594
2021-12-01 00:11:12 +00:00
Natalie Weizenbaum
414409a122
Merge pull request #584 from sass/typedoc
Build JS API docs from the TypeScript declarations
2021-10-05 20:57:58 +00:00
Natalie Weizenbaum
85a2eaa33d Build JS API docs from the TypeScript declarations 2021-10-04 19:53:08 -07:00
roydukkey
c332799730
Fix stated return type (#582) 2021-09-28 22:24:14 -07:00
Awjin Ahn
7e06369241
Be explicit about which dirs get --watched. (#580) 2021-09-22 15:02:11 -07:00
Natalie Weizenbaum
b72c8094d5
Update the calculation documentation to describe the new min/max (#578)
See sass/sass#3142
See sass/sass#3150
2021-09-20 23:58:48 +00:00
Natalie Weizenbaum
d0e401e3f9
Document first-class calc() (#575)
See sass/sass#818

Co-authored-by: Awjin Ahn <awjin@google.com>
2021-09-13 23:16:42 +00:00
Natalie Weizenbaum
e55b07cdd4
Document the charset flag (#574)
See sass/sass#3126
2021-09-02 00:48:10 +00:00
Natalie Weizenbaum
309641b659
Document the --quiet-deps flag (#573)
Co-authored-by: Awjin Ahn <awjin@google.com>
2021-08-31 00:27:11 +00:00
Jennifer Thakar
dce95ffc30
Fix invalid parameter range for color.change (#571)
Fixes sass/sass#3122.
2021-08-18 14:34:45 -07:00
Ulugbek
d1c5b96738
bugfix: SASS code removed from CSS snippet (#570) 2021-08-16 14:22:43 -07:00
Awjin Ahn
aec6fac9db
Fix broken link + make wording more explicit. (#565) 2021-07-29 15:18:52 -07:00
Rodrigo
71d7860847
adding optional param description to function-exists (#563) 2021-07-29 15:00:58 -07:00
Natalie Weizenbaum
f47b74529c
Enable GitHub actions (#562) 2021-07-23 23:28:41 +00:00
Jennifer Thakar
d1e2f25a3c
Document the division migrator (#554)
Closes #549.
2021-07-12 16:46:33 -07:00
akramkrimo
c1a8a79725
Grammatically updated the docs (#561)
Co-authored-by: Akram <>
2021-06-23 13:31:47 -07:00
Alexander Doroshko
9580702912
Fix example on the "Slash as Division" page: divide() -> math.div() (#559) 2021-06-21 13:27:29 -07:00
Nate Johnston
6ca4ac94ca
Update if.html.md.erb (#558)
"In fact, you can to chain as many..." was changed to "In fact, you can chain as many..."
2021-06-21 13:24:23 -07:00
Natalie Weizenbaum
821976c367
Add documentation for quietDeps and verbose in the JS API (#555)
See sass/sass#3065
2021-06-14 17:41:58 -07:00
flachware
232a020b1a
Fix code examples in map and meta modules. (#553)
* Fix code examples in map and meta modules.
2021-06-09 12:30:48 -07:00
Natalie Weizenbaum
abd26c2be4
Fix the impl_status for /-as-division (#552) 2021-06-01 17:00:50 -07:00
Jennifer Thakar
230c2f174c
Only match Sass files in division migrator glob (#545)
The migrator doesn't filter out non-Sass files, so it will error if there are any other files there
2021-05-21 14:10:22 -07:00
Natalie Weizenbaum
f202a692ca
Update all existing documentation for math.div() and list.slash() (#544)
Closes #543
See #539
2021-05-20 18:09:28 -07:00
Natalie Weizenbaum
077c20255a
Publicize the slash-div deprecation page (#539)
See sass/sass#2565
2021-05-17 19:09:58 -07:00
Natalie Weizenbaum
35c51fbe33
Document this.fromImport for the JS API (#540)
See sass/sass#3055
See webpack-contrib/sass-loader#905
2021-05-17 14:09:17 -07:00
Christophe Coevoet
3ed23e654b
Fix typo in the list.join doc (#537) 2021-05-06 10:04:04 -07:00
Henry Catalini Smith
0ded1ef497
Add documentation of -w shorthand for --watch flag (#534) 2021-04-26 10:00:23 -07:00
Alfred
4114d09667
Fix typo (#532) 2021-04-19 11:53:59 -07:00
Christophe Coevoet
1b770d7529
Fix function name in the map.merge heads up (#527) 2021-03-17 10:38:42 -07:00
dreadsd
6d1425bc0e
fix typo (#524) 2021-03-15 14:02:08 -07:00
Sun Xiaoran
6cca974fa5
fix: typo (#523) 2021-03-10 11:23:06 -08:00
Jennifer Thakar
26537b9459
Rename duplicate header in string docs (#522)
Fixes #520.
2021-03-04 09:02:42 -08:00
Jennifer Thakar
9e39ce3f10
Document namespace migrator (#517)
See sass/migrator#173.
2021-02-08 15:22:59 -08:00
dependabot[bot]
0882068502
Bump redcarpet from 3.3.4 to 3.5.1 (#514)
Bumps [redcarpet](https://github.com/vmg/redcarpet) from 3.3.4 to 3.5.1.
- [Release notes](https://github.com/vmg/redcarpet/releases)
- [Changelog](https://github.com/vmg/redcarpet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vmg/redcarpet/compare/v3.3.4...v3.5.1)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2021-01-11 14:51:08 -08:00
Natalie Weizenbaum
935251b499
Document clamp() as a special function (#513)
Closes #505
See sass/sass#2860
2020-12-29 17:02:30 -08:00
Natalie Weizenbaum
b7aa7b4c52
Document new color unit behavior (#512)
Partially addresses #511
See sass/sass#2904
2020-12-29 14:59:01 -08:00
Caleb Fetzer
9cb5c25299
Typo: Add missing s to .sass example (#510) 2020-12-28 09:09:08 -08:00
Johann Pinson
42e1ad6b8c
Update the documentation about the hwb function (#508)
* feat(docs): add the module for the hwb function

* Add namespace to one more example

Co-authored-by: Jennifer Thakar <jathak@google.com>
2020-12-01 10:05:53 -08:00
Natalie Weizenbaum
cfca1d405e
Avoid inaccurately describing HSL as a "color space" (#504)
Closes #503
2020-11-05 12:53:05 -08:00
Michail
63c442e57d
fix typo (#502) 2020-11-03 12:59:07 -06:00
Natalie Weizenbaum
c51e62b0f8
Add documentation for new HWB functions (#493)
See sass/sass#2834
Closes #477

Co-authored-by: Awjin Ahn <awjin@google.com>
2020-10-29 16:37:08 -07:00
Natalie Weizenbaum
7d23034d4f
Add impl_status annotations for the new map functions (#492) 2020-10-15 17:10:52 -07:00
ngdangtu
7c39ec521c
Correct and reformat sample codes (#488) 2020-10-09 10:55:09 -07:00
Awjin Ahn
d98028e7aa
Fix backtick typo. (#491) 2020-10-08 14:44:32 -07:00
Christopher Kirk-Nielsen
094d7bd0ad
Add missing backtick at the end of inline code (#490) 2020-10-08 14:30:42 -07:00
Awjin Ahn
32ce3be79b
Nested maps documentations (#484)
Closes #476
2020-10-07 15:05:20 -07:00
Awjin Ahn
704cb489d0
Add explainer that @use is only availabe in Dart Sass (#481) 2020-10-05 17:08:54 -07:00
Ned Zimmerman
dba53562fd
Fix option name for sourceMapEmbed in example (#479)
Resolves #478.
2020-09-28 12:00:19 -07:00
disco-trooper
9373ca47b2
Fix typo (#472) 2020-08-27 09:47:52 -07:00
disco-trooper
3bc5fa08be
Remove redundant word in sentence (#471) 2020-08-26 09:26:00 -07:00
Awjin Ahn
6bd64be84d
Fix typo in maps doc. (#460)
Fixes https://github.com/sass/sass-site/issues/459
2020-07-16 11:02:32 -07:00
Awjin Ahn
64f370c69d
Fix use...with mixin example. (#454)
Fixes https://github.com/sass/sass-site/issues/453
2020-06-02 09:12:08 -07:00
coskunuyar
8e97e71e66
Invalid Examples (#451)
* Fix invalid semicolon on SASS example
* Fix wrong argument reference
* Fix invalid assignment to variable due to scope
2020-06-01 10:31:10 -07:00
Natalie Weizenbaum
e440cee626
Suggest mixins rather than @use ... with for advanced cases (#448) 2020-05-13 14:19:27 -07:00
devrafalko
f3f6b73e8c
Update color.html.mb.erb (#447)
`color.hue()` returned value range corrected.
2020-05-11 09:40:13 -07:00
brandondiamond
5ce35d4f26
Update use.html.md.erb (#441)
Fixing small typo.
2020-03-19 13:21:31 -07:00
Matt
b62ce0e79b
doc(at-rules@use): fix math error (#438) (#439) 2020-03-11 14:56:03 -07:00
Natalie Weizenbaum
edccda4a3d
Document multiple --remove-prefix flags for the migrator (#432) 2020-02-24 11:38:47 -08:00
Awjin Ahn
5e2cb1a6c8 Documentation for new built-in math functions. (#427) 2020-01-17 15:57:09 -08:00
Natalie Weizenbaum
799f85c59a
Merge pull request #421 from tatianamac/accessibility-fixes
Accessibility fixes
2020-01-06 16:37:23 -08:00
Jennifer Thakar
d023f81e4c
Document configuring through imports (#425) 2019-12-26 13:00:30 -08:00
Natalie Weizenbaum
502f512478
Document @forward ... with (#417)
See sass/sass#2744
Closes #383
2019-12-20 12:07:52 -08:00
tatianamac
b1e62bc77b 🎨 Made colour palette happy and accessible 2019-12-18 16:09:00 -08:00
Natalie Weizenbaum
193a124050 Move the blog onto sass-lang.com
Logdown seems to be basically unmaintained, its servers are
unreliable, and it's been causing some mixed-content errors lately.
This moves all blog posts to sass-lang.com itself; I'll set up
redirects from the blog as best I can once this lands.

Closes #401
Closes #402
Closes #403
2019-12-18 16:00:40 -08:00
Natalie Weizenbaum
7749bacbed
Merge pull request #409 from sass/blog
Move the blog onto sass-lang.com
2019-12-18 10:56:59 -08:00
Alexander Doroshko
7c14fd88d7 Typos fixed on the modules/selector page: selector.unify() -> selector-unify(), compound-selectors() -> simple-selectors() 2019-12-10 16:29:32 +03:00
Jennifer Thakar
5b5713faff
Add version for Dart Sass's module system support (#416) 2019-11-27 12:11:36 -08:00
Natalie Weizenbaum
a45d93d573
Add the missing parameter name to string.unquote() (#414) 2019-11-25 16:45:37 -08:00
Natalie Weizenbaum
f29abebc3f
Document $module parameters to sass:meta functions (#415) 2019-11-25 16:45:15 -08:00
Natalie Weizenbaum
181e3907ed Add the missing parameter name to string.unquote() 2019-11-20 16:49:39 -08:00
Ivaylo Kirov
a3d175dc38 Update at-rules.html.md.erb (#413) 2019-11-19 15:07:02 -08:00
Natalie Weizenbaum
837a475ddd Move the blog onto sass-lang.com
Logdown seems to be basically unmaintained, its servers are
unreliable, and it's been causing some mixed-content errors lately.
This moves all blog posts to sass-lang.com itself; I'll set up
redirects from the blog as best I can once this lands.

Closes #401
Closes #402
Closes #403
2019-11-12 18:21:51 -08:00
Wim Hendrikx
ddcbc9fd44 Add new 'use' and 'forward' at-rules to the overview (#397) 2019-10-22 21:01:11 +01:00
Natalie Weizenbaum
165dc8f293
Fix a typo (#391)
Closes #390
2019-10-21 21:17:15 +01:00
alibalouchi
b99d93d103 Update js-api.html.md.erb (#393) 2019-10-21 21:16:55 +01:00
Natalie Weizenbaum
46a2d9e3ce
Fix a use of "hsl" that should be "rgb" (#382)
Closes #381
2019-10-14 11:57:34 -07:00
Natalie Weizenbaum
6e93b8526d
Fix a broken example in the sass:selector docs (#385) 2019-10-11 15:15:35 -07:00
Natalie Weizenbaum
b2ab9cbe50
Recommend that users write @forward before @use (#384) 2019-10-11 14:09:31 -07:00
Christophe Coevoet
d139d52954 Fix links in the migrator doc (#377) 2019-10-02 11:19:27 -07:00
Jennifer Thakar
1697b562ef Update migrator docs to reflect new changes (#375) 2019-10-01 18:24:35 -07:00
Natalie Weizenbaum
34cd995893 Fix a broken link 2019-10-01 14:57:25 -07:00
Natalie Weizenbaum
cdfa203970 Code review changes 2019-10-01 14:43:21 -07:00
Natalie Weizenbaum
3cde415281 Document the Sass migrator
Closes #358
2019-09-25 14:53:13 +01:00
Natalie Weizenbaum
4a02f04717 Document new built-in functions
Closes #365
2019-09-24 11:36:43 +01:00
Natalie Weizenbaum
a99bb65fd6 The keywords() function is actually in sass:meta, not sass:map 2019-09-10 16:31:02 -07:00
Natalie Weizenbaum
35c719d1bb
Document how @extend interacts with modules (#369)
This includes documenting private placeholder selectors.

Closes #360
2019-09-09 15:24:51 -07:00
Natalie Weizenbaum
d8c3238c79
Document @forward (#368)
Closes #362
2019-09-06 14:13:51 -07:00
Natalie Weizenbaum
d46c2c77b0 Fix broken links 2019-09-05 14:47:14 -07:00
Natalie Weizenbaum
576474cfc5 Code review changes 2019-09-05 14:39:50 -07:00
Natalie Weizenbaum
b1b07540f2 Module-ify built-in function documentation
Closes #363
2019-09-04 17:56:16 -07:00
Natalie Weizenbaum
df428f62b2 Move plain-CSS function documentation into at-rules/function
This isn't ideal, since these functions aren't defined with @function,
but there's not really a better place to put it. It certainly doesn't
make sense in the built-in module documentation anymore.
2019-09-04 15:24:22 -07:00
Natalie Weizenbaum
029520349a Rename /documentation/functions to /documentation/modules
This hierarchy is now going to document built-in modules, which mostly
contain functions but can also contain mixins and may potentially
contain variables in the future.
2019-09-04 15:24:22 -07:00
Natalie Weizenbaum
8277f5bfbe Code review changes 2019-09-03 16:50:47 -07:00
Natalie Weizenbaum
8f093ba74b Document the @use rule
Closes #361
2019-09-02 13:45:40 -07:00
Natalie Weizenbaum
2088a021f9
Add an implementation note about sass/libsass#2957 (#359)
Documentation for @use and @forward themselves will come in a future
PR.

Partially addresses #263
2019-08-29 15:31:29 -07:00
Natalie Weizenbaum
835ff5a6a0
Add an implementation note about sass/libsass#2957 (#356) 2019-08-05 22:43:23 -07:00
Sergey Fetiskin
782d09c9cc fix to correct version of libsass (#355) 2019-07-22 23:54:17 +01:00
Natalie Weizenbaum
8b24f60f95
Add a breaking change page for /-as-division (#353)
This is intentionally not linked anywhere yet. It exists as a landing
page for links from dev versions of Sass and the migrator, and will be
updated as phase 1 comes closer to launching.

See sass/sass#2565
2019-06-06 19:37:59 +01:00
Natalie Weizenbaum
256a1bc7d0
Fix a broken code example (#352)
Closes #351
2019-06-06 19:36:46 +01:00
Natalie Weizenbaum
e378b285ef
Tweak some phrasing 2019-06-06 16:45:50 +01:00
Natalie Weizenbaum
a8dd640239 Add a breaking change page for /-as-division
This is intentionally not linked anywhere yet. It exists as a landing
page for links from dev versions of Sass and the migrator, and will be
updated as phase 1 comes closer to launching.

See sass/sass#2565
2019-06-04 15:11:33 +01:00
Natalie Weizenbaum
990651f774
Add documentation for recent breaking changes (#350)
We'll eventually add upcoming breaking changes, like /-as-division, as
well.
2019-06-04 12:57:17 +01:00
Natalie Weizenbaum
ba4cdf8836
Merge pull request #346 from sass/ruby-sass-cli
Update Ruby Sass's status in the Ruby Sass CLI docs
2019-05-30 05:24:38 -07:00
Natalie Weizenbaum
dd98c98307 Update Ruby Sass's status in the Ruby Sass CLI docs 2019-05-24 15:46:00 -07:00
Natalie Weizenbaum
854167dd0f
More clearly document import order (#342) 2019-05-16 16:15:53 -07:00
Natalie Weizenbaum
9b82b23abf
Fix a broken function example (#336)
A "min" function conflicts with Sass's support for CSS's min() syntax.

Closes #335
2019-05-06 14:32:23 -07:00
Natalie Weizenbaum
ff7970b80e
Merge pull request #334 from sass/error-css
Document Dart Sass's --error-css flag
2019-05-06 13:56:47 -07:00
Maarten Brouwers
c582c015b2 Fix code example (#339)
Minor fix: `to-lower-case` featured a `to-upper-case` example
2019-05-06 11:40:07 -07:00
Natalie Weizenbaum
c932e18338 Document Dart Sass's --error-css flag
See sass/dart-sass#657
See sass/dart-sass#659
2019-04-30 11:16:26 -07:00
Natalie Weizenbaum
bbdac76437 Add starting versions for Dart CLI features
I'm leaving these out for features that have been supported since
1.0.0, since they're available in effectively all versions.
2019-04-30 11:05:53 -07:00
Natalie Weizenbaum
6729c6fb54
Explicitly document the @keyframes rule (#333)
I didn't originally think that this was complex enough to need
documenting, but it looks like people are searching for it so I guess
it does.
2019-04-30 10:38:29 -07:00
Natalie Weizenbaum
3de6939d9b
Fix a small error in an example (#332)
Closes #329
2019-04-29 16:06:25 -07:00
Natalie Weizenbaum
d87eeab0a3 Update Dart Sass error examples to match the current output 2019-04-07 17:01:48 -07:00
Natalie Weizenbaum
96632b9c02 Document the --unicode flag
See sass/dart-sass#566
2019-04-07 16:43:49 -07:00
Natalie Weizenbaum
bfff691df2 Document the --no-charset flag
See sass/dart-sass#644
2019-04-07 16:39:53 -07:00
Natalie Weizenbaum
4b6b15b1ab
Add special styling for intro pages (#316)
This just bumps up the font size a bit, to help emphasize that these
pages are special and make them look less bare.

Closes #276
2019-04-04 23:55:07 -07:00
Natalie Weizenbaum
d42fca01ff Remove the Maps introduction paragraph
This code examples in this paragraph don't fit in the larger font
size.
2019-04-03 16:39:35 -07:00
Natalie Weizenbaum
3d20c8f536 Fix some broken Markdown links 2019-04-03 16:38:26 -07:00
Natalie Weizenbaum
4e6eb090a4
Merge pull request #306 from sass/impl-status
Tweak impl status styling
2019-03-18 17:48:47 -07:00
Natalie Weizenbaum
e3eb8cc442 Clarify that multiple / operations aren't treated as divison
Closes #303
2019-03-11 17:38:45 -07:00
Natalie Weizenbaum
b8fd618da7 Document forbidden assignment to non-existent global variables
Closes #285
2019-03-11 17:37:27 -07:00
Natalie Weizenbaum
d0c1079b78
Merge branch 'wip.reference' into impl-status 2019-03-10 23:22:02 -07:00
Natalie Weizenbaum
0ce28695ce Fix broken links 2019-03-08 17:57:33 -08:00
Natalie Weizenbaum
4c58ef0739 Add a partial support state for impl statuses 2019-03-08 17:11:11 -08:00
Natalie Weizenbaum
482542ac08 Add a header for impl status bars
This gives us a place to disambiguate between implementation statuses
that refer to the entire feature under discussion, and those that just
refer to sub-features.
2019-03-08 16:48:27 -08:00
Natalie Weizenbaum
ce1dfc1585 Fix some mixed-up links 2019-03-04 18:30:15 -08:00
Natalie Weizenbaum
8274243798 Fix a typo 2019-03-04 18:08:04 -08:00
Jina Anne
94c9c002ec make call outs less… called out 2019-03-04 16:24:31 -08:00
Natalie Weizenbaum
e6771747ad Enable html-proofer for the new docs, and fix errors 2019-01-09 14:36:31 -08:00
Natalie Weizenbaum
62fa63b67a Fix some typos 2019-01-04 15:04:18 -05:00
Natalie Weizenbaum
c344861698 Fix a typo 2018-12-27 18:12:55 -08:00
Natalie Weizenbaum
d39671f9cd Document the new escaped tab behavior (#264)
See https://github.com/sass/sass/issues/2590
2018-12-27 17:25:06 -08:00
Natalie Weizenbaum
a066703e22 Document rgba($color, $alpha)
Closes #254
2018-12-04 13:35:27 -08:00
Natalie Weizenbaum
6b015247a3 Document passing special functions to rgb() and hsl()
Closes #253
2018-12-03 18:39:07 -08:00