Commit Graph

1292 Commits

Author SHA1 Message Date
James Stuckey Weber
f69a4ff271 Add sass version to playground 2023-06-21 10:33:05 -04:00
James Stuckey Weber
d1a1fb9e9f Prepend shareable url with ? so it is shareable 2023-06-21 09:54:25 -04:00
Stacy Kvernmo
3c23192946 slight button edits and alert position on playground 2023-06-20 18:26:46 -05:00
Stacy Kvernmo
fc8d1edc72 lint 2023-06-20 17:08:26 -05:00
Stacy Kvernmo
a43ebc1b22 playground button and layout edits 2023-06-20 17:07:07 -05:00
Jonny Gerig Meyer
f472a23002
use line feed &#10; instead of <br /> 2023-06-20 15:59:48 -04:00
Jonny Gerig Meyer
23f987c259
Allow codeExamples to be nested in markdown 2023-06-20 15:54:22 -04:00
Jonny Gerig Meyer
772a20f5e2
Fewer skips 2023-06-20 15:07:38 -04:00
Jonny Gerig Meyer
2171a90eae
skip fewer internal links 2023-06-20 13:17:03 -04:00
Stacy Kvernmo
6ee51768f8 lint 2023-06-20 11:59:40 -05:00
Stacy Kvernmo
a07818d011 Merge branch 'browser-code-editor' of https://github.com/oddbird/sass-site into browser-code-editor 2023-06-20 11:58:40 -05:00
Stacy Kvernmo
994d8571fe initial grid layout with panel scrolls only 2023-06-20 11:58:36 -05:00
Jonny Gerig Meyer
37d27976b5
remove unused lint comments 2023-06-20 12:13:03 -04:00
Jonny Gerig Meyer
530843250f
fix more links 2023-06-20 12:09:16 -04:00
Jonny Gerig Meyer
5690ce390b
Check blog internal links too 2023-06-20 11:20:07 -04:00
Jonny Gerig Meyer
0e1868ef06
Add nav link to default-exports 2023-06-20 07:29:28 -04:00
Jonny Gerig Meyer
97e4f71a0c
Remove old eslint/prettier rules 2023-06-19 17:55:26 -04:00
Jonny Gerig Meyer
f0e31fff13
lint 2023-06-19 16:53:17 -04:00
Jonny Gerig Meyer
7a6fecc8f7
Merge branch 'playground' into browser-code-editor
* playground:
  Upgrade deps
  Trying different approach for cleaning cache file of releases
  Convert "releases" data file to TS
  Don't check SVGs
  update image paths for jquery vendor images
  Fix typos in Code styleguide
  Only check external links once a month
  Check links in CI
  Check and fix internal links
  Let dependabot handle upgrades
  Cut a release for a new Dart Sass version
  Document the default export deprecation (#736)
2023-06-19 16:39:04 -04:00
Sana Javed
b256bed29d Trying different approach for cleaning cache file of releases 2023-06-16 23:43:18 +02:00
Stacy Kvernmo
7b4d532c59 lint 2023-06-16 15:43:39 -05:00
Stacy Kvernmo
6dab8f41d4 give footer is_playground option 2023-06-16 15:17:51 -05:00
Stacy Kvernmo
fc1808292d footer playgorund style overrides 2023-06-16 15:17:26 -05:00
Ed Rivas
701482cb9f Convert "releases" data file to TS 2023-06-16 17:45:29 +00:00
Stacy Kvernmo
199bb0ea08 update image paths for jquery vendor images 2023-06-16 11:12:14 -05:00
James Stuckey Weber
4ad313b35e Fix typos in Code styleguide 2023-06-16 11:49:43 -04:00
Ed Rivas
33861623c1 Check and fix internal links 2023-06-15 23:45:25 +00:00
Ed Rivas
d7d38ff1c4 Merge remote-tracking branch 'upstream/main' into main 2023-06-15 22:47:56 +00:00
James Stuckey Weber
ea03de7774 Merge branch 'main' of github.com:oddbird/sass-site into browser-code-editor 2023-06-15 16:32:35 -04:00
James Stuckey Weber
8ae9bfd6b1 Lint 2023-06-15 16:22:00 -04:00
James Stuckey Weber
00062ef8dc Remove Release banner from playground 2023-06-15 16:20:25 -04:00
James Stuckey Weber
a433c2588b Update selectors to match style guide 2023-06-15 15:19:37 -04:00
James Stuckey Weber
9969e5655d Move data-active to tab bar button 2023-06-15 14:50:34 -04:00
Ed Rivas
47bb3b2a1a Address review 2023-06-15 17:49:54 +00:00
Ed Rivas
299bdf375a Use gts instead of eslint 2023-06-15 17:47:55 +00:00
Stacy Kvernmo
d4c8e2aa5c editor and console layout styles 2023-06-14 16:30:09 -05:00
Stacy Kvernmo
6fc4aaf537 additional editor colors 2023-06-14 16:29:52 -05:00
Stacy Kvernmo
eae7ba867c tab button styles 2023-06-14 15:30:19 -05:00
Stacy Kvernmo
a35f0ecbd5 more closely matches prism.js colors 2023-06-14 14:18:38 -05:00
Stacy Kvernmo
ddd5e2b36f add Playground tags to better match prism 2023-06-14 12:00:06 -05:00
Stacy Kvernmo
6d515ce72f Merge branch 'main' into browser-code-editor 2023-06-14 11:16:24 -05:00
Stacy Kvernmo
bcc417d0f9 Merge branch 'main' into highlight-styles 2023-06-14 11:09:51 -05:00
Stacy Kvernmo
f1ec40469a add support for ::selection (chrome) 2023-06-14 11:06:06 -05:00
Stacy Kvernmo
5058056891 lint colors 2023-06-14 11:05:48 -05:00
Stacy Kvernmo
b892867a1a use semibold values for bolder items 2023-06-14 11:02:30 -05:00
Natalie Weizenbaum
58f1bfadfe
Document the default export deprecation (#736)
See sass/dart-sass#2008
2023-06-13 15:28:59 -07:00
James Stuckey Weber
3a34ba177e Move playground styles from js to scss 2023-06-13 12:42:28 -04:00
Jonny Gerig Meyer
c0ddae7b89
lint 2023-06-13 12:12:07 -04:00
James Stuckey Weber
910d556ef5 Run lint 2023-06-13 10:44:48 -04:00
Stacy Kvernmo
d9f326658d namespacing, style overrides, working with playgound layout and header 2023-06-12 17:19:24 -05:00
Stacy Kvernmo
262b7a0e48 use Sass variable for typeface 2023-06-12 13:38:42 -05:00
Stacy Kvernmo
f4f5cc0441 Merge branch 'browser-code-editor' of https://github.com/oddbird/sass-site into browser-code-editor
# Conflicts:
#	source/assets/sass/components/_playground.scss
#	source/playground.liquid
2023-06-12 13:38:27 -05:00
Stacy Kvernmo
4c6a19bc49 use namespacing on classes, edit playground layout 2023-06-12 11:59:27 -05:00
James Stuckey Weber
3bec8368c0 Disable search 2023-06-12 11:55:14 -04:00
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
Jonny Gerig Meyer
c3b315b158
review 2023-06-10 12:31:43 -04:00
Jonny Gerig Meyer
c851d78a2f
Redirect to playground instead of sassmeister 2023-06-10 11:03:16 -04:00
Jonny Gerig Meyer
0e97c56b46
Merge branch 'main' into browser-code-editor
* main:
  add a few docs
  Auto-generate non-@debug CSS
  upgrade yarn
  revert dockerfile change (for now)
  Update some JS API URLs
  Fix permissions in devcontainer
  Use nested records for redirects
  remove config.rb
  Implement remainder of redirects
  Confirm hash redirects
  Remove non-redirect-related cruft
2023-06-10 11:02:11 -04:00
Jonny Gerig Meyer
50d509fc90
add a few docs 2023-06-10 11:02:00 -04:00
Jonny Gerig Meyer
1a3a17d212
Merge branch 'main' into highlight-styles 2023-06-10 10:34:21 -04:00
Jonny Gerig Meyer
59354fe930
Auto-generate non-@debug CSS 2023-06-10 10:28:55 -04:00
Jonny Gerig Meyer
5f13fba2c1
Merge branch 'main' into remove-cruft 2023-06-10 09:53:00 -04:00
Ed Rivas
8a70201c13 Update some JS API URLs 2023-06-09 22:16:55 +00:00
Ed Rivas
19e58534d2 Use nested records for redirects 2023-06-09 21:45:15 +00:00
James Stuckey Weber
3a6ed07c84 Fix emoji display, use innerText to sanitize message 2023-06-09 15:35:27 -04: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
2bea6c1327
Merge branch 'redirects' into remove-cruft
* redirects:
  Implement remainder of redirects
  Confirm hash redirects
2023-06-08 23:14:05 -04:00
Jonny Gerig Meyer
ae6b72a058
Implement remainder of redirects 2023-06-08 23:10:35 -04:00
Jonny Gerig Meyer
76fd79e6da
Confirm hash redirects 2023-06-08 22:26:33 -04:00
Jonny Gerig Meyer
8eb6b06450
Remove non-redirect-related cruft 2023-06-08 22:18:33 -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
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
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