Commit Graph

1646 Commits

Author SHA1 Message Date
Stacy Kvernmo
351f932b41 allow playground to use existing patterns, add classes for playgournd specific styles 2023-06-12 09:28:38 -05:00
Stacy Kvernmo
d7970fa2e8 adjust heading size for playground 2023-06-12 09:23:41 -05:00
James Stuckey Weber
db21395639 Split out pure functions and types into utils 2023-06-09 13:00:13 -04:00
James Stuckey Weber
f24b37d02d Merge branch 'browser-code-editor-debug' into browser-code-editor 2023-06-09 12:36:07 -04:00
James Stuckey Weber
863f6176e2 Add url persistence and sharing 2023-06-09 12:24:33 -04:00
Jonny Gerig Meyer
75283bc8d7
switch to dart sass release 2023-06-09 12:22:57 -04:00
Jonny Gerig Meyer
be2482759a
Merge branch 'main' into browser-code-editor
* main: (22 commits)
  spacing
  Review operators docs
  Warn if `{% codeExample %}` is used without a name.
  Review values docs
  Removing unused code-snippets dir
  Updating doc and code snippet paths
  merge in change from upstream
  Operators - Boolean
  Operators - String
  Operators - Numeric
  Operators - Relational
  Operators - Equality
  Operators - Index
  Values - Functions
  Values - Calculations
  Values - Null
  Porting Documentation - Values - Booleans
  Porting Documentation - Values - Maps
  Porting Documentation - Values - Lists
  Porting Documentation - Values - Colors
  ...
2023-06-09 11:27:53 -04:00
Jonny Gerig Meyer
cd4c9d612e
Merge pull request #61 from oddbird/port-docs-values
Porting Documentation - Values and Operators
2023-06-08 21:51:45 -04:00
Jonny Gerig Meyer
68ed9dda91
spacing 2023-06-08 21:45:34 -04:00
Jonny Gerig Meyer
c74dd3bc63
Review operators docs 2023-06-08 21:44:39 -04:00
Jonny Gerig Meyer
d0478dc67f
Warn if {% codeExample %} is used without a name. 2023-06-08 17:15:55 -04:00
Jonny Gerig Meyer
cd4b803f52
Review values docs 2023-06-08 17:10:09 -04:00
James Stuckey Weber
6ae29d6da9 Refactor debug output 2023-06-08 15:06:03 -04:00
James Stuckey Weber
c5fc59891d Merge branch 'browser-code-editor' into browser-code-editor-debug 2023-06-08 14:41:27 -04:00
James Stuckey Weber
ca007f50a9 Switch to lodash debounce 2023-06-08 18:40:42 +00:00
James Stuckey Weber
a9810ff27f Merge branch 'main' of github.com:oddbird/sass-site into browser-code-editor 2023-06-08 14:32:52 -04:00
James Stuckey Weber
5ac84217aa Escape console messages to prevent XSS 2023-06-08 18:30:30 +00:00
Jonny Gerig Meyer
9569d71305
Merge branch 'main' into port-docs-values
* main:
  Cut a release for a new Dart Sass version
  Cut a release for a new Dart Sass version
  Cut a release for a new Dart Sass version
2023-06-08 14:20:34 -04:00
Jonny Gerig Meyer
9cbb49b9e6
Merge branch 'main' of github.com:sass/sass-site
* 'main' of github.com:sass/sass-site:
  Cut a release for a new Dart Sass version
  Cut a release for a new Dart Sass version
  Cut a release for a new Dart Sass version
