Commit Graph

435 Commits

Author SHA1 Message Date
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
Sana Javed
9535a67adc
Merge branch 'main' into learn-sass 2023-02-24 16:59:32 +01:00
Jonny Gerig Meyer
a79863adae
Merge pull request #14 from oddbird/config-scale
[config-scale] add sizes to design tokens config
2023-02-23 14:30:45 -05:00
dvdherron
29c9918fb5 adjust alert link color 2023-02-22 18:21:22 +01:00
dvdherron
fe3c6737d6 consistent globabl variables 2023-02-22 17:42:04 +01:00
dvdherron
2452f354b5 fix links, buttons 2023-02-22 17:11:29 +01:00
dvdherron
9d31088244 remove unused color theme file 2023-02-22 15:07:35 +01:00
Stacy Kvernmo
ee6a03429a fix breakpoint mixin 2023-02-21 14:44:48 -06:00
Stacy Kvernmo
5f48137273 use namespacing, automatic sl- prefix added 2023-02-21 13:51:32 -06:00
Stacy Kvernmo
94edd2bdbc remove duplicate 2023-02-21 13:22:28 -06:00
Stacy Kvernmo
049024b9ee add border width back 2023-02-21 13:19:09 -06:00
Stacy Kvernmo
eebc8f276e remove sassdoc groups, reorder sizes 2023-02-21 13:15:25 -06:00
dvdherron
e37653b965 remove unused file 2023-02-21 18:42:34 +01:00
Stacy Kvernmo
d09bdeea87 generic way to scale smaller text 2023-02-21 11:40:34 -06:00
Stacy Kvernmo
bfc672336f inherit font-size 2023-02-21 11:26:26 -06:00
Sana Javed
20a3a74c4f
Merge branch 'main' into learn-sass 2023-02-21 17:36:56 +01:00
dvdherron
11afce0468 Merge branch 'syntax-highlighting' of ssh://github.com/oddbird/sass-site into syntax-highlighting 2023-02-21 17:36:00 +01:00
dvdherron
dfe56978c5 review edits 2023-02-21 17:29:45 +01:00
Jonny Gerig Meyer
75fdd0e82d
Merge branch 'main' into syntax-highlighting
* main:
  remove unused comments
2023-02-21 11:20:12 -05:00
Jonny Gerig Meyer
9a982813bc
lint 2023-02-21 11:20:10 -05:00
Jonny Gerig Meyer
c6cd3f33ba
remove unused comments 2023-02-21 11:04:48 -05:00
Stacy Kvernmo
d9fe6d7ac1 lint 2023-02-20 15:24:50 -06:00
Stacy Kvernmo
4d7a349603 add px comparison notes 2023-02-20 15:24:24 -06:00
Stacy Kvernmo
406f576002 remove unneeded transform-origin for default instead 2023-02-20 15:16:51 -06:00
Stacy Kvernmo
dff68235c0 clean up type sizing 2023-02-20 14:54:31 -06:00
dvdherron
d322926405 fix default button color 2023-02-20 20:47:56 +01:00
dvdherron
43943f69a0 clean up button background states 2023-02-20 20:42:41 +01:00
dvdherron
56ac789252 split color modules used for converting tokens 2023-02-20 20:21:30 +01:00
dvdherron
d1c7ef01fe expand color config, relocate color functions 2023-02-20 17:10:03 +01:00
dvdherron
1d4281a597 clean up syntax highlighting and wip color config 2023-02-20 15:19:52 +01:00
Jonny Gerig Meyer
7fa2ff0e1f
Add more jQuery UI deps 2023-02-17 14:58:17 -05:00
Sana Javed
7e02df2313
Merge branch 'main' into learn-sass 2023-02-17 17:15:43 +01:00
Sana Javed
28d14ddc2c Learn sass page and first pass at code example helper 2023-02-17 17:10:42 +01:00
dvdherron
900c7993dc Merge branch 'main' into syntax-highlighting 2023-02-16 14:58:43 +01:00
Jonny Gerig Meyer
5c7c24f482
Remove stylelint-prettier 2023-02-13 12:01:44 -05:00
Stacy Kvernmo
dfe96c9430 add additional sizes to design tokens config 2023-02-09 16:53:25 -06:00
dvdherron
2d7b222990 cleanup + wip color config 2023-02-09 15:15:01 -06:00
dvdherron
478fa5852a remove unused stylesheet, cleanup 2023-02-08 14:55:15 -06:00
dvdherron
42709197f8 wip adjust prism theme for syntax highlightling 2023-02-08 14:23:21 -06:00
Jonny Gerig Meyer
c0075a337a
Merge branch 'main' into syntax-highlighting
* main:
  Add docs on templates
  lint
  revert to shorthand nesting padding for now
  Quick negative css variables over using calc repeatedly
  Use {% render %} instead of deprecated {% include %}
  Do not auto-typogr for markdown
  Add alerts.yml data file
  More consistent use of typogr for all contents
