Commit Graph

117 Commits

Author SHA1 Message Date
James Stuckey Weber
e81e4a0ec6 Remove unneeded cause 2023-07-06 19:38:06 -04:00
James Stuckey Weber
26da240538 Add custom message when trying to load files in the playground 2023-07-02 17:00:56 -04:00
James Stuckey Weber
94a2af06f8 Make hash functions pure inverses 2023-07-02 16:42:43 -04:00
James Stuckey Weber
2f6dedd414 Fix nits 2023-07-02 12:42:05 -04:00
James Stuckey Weber
8853f9e5b4 Show debug and warning as diagnostics if span is present 2023-07-02 12:35:17 -04:00
Jonny Gerig Meyer
300c873f06
lint 2023-06-22 15:44:26 -04:00
Jonny Gerig Meyer
be671003e9
Merge branch 'playground' into browser-code-editor
* playground: (27 commits)
  update
  update comments
  Simplify helpers
  Convert remainder of docs to md
  Convert operators docs to use md
  Convert remainder of modules docs to md
  No need for duplicate strip-indent
  new approach to stripping leading whitespace
  Strip indentation for nested blocks
  Different approach to preventing <p> tags with nested code examples
  Convert color module to md
  Convert breaking changes docs to md
  Convert at-rules docs to markdown
  use line feed `&#10;` instead of `<br />`
  Allow codeExamples to be nested in markdown
  Fewer skips
  more verbose
  skip blog index pages
  Try fewer assets
  skip fewer internal links
  ...
2023-06-22 15:41:35 -04:00
Stacy Kvernmo
7e44cf8888 remove unused 2023-06-21 14:39:32 -05:00
James Stuckey Weber
55f6a47048 Remove unneeded query 2023-06-21 12:34:55 -04:00
James Stuckey Weber
6b1e56e66f Lint 2023-06-21 11:12:48 -04:00
James Stuckey Weber
2778507a4e Catch if base64 decode fails 2023-06-21 10:36:11 -04:00
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
Jonny Gerig Meyer
97e4f71a0c
Remove old eslint/prettier rules 2023-06-19 17:55:26 -04: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
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
299bdf375a Use gts instead of eslint 2023-06-15 17:47:55 +00: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
b892867a1a use semibold values for bolder items 2023-06-14 11:02:30 -05:00
James Stuckey Weber
3a34ba177e Move playground styles from js to scss 2023-06-13 12:42:28 -04:00
James Stuckey Weber
3bec8368c0 Disable search 2023-06-12 11:55:14 -04:00
Jonny Gerig Meyer
c3b315b158
review 2023-06-10 12:31:43 -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
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
76fd79e6da
Confirm hash redirects 2023-06-08 22:26:33 -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
5ac84217aa Escape console messages to prevent XSS 2023-06-08 18:30:30 +00: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
91e3ad75f9 Add debug output 2023-06-07 15:13:23 -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
James Stuckey Weber
a57bbef204 Make error tooltip mono font 2023-06-06 16:32:13 -04:00
James Stuckey Weber
88278e063d Move state from DOM to Pojo 2023-06-06 16:02:26 -04:00
Jonny Gerig Meyer
61731d2209
Add type defs for dart-sass build 2023-06-06 14:23:37 -04:00
James Stuckey Weber
23eeea5164 Apply debounce 2023-06-06 13:47:43 -04:00
James Stuckey Weber
bcc110b82f Handle tab for indent 2023-06-06 11:49:43 -04:00
James Stuckey Weber
eb2fe87bc5 Debounce update CSS 2023-06-06 11:33:41 -04:00