tophf 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3cb9cbb862 
							
						 
					 
					
						
						
							
							show a palette for current editor in color picker ( #1068 )  
						
						... 
						
						
						
						also keep the dialog visible for 30 seconds instead of 5 
						
					 
					
						2020-10-18 16:40:11 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							a71b621bf9 
							
						 
					 
					
						
						
							
							remove -webkit- prefix on standardized features  
						
						
						
					 
					
						2020-10-14 19:48:59 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9e487b03e5 
							
						 
					 
					
						
						
							
							tweak editor ( #1063 )  
						
						... 
						
						
						
						* also apply live-preview if an unsaved style was disabled
* use box-shadow instead of outline for focus everywhere
* allow focus outline on click in text/search input or textarea
* search inputs should use the same style as text inputs
* also use box-shadow focus on delete buttons
* remove URLSearchParams workaround, not needed since Chrome 55
* use `once` in addEventListener, available since Chrome 55
* update USO bug workarounds, remove obsolete ones
* ping/pong to fix openURL with `message` in FF
* use unprefixed CSS filter, available since Chrome 53
* use unprefixed CSS user-select, available since Chrome 54
* focus tweaks
* also use text query in inline search for Stylus category
* use event.key, available since Chrome 51
Co-authored-by: narcolepticinsomniac 
						
					 
					
						2020-10-13 21:14:54 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							96c87fc55d 
							
						 
					 
					
						
						
							
							fix colorpicker rgb/hsl parser with leading/trailing space  
						
						
						
					 
					
						2020-08-09 15:03:20 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fea0d08f50 
							
						 
					 
					
						
						
							
							fix infinite loop in colorizeInvisible ( #889 )  
						
						
						
					 
					
						2020-04-17 07:34:52 -04:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							7206f4cd9e 
							
						 
					 
					
						
						
							
							Fix colorpicker ( #745 )  
						
						... 
						
						
						
						* process CM5.48+ new token for color functions
* restore scientific number notation support in colors
rgba(1.5E2 0 0 / .5e2%) 
						
					 
					
						2019-07-14 20:16:53 -04:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							93a15a8284 
							
						 
					 
					
						
						
							
							fix colorview detection with inline comments ( #660 )  
						
						
						
					 
					
						2019-02-01 07:36:08 -06:00 
						 
				 
			
				
					
						
							
							
								Rob Garrison 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7ea0200234 
							
						 
					 
					
						
						
							
							Validate UserCSS meta colors.  Fixes   #554  ( #559 )  
						
						... 
						
						
						
						* Validate UserCSS meta colors. Fixes  #554 
* Add suggestions & optimize code
* Fix parsePercentage return value
* cleanup
* Fix: remove unused variable
* Fix: validate function should return a boolean
* Revert indent
* Fix: cleaner validateRGB
* Fix: validateHSL
* Fix: validateAlpha
* Cleanup
* Fix: remove invalid comment
* Limit color channels to integers 
						
					 
					
						2018-11-18 22:05:38 -06:00 
						 
				 
			
				
					
						
							
							
								eight 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e3d3604afc 
							
						 
					 
					
						
						
							
							Refactor the entire storage system and the section editor ( #518 )  
						
						... 
						
						
						
						* Squashed commit of the following:
commit d84c4dc3fe46027120ecf85d4de39b81f3e69574f9dc04558ffea04d591f2aff14e213d4ddfcc71385e70491e47acb131642a39405ac4c14c2fdbb58fb1b49b8bb2c2d849fa4f133c3e67a05a6208f5c05a87ed00f576f73f333e93819deb439b11685b49dd3cd43c190aadfd728838c21e3b393a4cdf5958e75871b9bad06551440cb5cbb4d1053efd78b897d005f3eaafc53bed3de14e321d25801bdd529bcb9968830d3ff3bf6f52d39d21c3d29ecb622c93c7c3d49c0053fd8d937f3859afc8ee9fbe77a8d15a4fc3e91627e0eddeb8f8b4ab47d897d340d62dcd286997d6ad60db9dbef43afa31fa0f08faea1494d06435486c55675912e86ea846a89831ca07c2de67b7f4f3636e13f88f0f6ce78f55b5ae95a1ad91a5a206fe68016346035fa080d1913e0b064115d405b7f8f061b2c88f926a8131fc9c53ae0c4dd130ea7ada48f04c2d6bbf6f0c0bc4d6a4d42765d6c99626e4a48a57b3b27165cfea3933f25fd3a1c2bbdae1c3697bd4a453f45c1bf9f59058c06c1bf9f57e9fd5eeb4b813e38810a49c657d7e55c7ed39ab6ef30e494eda9510a886e14c7f81662c4f3a103645dd4436cde2043db875fd8dc491e9be3ba64b955757eba890a21d2b36a181e4823d2b36a168e22d476751100687983f0ff6fd8cad3c23f315c524419c5dc1e6494985b5037e1f43f75d26ce3238e15a1f552f6ba6159e067fd9ab5d6e506e22d0d1830e866294647b2b4fc497b5e7c96d515efafff3ca38558ef78582e9078aff4651da8d80489fb3b2f02f471f077057111b17169cae02381c5d41529d95b3b4e680fb5107b78a5e7ef4948cd1c635b5bc175f2561154583ca31d971cf6008514450cd60aeb196b6aac633122d28c1ae594b8ccb11f18b13a92fedf844ddd095998f07cfa3127d98805d582c726171339f7103a618aca2abb1cb580242472e91f5734497ebe16f1639cc33e81e4823f46dc5f3e209f2328cf623a7be6a1cba9630725196f0d0e1b4dc05c0288e9ba56b737b65a829a134ed1d35f92250e8a6e8ac03a10f9449144dd2b8ed0913af310c341874a2da33ec01f93f62c6d32ffb76b0f148eac32282bdf770624b1eea8a48a6011d5cbe8a8https://github.com/openstyles/stylus  into dev-exclusions
commit 5cbe8a8d78#507 )
commit 9058c06c541f2d116aae918e47b1ed81a7bb9ac9f47d57aea85778d5c858268e1716b4cc2980b64708adcb60f26909c732fd531ee4135ce35d39a6d1909f6909c73c6979833d8bbaa849fd6ddad5ee31a0807b959af3e3fefa987c4d2abbf670d81fe0586b29ab0ef239cfd5ade807f04f5337e51d29b8f51292a7cfeb22e49713c6a3be3c30bc3eb03d32b0428b7d75dd8754a4df641b968028a3529fba5d6cc31ab853be13f8a3e79151995d07a8cd4ea004bc3c7d41ac66a137ffb13bf1db42e97ef15364aa9fcf53b0e407e98f7a24547e098a6011de8c4fcb1a88d7bfe54ab4c4983a7bc2193950482f34e94c7edb382b4a1a56359f75b69cd868dfa0153cCloses  #113 
* Revert: exclusions
* Fix: pass eslint
* Fix: the style is injected twice
* Fix: don't load script async
* Fix: styleCodeEmpty returns true for empty string
* Fix: drop array selection
* Fix: the config dialog is broken
* Fix: popup doesn't use getStyle/getStylesByUrl correctly
* Fix: keep disabled state in setStyleContent
* Fix: allow live-preview to assign newest vars
* Fix: transition fix is broken because setStyleContent becomes async
* Fix: typo, TypeError in styleExists
* Fix: use new API
* Fix: pass linter
* Fix: LICENCE -> LICENSE
* Fix: remove unused distroy function 
						
					 
					
						2018-11-07 14:09:29 +08:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							26d7c26770 
							
						 
					 
					
						
						
							
							notify embedder on closing colorpicker  
						
						... 
						
						
						
						fixup 7fea2cfc: messageBox's Esc handler wasn't restored 
						
					 
					
						2018-09-06 19:34:46 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							4bcdbb78b1 
							
						 
					 
					
						
						
							
							ensure max>=min to keep colorpicker in view  
						
						
						
					 
					
						2018-08-16 19:58:05 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							d7b87130f9 
							
						 
					 
					
						
						
							
							correctly detect when #RGBA isn't supported  
						
						
						
					 
					
						2018-08-11 12:34:16 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							80ea415287 
							
						 
					 
					
						
						
							
							use only one ::pseudo for color swatches  
						
						
						
					 
					
						2018-08-11 12:18:23 +03:00 
						 
				 
			
				
					
						
							
							
								Rob Garrison 
							
						 
					 
					
						
						
						
						
							
						
						
							c61d34d053 
							
						 
					 
					
						
						
							
							Update libraries ( #440 )  
						
						
						
					 
					
						2018-07-21 20:58:54 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							b781c2b7b3 
							
						 
					 
					
						
						
							
							properly remove dead swatches  
						
						
						
					 
					
						2018-07-20 17:51:43 +03:00 
						 
				 
			
				
					
						
							
							
								stonecrusher 
							
						 
					 
					
						
						
						
						
							
						
						
							df691b7a13 
							
						 
					 
					
						
						
							
							Adding external licenses ( #424 )  
						
						... 
						
						
						
						Add/update license info 
						
					 
					
						2018-07-09 16:39:31 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							b49254aca2 
							
						 
					 
					
						
						
							
							colorConverter.format: passthru if string and no type given  
						
						... 
						
						
						
						fixes  #408 
fixes f7f679bb 
					
						2018-06-30 20:23:45 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							7fea2cfc9c 
							
						 
					 
					
						
						
							
							Esc/Enter should only close colorpicker  
						
						... 
						
						
						
						fixes  #401  
					
						2018-06-15 08:24:35 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							f7f679bbf9 
							
						 
					 
					
						
						
							
							colorpicker: keep internal HSV  
						
						... 
						
						
						
						fixes  #372  
					
						2018-04-17 22:35:23 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							58f4fbec41 
							
						 
					 
					
						
						
							
							colorConverter.format: use color.type by default  
						
						
						
					 
					
						2018-04-17 22:34:55 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							02989edb05 
							
						 
					 
					
						
						
							
							eat unclosed comments  
						
						
						
					 
					
						2018-01-30 18:59:28 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							1c0cd2da9e 
							
						 
					 
					
						
						
							
							show color swatches for rgb/hsl with unary + - in numbers  
						
						
						
					 
					
						2018-01-16 15:11:07 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							823926a025 
							
						 
					 
					
						
						
							
							fix getStyleAtPos() for pos === EOL  
						
						
						
					 
					
						2018-01-14 17:11:00 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							885919e7d9 
							
						 
					 
					
						
						
							
							colorize namedcolor followed by ! without a space  
						
						
						
					 
					
						2018-01-09 20:16:59 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							224771b34e 
							
						 
					 
					
						
						
							
							reduce colorpicker alpha digits to 3 from 6  
						
						
						
					 
					
						2018-01-07 20:02:58 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							80ad6418aa 
							
						 
					 
					
						
						
							
							keep alpha in hex colorpicker view  
						
						
						
					 
					
						2018-01-07 20:00:22 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							5941dd4338 
							
						 
					 
					
						
						
							
							colorpicker hotkey popup: find colors in attributes  
						
						
						
					 
					
						2018-01-07 12:51:22 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							b8506e1e45 
							
						 
					 
					
						
						
							
							find colors in comments/strings regardless of overlays  
						
						
						
					 
					
						2018-01-07 11:52:46 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							807ea6aa70 
							
						 
					 
					
						
						
							
							extract colorconverter.js  
						
						
						
					 
					
						2018-01-07 11:52:43 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							2ca702c976 
							
						 
					 
					
						
						
							
							show color swatches on usercss installer page  
						
						
						
					 
					
						2018-01-04 13:36:56 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							4b4b65d961 
							
						 
					 
					
						
						
							
							colorview: support a signed number exponent  
						
						
						
					 
					
						2017-12-25 02:21:25 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							1040c20330 
							
						 
					 
					
						
						
							
							don't autohide colorpicker popup when invoked via hotkey  
						
						
						
					 
					
						2017-12-24 14:33:58 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							a53fb162a8 
							
						 
					 
					
						
						
							
							unbind 'display' listeners on first run  
						
						
						
					 
					
						2017-12-24 14:28:25 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							c958186245 
							
						 
					 
					
						
						
							
							FF workaround: set position:fixed prior to appending  
						
						
						
					 
					
						2017-12-22 11:52:53 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							d82efe37b5 
							
						 
					 
					
						
						
							
							rewrite colorpicker popup positioning to prevent occlusion  
						
						
						
					 
					
						2017-12-22 11:22:35 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							d0380f76c3 
							
						 
					 
					
						
						
							
							rewrite colorview to use CodeMirror::TextMarker  
						
						... 
						
						
						
						* solves all problems with glitching on selection etc.
* perceived performance is same due to lazy-processing
* colors unsupported in current browser are displayed internally as RGB
* the color text is highlighted in the editor when popup is invoked 
						
					 
					
						2017-12-22 11:22:35 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							6607455e8f 
							
						 
					 
					
						
						
							
							silence eslint; switch shirt-circuiting to single-line if/else  
						
						
						
					 
					
						2017-12-18 10:27:50 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							f29e3bc587 
							
						 
					 
					
						
						
							
							colorpicker: remove old theme class on re-invocation  
						
						
						
					 
					
						2017-12-18 10:27:50 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							fd047f8323 
							
						 
					 
					
						
						
							
							move getRealColors to colorpicker and reuse it  
						
						
						
					 
					
						2017-12-18 10:27:50 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							5aba0377a0 
							
						 
					 
					
						
						
							
							use helper's decisions in colorview renderer  
						
						
						
					 
					
						2017-12-18 10:27:50 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							240ccc8309 
							
						 
					 
					
						
						
							
							FF: actually prevent scrolling in focusNoScroll  
						
						
						
					 
					
						2017-12-08 22:06:17 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							1c68ac1a3a 
							
						 
					 
					
						
						
							
							initialize editor page fully in First Meaningful Paint frame  
						
						... 
						
						
						
						* previously it wasn't the case when colorpicker option was enabled
* the cost of always loading colorview is ~1ms for >200ms here 
						
					 
					
						2017-12-08 06:20:56 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							85c67872a5 
							
						 
					 
					
						
						
							
							make colorpicker notify embedder on closing  
						
						... 
						
						
						
						re-enables Esc key in config-dialog after colorpicker closed itself due to an outside click 
						
					 
					
						2017-12-06 00:24:27 +03:00 
						 
				 
			
				
					
						
							
							
								eight 
							
						 
					 
					
						
						
						
						
							
						
						
							07a0518586 
							
						 
					 
					
						
						
							
							Add config dialog to popup ( #283 )  
						
						
						
					 
					
						2017-12-06 00:14:21 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							36ec8de04f 
							
						 
					 
					
						
						
							
							stop calc when color is opaque  
						
						
						
					 
					
						2017-12-05 21:01:32 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							a6f63d096e 
							
						 
					 
					
						
						
							
							extract checkboxes to global.css, fixes  
						
						
						
					 
					
						2017-12-05 04:39:29 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							05d1013699 
							
						 
					 
					
						
						
							
							fixup 2e03c9c9: the element should be in DOM before reposition()  
						
						
						
					 
					
						2017-12-02 17:18:58 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							fad03fb7c9 
							
						 
					 
					
						
						
							
							colorpicker: invoke callback on first color change  
						
						
						
					 
					
						2017-11-27 14:54:19 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							06a2a4c04d 
							
						 
					 
					
						
						
							
							constrain manually typed values in colorpicker  
						
						
						
					 
					
						2017-11-27 14:54:18 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							2e03c9c9c0 
							
						 
					 
					
						
						
							
							same colorpicker in the manager  
						
						
						
					 
					
						2017-11-27 14:54:18 +03:00