2023-06-08 14:20:07 -04:00
Sana Javed
29686849ae Removing unused code-snippets dir 2023-06-08 10:10:22 +02:00
Sana Javed
1b3a03eac1 Updating doc and code snippet paths 2023-06-08 10:05:58 +02:00
Sana Javed
b47fe39d62
Merge branch 'main' into port-docs-values 2023-06-08 09:39:34 +02:00
Sass Bot
cced7a87e5 Cut a release for a new Dart Sass version 2023-06-08 01:39:18 +00:00
Sass Bot
1a86e26f19 Cut a release for a new Dart Sass version 2023-06-08 00:26:15 +00:00
Jonny Gerig Meyer
9636697726
Merge pull request #54 from oddbird/builtin-modules
Port Built-in Modules docs
2023-06-07 17:43:52 -04:00
Sass Bot
5acbcf22fd Cut a release for a new Dart Sass version 2023-06-07 20:53:13 +00:00
Jonny Gerig Meyer
ffa46e5f5b
Use LiquidJS template instead of constructing HTML in JS. 2023-06-07 16:36:06 -04:00
James Stuckey Weber
278e2fc8ef Merge branch 'browser-code-editor' into browser-code-editor-debug 2023-06-07 19:47:17 +00:00
James Stuckey Weber
7acf6a2c5f Style feedback tweaks 2023-06-07 15:45:42 -04:00
James Stuckey Weber
5e928d4020 Merge branch 'main' of github.com:oddbird/sass-site into browser-code-editor 2023-06-07 15:45:05 -04:00
Jonny Gerig Meyer
11cda5d580
Use {% capture %} blocks for args with newlines. 2023-06-07 15:44:07 -04:00
James Stuckey Weber
91e3ad75f9 Add debug output 2023-06-07 15:13:23 -04:00
Jonny Gerig Meyer
c0d7a113cb
Merge branch 'main' into builtin-modules
* main:
  Better handle the JS API docs on smaller screens (#735)
  Mention that / is interpreted as division in calculations (#734)
2023-06-07 10:32:03 -04:00
Jonny Gerig Meyer
405b421651
merge in change from upstream 2023-06-07 10:01:09 -04:00
Jonny Gerig Meyer
ac68e56e02
Merge branch 'main' into port-docs-values
* main:
  Better handle the JS API docs on smaller screens (#735)
  Mention that / is interpreted as division in calculations (#734)
2023-06-07 09:59:11 -04:00
Jonny Gerig Meyer
05a7f4d896
Merge branch 'main' of github.com:sass/sass-site
* 'main' of github.com:sass/sass-site:
  Better handle the JS API docs on smaller screens (#735)
  Mention that / is interpreted as division in calculations (#734)
2023-06-07 09:57:57 -04:00
James Stuckey Weber
80f3addecf Add code folding, remove unused imports 2023-06-07 09:55:41 -04:00
James Stuckey Weber
b85b9c1f3d Switch to proxy reactivity 2023-06-07 09:46:39 -04:00
James Stuckey Weber
70cc37aba7 Type cleanup, more robust error fallbacks 2023-06-07 09:17:37 -04:00
Natalie Weizenbaum
4ca36af82b
Better handle the JS API docs on smaller screens (#735)
In desktop mode, the sidebar always gets 1/3 of the space and the
content gets 2/3. In mobile mode, the sidebar instead goes above the
content as a table of contents.

Closes #732
2023-06-06 14:22:17 -07:00
James Stuckey Weber
a57bbef204 Make error tooltip mono font 2023-06-06 16:32:13 -04:00
James Stuckey Weber
6697bb7f69 Add immutable as dependency for browser compilation 2023-06-06 16:27:40 -04:00
James Stuckey Weber
41b12fb480 Add cursor styles for playground 2023-06-06 16:25:37 -04:00
James Stuckey Weber
04f8e8bf37 Use base layout for playground, remove docsearch from playground 2023-06-06 16:25:18 -04:00
James Stuckey Weber
88278e063d Move state from DOM to Pojo 2023-06-06 16:02:26 -04:00
Sana Javed
5c9e4896c1 Operators - Boolean 2023-06-06 21:03:28 +02:00
Sana Javed
8c4fb80e0a Merge branch 'port-docs-values' of github.com:oddbird/sass-site into port-docs-values 2023-06-06 20:58:09 +02:00
Sana Javed
14c83a63ed Operators - String 2023-06-06 20:57:55 +02:00
Sana Javed
098e683e63 Operators - Numeric 2023-06-06 20:47:01 +02:00
Sana Javed
b3f6df29ca Operators - Relational 2023-06-06 20:28:10 +02:00