Commit Graph

435 Commits

Author SHA1 Message Date
Stacy Kvernmo
199bb0ea08 update image paths for jquery vendor images 2023-06-16 11:12:14 -05: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
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
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
James Stuckey Weber
3a34ba177e Move playground styles from js to scss 2023-06-13 12:42:28 -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
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
1a3a17d212
Merge branch 'main' into highlight-styles 2023-06-10 10:34:21 -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
5e928d4020 Merge branch 'main' of github.com:oddbird/sass-site into browser-code-editor 2023-06-07 15:45:05 -04:00
James Stuckey Weber
91e3ad75f9 Add debug output 2023-06-07 15:13:23 -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
41b12fb480 Add cursor styles for playground 2023-06-06 16:25:37 -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
James Stuckey Weber
287bf560fc Add mobile flow 2023-06-05 15:06:49 -04:00
James Stuckey Weber
501adc6d3c Show error message and persist stale css 2023-06-05 18:40:15 +00:00
James Stuckey Weber
9d77a79e26 Add diagnostic errors to playground 2023-06-05 17:55:56 +00:00
James Stuckey Weber
85d5abcd03 Initial pass at getting code styling close to existing 2023-06-05 16:02:44 +00:00
James Stuckey Weber
45ee2c4b03 Ensure DOM is loaded before setting up playground 2023-06-05 13:25:55 +00:00
James Stuckey Weber
34859481cb Add compilation options and tab buttons 2023-06-02 12:52:24 -04:00
James Stuckey Weber
486f7355a9 Start theming and layout of playground 2023-06-02 10:53:32 -04:00
James Stuckey Weber
425cafdc65 Minimal working version with CodeMirror 2023-06-02 09:24:32 -04:00
James Stuckey Weber
d5f9583020 Template logic cleanup, review changes 2023-05-31 16:10:09 +00:00
James Stuckey Weber
bd585e706b Add placeholder page for playground 2023-05-31 14:04:29 +00:00
Stacy Kvernmo
8ade38ce69 add colors to variables, add one highlight color 2023-05-30 15:42:18 -05:00
Stacy Kvernmo
d4a6771912 fix faux font weight issue, add scss base color 2023-05-30 15:11:36 -05:00
Stacy Kvernmo
e640b5ae71 make pre consistent with vendor highlighting 2023-05-26 11:30:27 -05:00
Jonny Gerig Meyer
f078485f55
Attempt to fix typedoc syntax highlighting. 2023-05-22 14:01:41 -04:00
Ed Rivas
83a76c9151 Build JS API docs 2023-05-19 17:24:15 +00:00
Ed Rivas
0dd7ca69b5 Merge remote-tracking branch 'upstream/main' into main 2023-05-19 16:04:26 +00:00
Natalie Weizenbaum
a812ad0985
Update TypeDoc plugin to support 0.24. (#728) 2023-05-18 16:59:30 -07:00
Jonny Gerig Meyer
3dded7b15f
lint 2023-04-17 11:16:04 -04:00
Jonny Gerig Meyer
7b920ba560
Add 404, sass implementation pages, robots.txt, humans.txt. 2023-04-05 17:49:42 -04:00
Jonny Gerig Meyer
8c0a93013e
disable stylelint rule: https://github.com/stylelint/stylelint/issues/6741 2023-03-28 14:25:08 -04:00
Stacy Kvernmo
f0a9167a0d lint (weird?) 2023-03-28 10:26:38 -05:00
Stacy Kvernmo
5d130b6143 remove nesting for consistency 2023-03-23 21:30:45 -05:00
Stacy Kvernmo
6ffe0933ba Merge branch 'main' into consistent-sass-formatting 2023-03-23 15:58:55 -05:00
Stacy Kvernmo
f9e3e2e94f Merge branch 'main' into color-config 2023-03-14 11:57:27 -05:00
Stacy Kvernmo
c57377610c define new breakpoints for code tabs 2023-03-13 17:06:52 -05:00
Stacy Kvernmo
89c6afb22c clean up: remove unused 2023-03-13 15:47:33 -05:00
Stacy Kvernmo
90c9eedefa add namespace to sizes to be consistent with colors 2023-03-13 15:46:22 -05:00
Jonny Gerig Meyer
8d958ce4de
Fix margin for multiple stacked code example blocks 2023-03-13 16:33:21 -04:00
Stacy Kvernmo
f82e4c8a68 pop-stripe magic 2023-03-13 15:02:47 -05:00
Stacy Kvernmo
82a1b7e5bb consistent naming 2023-03-13 15:02:24 -05:00
Jonny Gerig Meyer
2e97aaf8d8
lint 2023-03-08 16:14:25 -05:00
oluniyiawo
0bc40d48e5 Changed alert.scss 2023-03-08 18:59:44 +00:00
Stacy Kvernmo
d450ad7197 renamed vars 2023-03-03 16:52:12 -06:00
Stacy Kvernmo
c1483deeaa use css variables 2023-03-03 16:46:50 -06:00
Stacy Kvernmo
4ad21ecbd4 lint 2023-03-03 16:33:28 -06:00
Stacy Kvernmo
0fe7336a1d remove auto prefix, use in css consistently 2023-03-03 16:30:46 -06:00
Stacy Kvernmo
50280d695d color config use css variables where possible, edit prefix 2023-03-03 16:14:07 -06:00
Jonny Gerig Meyer
d635255756
Merge branch 'main' into learn-sass
* main:
  Override height/position for styleguide nav
  lint
  Try out markdown-it-attrs
  simplify color data
  we can use the css for the color values
  fix table cell padding
  update styleguide
  lint
  Add remainder of styleguide contents
  update links
  Port over initial pages of styleguide.
2023-02-25 17:09:18 -07:00
Stacy Kvernmo
91a0604d8a fix table cell padding 2023-02-24 20:09:48 -06:00
Jonny Gerig Meyer
c6f9dad34a
Merge branch 'main' into learn-sass
* main: (21 commits)
  lint
  lint
  remove unused
  adjust alert link color
  consistent globabl variables
  fix links, buttons
  remove unused color theme file
  remove unused file
  review edits
  lint
  fix default button color
  clean up button background states
  split color modules used for converting tokens
  expand color config, relocate color functions
  clean up syntax highlighting and wip color config
  fix build error
  cleanup + wip color config
  remove unused stylesheet, cleanup
  wip adjust prism theme for syntax highlightling
  Add another example theme
  ...
2023-02-24 16:17:30 -07:00
Jonny Gerig Meyer
1147d55bff
lint 2023-02-24 16:16:57 -07:00
Stacy Kvernmo
526366f2e8 Merge branch 'main' into syntax-highlighting
# Conflicts:
#	source/assets/sass/components/_alerts.scss
#	source/assets/sass/components/_buttons.scss
#	source/assets/sass/visual-design/_theme.scss
2023-02-24 15:10:42 -06:00
Stacy Kvernmo
3c3975ace5 lint 2023-02-24 14:56:47 -06:00
Stacy Kvernmo
193abc1fd4 remove unused 2023-02-24 14:49:03 -06:00