diff --git a/README.md b/README.md index 192825b..75d30d0 100644 --- a/README.md +++ b/README.md @@ -106,6 +106,15 @@ If you don't like the default font, you can change it by enabling the "Enable Di - Ubuntu - Noto Sans - Source Sans Pro +- Times New Roman +- Georgia +- Palatino Linotype +- Bookman Old Style +- Book Antiqua +- Lucida Bright +- Cambria +- Garamond +- Big Caslon You will need to refresh the page after changing the font. Also, please notice that the font might have a different width, and might slightly break the UI (but it's not that bad). diff --git a/content.js b/content.js index 56e4411..8c5b41b 100644 --- a/content.js +++ b/content.js @@ -1348,7 +1348,7 @@ fontSelect.style.width = "80%"; fontSelect.style.marginBottom = "10px"; fontSelect.style.display = "block"; -// Create an array of pre-set Google Fonts +// Create an array of pre-set Google Fonts (now with serif as well) var googleFonts = [ "Arial", "Roboto", @@ -1360,6 +1360,16 @@ var googleFonts = [ "Ubuntu", "Poppins", "Source Sans Pro", + // Serif + "Times New Roman", + "Georgia", + "Palatino Linotype", + "Bookman Old Style", + "Book Antiqua", + "Lucida Bright", + "Cambria", + "Garamond", + "Big Caslon", ]; // Populate the select element with pre-set fonts diff --git a/manifest.json b/manifest.json index 01074a7..8eaf5e2 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 3, "name": "C.AI Addons", - "version": "0.4.6", + "version": "0.5.0", "description": "A browser extension that adds some features to character.ai", "icons": { "16": "icon16.png", diff --git a/resources/markdown/selectfonts.png b/resources/markdown/selectfonts.png index 94dff64..2d6ce17 100644 Binary files a/resources/markdown/selectfonts.png and b/resources/markdown/selectfonts.png differ