Releases: openstyles/stylus
Release list
v2.4.8
- editor: move
[x] Enabledback to top + hide the label in compact mode - editor: add
[ ] Save when toggling via hotkey+ hotkey config. This mode seems useful when editing without live preview. - fix #2181: update the webpage icon when a style in the editor no longer applies
Full Changelog: v2.4.7...v2.4.8
v2.4.7
v2.4.6
- editor: less confusing icons (hopefully)
- editor: Ctrl-K-1 folds selectors inside sections, Ctrl-K-0 unfolds them
- editor: when scrolling inside scrollable header panels it won't scroll the entire page on reaching the panel's edge and conversely when scrolling over unscrollable parts of the header it will scroll the entire page.
- fix toggling styles in incognito windows in MV2/Firefox
- fix clicking the
Sync nowbutton in MV2/Firefox
Full Changelog: v2.4.5...v2.4.6
v2.4.5
- fix the "loose spaces" mode in the editor search to apply to all spaces and not just the first one
Full Changelog: v2.4.4...v2.4.5
v2.4.4
- fix the
patch CSPfiltering of <meta> in Firefox so it applies only to HTML-based responses - update CSSLint-mod definitions
- minor UI tweaks and fixes
Full Changelog: v2.4.3...v2.4.4
v2.4.3
- fix compatibility with Orion browser by @dourado
- apply the patch CSP option to
<meta>tags in Firefox e.g. on flickr.com - fix live preview's magnetic cursor bug from the previous release
- use current timezone in exported file name instead of UTC
- fix catastrophic slowdowns on an unclosed metadata comment
- fix sync buttons not showing
Full Changelog: v2.4.2...v2.4.3
v2.4.2
- Fix
@preprocessor stylusso it keeps@mediainside its respective document section. - Fix bugs listed in the previous release.
Known bugs (fixed in the nightly builds):
- Live preview while editing moves the cursor to the error position reported by the linter/preprocessor thus severely hindering your ability to fix the temporarily broken syntax. The workaround is to either increase the delay of live preview or run the following code in devtools console of the editor every time you open it to disable the behavior:
Object.defineProperty(document.getElementById('preview-error'), 'hidden', { get() { return this.hasAttribute('hidden'); }, set(val) { if (!val) { const cm = document.querySelector('.CodeMirror').CodeMirror; cm.jumpToPos = cm.setSelections = () => {}; Promise.resolve().then(() => delete cm.jumpToPos && delete cm.setSelections); } this.toggleAttribute('hidden', val); }, });
Full Changelog: v2.4.1...v2.4.2
v2.4.1
Fixes creating a new style broken in v2.4.0.
Known bugs in this release (fixed in the the next release):
Validate CSSis not styled in the dark theme.Validate CSSis reset after browser restart in MV2/Firefox or after an inactivity in MV3.
Full Changelog: v2.4.0...v2.4.1
v2.4.0
Known bugs fixed in the next release:
- A new style cannot be created within the extension's UI.
Notable changes:
- Fix sync for edited styles.
- Fix #2143 from previous releases.
- Right-click or long-press on checkbox in popup to toggle in current tab.
- Use icons instead of some text labels at the top in compact editor layout.
- Speed up live preview a bit with
@preprocessorby extracting sections on the fly. - Use instant inject mode in same-origin iframes too.
- less 4.6.6, csslint-mod 1.0.13.
Full Changelog: v2.3.35...v2.4.0
v2.3.35
Published only in CWS beta for now.
This is a re-published release that sets the correct "version": "2.3.35" field in manifest.json.
Known bugs from an older release fixed in nightly builds:
- #2143: when editing a style, its custom settings are reset.
Notable changes since 2.3.34:
- stylelint 17.13.0, https://stylelint.io/CHANGELOG
- stylelint now uses syntax plugins for
lessandstyluspreprocessors - no more useless linter warnings for advanced preprocessor syntax and UserCSS variables
- customizable
"rules:less"and"rules:stylus"in the editor -> linter -> Stylelint -> config dialog - the original syntax of rgb(), hsl(), hwb() in the color picker is preserved now
Full Changelog: v2.3.34...v2.3.35
P.S. Big thanks to @pabli24 for extensive testing of the nightly builds and reporting the bugs!