-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework Legacy PNG Icons with Font Awesome SVG
Existing implementation handle icon with PNG, with manual positioning with CSS background image. This PR rework icons with Font Awesome SVG: - Locally venor Font Awesome v5.15.4 `expand-solid.svg` and `compress-solid.svg` - Rework styling with SCSS - Fix accessibility (see #110) - Test with Leaflet v1.7.1 - Update demo with above changes Fix #98 Fix #102 Fix #103 Fix #110 Fix #114 Signed-off-by: Wong Hoi Sing Edison <[email protected]>
- Loading branch information
Showing
15 changed files
with
105 additions
and
226 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
node_modules | ||
package-lock.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
# See the README for installation instructions. | ||
UGLIFY = node_modules/.bin/uglifyjs | ||
SASS = node_modules/.bin/sass | ||
|
||
all: \ | ||
$(shell npm install) \ | ||
dist/Leaflet.fullscreen.min.js \ | ||
.PHONY: all | ||
all: dist/Leaflet.fullscreen.min.js dist/Leaflet.fullscreen.min.css | ||
|
||
.PHONY: clean | ||
clean: | ||
rm -f dist/Leaflet.fullscreen.min.js | ||
rm -f dist/Leaflet.fullscreen.min.js dist/Leaflet.fullscreen.min.css | ||
|
||
dist/Leaflet.fullscreen.min.js: dist/Leaflet.fullscreen.js | ||
$(UGLIFY) dist/Leaflet.fullscreen.js > dist/Leaflet.fullscreen.min.js | ||
dist/Leaflet.fullscreen.min.js: | ||
$(UGLIFY) src/Leaflet.fullscreen.js > dist/Leaflet.fullscreen.min.js | ||
|
||
.PHONY: clean | ||
dist/Leaflet.fullscreen.min.css: | ||
$(SASS) src/Leaflet.fullscreen.scss dist/Leaflet.fullscreen.min.css |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.