2023-02-03 13:35:26 -05:00
Jonny Gerig Meyer
8c0b522835
lint 2023-02-02 15:13:17 -05:00
Stacy Kvernmo
2ecf777a3a revert to shorthand nesting padding for now 2023-02-02 11:34:43 -06:00
Stacy Kvernmo
f4516176b2 Quick negative css variables over using calc repeatedly 2023-02-02 11:14:02 -06:00
Jonny Gerig Meyer
148d061479
Merge branch 'homepage' into syntax-highlighting
* homepage:
  fix remaining references
  Update .github/workflows/shadow-repo.yml
  Add shadow repo workflow
  Update source/community.md
  font-size revert until future PR
  apply style to class instead of alert heading
2023-01-31 18:01:26 -05:00
Stacy Kvernmo
59c87f1e89 font-size revert until future PR 2023-01-31 14:53:00 -06:00
Stacy Kvernmo
e693987b35 Merge branch 'homepage' of https://github.com/oddbird/sass-site into homepage 2023-01-31 14:39:32 -06:00
Stacy Kvernmo
fdd5e03fca apply style to class instead of alert heading 2023-01-31 14:39:28 -06:00
Jonny Gerig Meyer
a3cd423e2d
Add another example theme 2023-01-31 14:24:16 -05:00
Jonny Gerig Meyer
11f3f7976d
Add syntax highlighter (needs styles) 2023-01-31 14:18:33 -05:00
Jonny Gerig Meyer
4b46a9d064
lint 2023-01-31 11:13:51 -05:00
Stacy Kvernmo
83a3d1e635 lint 2023-01-31 09:53:34 -06:00
Stacy Kvernmo
8925009158 larger special alert padding to match site 2023-01-31 09:50:05 -06:00
Stacy Kvernmo
35c8f81245 first round of scale 2023-01-31 00:13:57 -06:00
Stacy Kvernmo
fb57f07f34 single quotes 2023-01-19 15:16:48 -06:00
Jonny Gerig Meyer
2024442f31
lint 2023-01-12 14:54:24 -05:00
Stacy Kvernmo
a9e42420bb run sass migrator and manual clean up 2023-01-12 12:19:42 -06:00
Jonny Gerig Meyer
b205803bf7
revert color change 2023-01-09 17:53:57 -05:00
Jonny Gerig Meyer
31b09b9323
Add Stylelint 2023-01-09 17:19:15 -05:00
Jonny Gerig Meyer
77c4c3892d
Add eslint 2023-01-09 15:15:35 -05:00
Jonny Gerig Meyer
413aba633f
Add TypeScript 2023-01-09 14:48:04 -05:00
Jonny Gerig Meyer
29d77ce08a
Add prettier 2023-01-09 14:10:02 -05:00
Jonny Gerig Meyer
5a599442fb
Add JS 2023-01-06 17:38:23 -05:00
Jonny Gerig Meyer
d0e1afaf0b
add sass 2023-01-06 17:38:23 -05:00
Jonny Gerig Meyer
5071228ace
Add basic 11ty config 2023-01-06 17:37:45 -05:00
Natalie Weizenbaum
e266114650
Add a "Powered by Mac Stadium" icon to the footer (#652) 2022-08-03 17:41:36 -07:00
Kauê Rodrigues
211f5c3667
Revert "Disable word wrapping for p code (#281)" to fix #576 (#637) 2022-06-10 18:31:25 -07:00
Natalie Weizenbaum
9e2dc02e25
Update to the latest version of DocSearch (#593) 2021-11-13 01:48:19 +00:00
Christophe Coevoet
4a1b2fb212
Fix the rendering of compatibility lists (#590)
The compatibility div contains a span in its text, so making it a flex container produces a weird rendering
2021-10-12 12:55:06 -07:00
Natalie Weizenbaum
67ec2dbdbb
Surface category labels in the JS API doc sidebar (#587)
This is kind of a hacky workaround until TypeStrong/typedoc#1532 is
implemented for real.
2021-10-11 19:52:03 +00:00
Natalie Weizenbaum
86ae1c4d18 Set up redirects from the old API doc anchors to the new ones 2021-10-04 20:23:21 -07:00
Natalie Weizenbaum
85a2eaa33d Build JS API docs from the TypeScript declarations 2021-10-04 19:53:08 -07: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
xmo-odoo
f768dd8577
Revert word-break to normal for impl-status titles (#529)
If the "compatibility" label and browser width are just the wrong one, "break-word" can lead to browsers deciding to line-wrap every "ss" but *just the "ss" from "Dart Sass", "LibSass" and "Ruby Sass", which looks very strange and is quite hard to read.
2021-03-22 13:38:19 -07:00
Daniel Haim
87415b956e
Spacing improvement (#496)
- Added a spacer to the follow button on footer (mobile only)
- Added missing spacer from page titles (mobile + desktop)
2020-10-29 13:44:56 -07:00
Christophe Coevoet
00560e76d8
Remove unnecessary scrollbar for the sticky navigation
The scrollbar will now appear only for columns needing it.
2020-08-18 15:24:54 +02:00
Natalie Weizenbaum
e440cee626
Suggest mixins rather than @use ... with for advanced cases (#448) 2020-05-13 14:19:27 -07:00
Awjin Ahn
8c5d417206
Increase the indent size for function definition docs. (#428) 2020-02-24 12:33:25 -08:00
tatianamac
8ecf646576 ♻️ Redo undone changes that git undid 2019-12-27 12:16:30 -08:00
tatianamac
569efcc4a7 🦐 Address undone git edits sob 2019-12-19 17:25:38 -08:00
tatianamac
31d1bf5ae8 Revert "🦐 Fixed smol edits from Jina"
This reverts commit be52b5d79b6721ccd68ea9f800a5863aae12a13e.
2019-12-18 16:13:27 -08:00
tatianamac
be4d0d17ee 🦐 Fixed smol edits from Jina 2019-12-18 16:09:00 -08:00
tatianamac
b1e62bc77b 🎨 Made colour palette happy and accessible 2019-12-18 16:09:00 -08:00
tatianamac
65f6f2e58d 🎨 Integrate Rouge stylesheet 2019-12-18 16:09:00 -08:00
tatianamac
293d310dfa Fixes post feedback 2019-12-18 16:09:00 -08:00
tatianamac
dcc6a4789e 🎨 Background color 2019-12-18 16:09:00 -08:00
tatianamac
bb1ca93ddc 🔗 Added skip link 2019-12-18 16:09:00 -08:00
tatianamac
2d166d3b10 Fix keyboard focus and aside issues 2019-12-18 16:08:14 -08:00
tatianamac
41ca35e9e2 ⚒ Structural changes to make page more semantic 2019-12-18 16:08:14 -08:00
tatianamac
fa3216b4d4 🎨 Improve a11y of text 2019-12-18 16:00:40 -08:00
tatianamac
fa05e1d3f7 🔡 Added pre-wrap so code wraps and prevents scrollbar in pre 2019-12-18 16:00:40 -08:00
tatianamac
ffc7918998 Hierarchy changes for a11y 2019-12-18 16:00:40 -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
c0e78caac3
Revert "Update jQuery to 3.4.1 (#398)" (#407)
This reverts commit 33b5fe0a1d.
2019-11-07 18:03:46 -08:00
Adekunle Oduye
a3ee04c5d5 [hotfix-400] Adjusted to anonymous function (#404) 2019-11-07 11:13:49 -08:00
Martijn Cuppens
33b5fe0a1d Update jQuery to 3.4.1 (#398) 2019-10-29 18:25:36 +00:00
Adekunle Oduye
06c5a72833 [hotfix-387] Fix broken toggle (#389)
Closes #387
2019-10-18 06:37:23 +01:00
Adekunle Oduye
26a515c3a9 [docs] Sticky Navigation (#373)
* [docNav] Moved h3 title into nav wrapper

* [docNav] Init styles for doc navigation component

* [docNav] Import doc navigation component into sass.css.scss

* [docNav] Functional to make doc navigation sticky on scroll

* [docNav] Rename js class name and changed from single to double quotes

* [docNav] Change class name to sl-js-nav--is-sticky

* [docNav] renamed doc-navigation to navigation and removed nesting

* [docNav] renamed doc-navigation to navigation

* [docNav] Added carriage return after h3
2019-10-12 09:55:30 -07: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
b1b07540f2 Module-ify built-in function documentation
Closes #363
2019-09-04 17:56:16 -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
7a2aa57b96
Make "/" and "s" focus the search bar (#347)
Closes #345
2019-05-30 04:30:10 -07:00