a tool for shared writing and social publishing

add fonts

+78
+78
src/fonts.ts
··· 113 113 googleFontsFamily: "Space+Mono:ital,wght@0,400;0,700;1,400;1,700", 114 114 fallback: ["monospace"], 115 115 }, 116 + 117 + // Additional Google Fonts - Mono 118 + "sometype-mono": { 119 + id: "sometype-mono", 120 + displayName: "Sometype Mono", 121 + fontFamily: "Sometype Mono", 122 + type: "google", 123 + googleFontsFamily: "Sometype+Mono:ital,wght@0,400;0,700;1,400;1,700", 124 + fallback: ["monospace"], 125 + }, 126 + 127 + // Additional Google Fonts - Sans 128 + "pt-sans": { 129 + id: "pt-sans", 130 + displayName: "PT Sans", 131 + fontFamily: "PT Sans", 132 + type: "google", 133 + googleFontsFamily: "PT+Sans:ital,wght@0,400;0,700;1,400;1,700", 134 + fallback: ["system-ui", "sans-serif"], 135 + }, 136 + montserrat: { 137 + id: "montserrat", 138 + displayName: "Montserrat", 139 + fontFamily: "Montserrat", 140 + type: "google", 141 + googleFontsFamily: "Montserrat:ital,wght@0,400;0,700;1,400;1,700", 142 + fallback: ["system-ui", "sans-serif"], 143 + }, 144 + "alegreya-sans": { 145 + id: "alegreya-sans", 146 + displayName: "Alegreya Sans", 147 + fontFamily: "Alegreya Sans", 148 + type: "google", 149 + googleFontsFamily: "Alegreya+Sans:ital,wght@0,400;0,700;1,400;1,700", 150 + fallback: ["system-ui", "sans-serif"], 151 + }, 152 + 153 + // Additional Google Fonts - Serif 154 + "pt-serif": { 155 + id: "pt-serif", 156 + displayName: "PT Serif", 157 + fontFamily: "PT Serif", 158 + type: "google", 159 + googleFontsFamily: "PT+Serif:ital,wght@0,400;0,700;1,400;1,700", 160 + fallback: ["Georgia", "serif"], 161 + }, 162 + "crimson-text": { 163 + id: "crimson-text", 164 + displayName: "Crimson Text", 165 + fontFamily: "Crimson Text", 166 + type: "google", 167 + googleFontsFamily: "Crimson+Text:ital,wght@0,400;0,700;1,400;1,700", 168 + fallback: ["Georgia", "serif"], 169 + }, 170 + cardo: { 171 + id: "cardo", 172 + displayName: "Cardo", 173 + fontFamily: "Cardo", 174 + type: "google", 175 + googleFontsFamily: "Cardo:ital,wght@0,400;0,700;1,400", 176 + fallback: ["Georgia", "serif"], 177 + }, 178 + "ibm-plex-serif": { 179 + id: "ibm-plex-serif", 180 + displayName: "IBM Plex Serif", 181 + fontFamily: "IBM Plex Serif", 182 + type: "google", 183 + googleFontsFamily: "IBM+Plex+Serif:ital,wght@0,400;0,700;1,400;1,700", 184 + fallback: ["Georgia", "serif"], 185 + }, 186 + "source-serif": { 187 + id: "source-serif", 188 + displayName: "Source Serif 4", 189 + fontFamily: "Source Serif 4", 190 + type: "google", 191 + googleFontsFamily: "Source+Serif+4:ital,wght@0,400;0,700;1,400;1,700", 192 + fallback: ["Georgia", "serif"], 193 + }, 116 194 }; 117 195 118 196 export const defaultFontId = "quattro";