File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
browser-extension/src/overtype Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 33 * Embedded in JavaScript to ensure single-file distribution
44 */
55
6- import { themeToCSSVars } from "./themes.js"
6+ import { themeToCSSVars } from "./themes.js" ;
77
88/**
99 * Generate the complete CSS for the editor
@@ -19,10 +19,10 @@ export function generateStyles(options = {}) {
1919 padding = "20px" ,
2020 theme = null ,
2121 mobile = { } ,
22- } = options
22+ } = options ;
2323
2424 fontFamily = "inherit"
25- fontSize = "var(--text-body-size-medium)"
25+ fontSize = "var(--text-body-size-medium)" ;
2626
2727 // Generate mobile overrides
2828 const mobileStyles =
@@ -34,16 +34,16 @@ export function generateStyles(options = {}) {
3434 ${ Object . entries ( mobile )
3535 . map ( ( [ prop , val ] ) => {
3636 const cssProp = prop . replace ( / ( [ A - Z ] ) / g, "-$1" ) . toLowerCase ( )
37- return `${ cssProp } : ${ val } !important;`
37+ return `${ cssProp } : ${ val } !important;` ;
3838 } )
3939 . join ( "\n " ) }
4040 }
4141 }
4242 `
43- : ""
43+ : "" ;
4444
4545 // Generate theme variables if provided
46- const themeVars = theme && theme . colors ? themeToCSSVars ( theme . colors ) : ""
46+ const themeVars = theme && theme . colors ? themeToCSSVars ( theme . colors ) : "" ;
4747
4848 return `
4949 /* OverType Editor Styles */
You can’t perform that action at this time.
0 commit comments