1
0
mirror of https://github.com/excalidraw/excalidraw.git synced 2024-11-10 11:35:52 +01:00
Commit Graph

24 Commits

Author SHA1 Message Date
Christopher Chedeau
1d9cdf4d46 Use local fonts (#573)
This updates the way fonts are handled to not have to download the font from the internet.

If you do `./public/font.ttf` in the .scss file, unfortunately the bundle packages them somewhere that's different from the public folder that is used by the index.html to preload them.

The fix I used is to use absolute path `/font.ttf` so that both work. Unfortunately, this means that the website will only work if at the root of the domain. That's the case so far so it's okay but still annoying if we want to embed it somewhere.
2020-01-26 11:46:56 +01:00
Guillermo Peralta Scura
e4ff408f23
Accessible modals (#560)
Improve the accessibility of our modals (the color picker and the export dialog)

Implement a focus trap so that tapping through the controls inside them don't escape to outer elements, it also allows to close the modals with the "Escape" key.
2020-01-25 19:37:58 -03:00
Guillermo Peralta Scura
69061e20ac Some a11y fixes (#534)
* Rename ToolIcon to ToolButton

It makes more semantic sense

* Label and keyboard shortcuts announcement

* Refactor common props for ToolButton

* Better doc outline and form controls

* Adjust color picker

* Styling fixes

Co-authored-by: Christopher Chedeau <vjeuxx@gmail.com>
2020-01-25 09:52:03 -08:00
Lipis
885b9c1483 Delete comments (#487) 2020-01-20 17:07:37 -08:00
wei
37e082fcdc feat: Add Cascadia font (#465)
* adding cascadia font

* adding font file
2020-01-20 07:12:12 -08:00
Lipis
1923607112
Remove www from URLs (#437)
* Remove www from URLs

* typo

* slash
2020-01-18 02:24:35 +02:00
David Luzar
6892348c3d Revert 400 and 420 (#422)
* revert #400 font file

* Revert "Revert "Set scale for export images (#416)" (#420)"

This reverts commit d603921234b9ae1483f9f0e0f79fb1c3d0878370.
2020-01-17 16:43:24 +02:00
tomayac
71570a325b Make Prettier happy 2020-01-17 12:51:46 +01:00
Thomas Steiner
7ddc206b8c
Add Native File System API saving/exporting and opening (#388)
* Add Native File System API saving/exporting

* Add Native File System API opening

* Add origin trial token placeholder

* Reuse an opened file handle for better saving experience

* Fix file handle reuse to only kick in for Excalidraw files

* Remove reference
2020-01-17 11:25:05 +01:00
Lipis
4234cd849c
Fix linting (#403) 2020-01-17 00:06:19 +02:00
JavaScript Joe
03e4a70be2
fix: use full url for og:image (#401)
* fix: use full url for og:image

* fix: add twitter card tags

* fix: update og:image to use full URL

* fix: add twitter card tags again

* fix: remove twitter creator meta tag
2020-01-16 14:40:26 -07:00
JavaScript Joe
e5e0e37f23 feat: update font file and add meta tags (#400)
* fix: add new, smaller FG_Virgil file

* fix: update with new codesandbox font file link

* feat: add og-image and meta tags

* feat: add pr template

* fix: update pr template

* fix: remove pr template

* refactor: remove twitter meta in favor of og:image

* fix: add og:image:width

* refactor: update image

* refactor: use image in readme
2020-01-16 21:32:40 +01:00
Lipis
8154ccd907 No named colors and lowercase hex (#395)
* No named colors and lowercase hex

* consistent
2020-01-16 10:16:08 -08:00
JavaScript Joe
1ae3c64860 fix(font): modify exclamation point in font (#394)
* fix: add new modified FG_Virgil font

* fix: update codesandbox links to use modified virgil font

* fix: typo in Contributing
2020-01-16 09:59:43 -08:00
Christopher Chedeau
3605250426
Move octocat to the front (#160) 2020-01-05 09:58:47 -08:00
Giovanni Giordano
731136a3d0 Test deploy 2020-01-05 14:24:13 +01:00
Christopher Chedeau
60b06dab73
Remove manifest.json (#131) 2020-01-04 12:19:39 -08:00
anishagg17
1ef66441c3 Added excalidraw icon as application icon (#126) 2020-01-04 11:28:57 -08:00
Christopher Chedeau
85cd2f114a
Add github corner (#90) 2020-01-03 18:16:27 -08:00
Christopher Chedeau
c027ddc134
Add analytics tag (#89) 2020-01-03 15:47:15 -08:00
Giovanni Giordano
e80d755c92 Add crossorigin attribute 2020-01-03 22:28:36 +01:00
Giovanni Giordano
02bf6f0f14 Add preload to font 2020-01-03 22:21:58 +01:00
Faustino Kialungila
4fa55222fd Rename excalibur to excalidraw 2020-01-03 20:21:55 +01:00
Christopher Chedeau
6278cd9366 Initial commit 2020-01-01 17:04:47 -08:00