A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
fix placeholder color in dark mode
Ammar Ahmed4346f07418e9
diff --git a/packages/editor-mobile/public/index.html b/packages/editor-mobile/public/index.htmlindex da192558a..02cac7545 100644--- a/packages/editor-mobile/public/index.html+++ b/packages/editor-mobile/public/index.html@@ -1,55 +1,60 @@<!DOCTYPE html><html style="height: 100%" lang="en">- <head>- <meta charset="utf-8" />- <link rel="icon" href="favicon.ico" />- <meta name="viewport" content="width=device-width, initial-scale=1" />- <meta name="theme-color" content="#000000" />- <link href="fonts.css" rel="stylesheet" />- <link href="styles.css" rel="stylesheet" />- <style>- body {- height: 100%;- font-family: "Open Sans";- }- p {- font-family: "Open Sans";- /* color: var(--nn_pri) ## TODO: use fixed color */- }+<head>+ <meta charset="utf-8" />+ <link rel="icon" href="favicon.ico" />+ <meta name="viewport" content="width=device-width, initial-scale=1" />+ <meta name="theme-color" content="#000000" />+ <link href="fonts.css" rel="stylesheet" />+ <link href="styles.css" rel="stylesheet" />+ <style>+ body {+ height: 100%;+ font-family: "Open Sans";+ }- ::selection {- color: white;- background-color: var(--nn_accent);- }+ p {+ font-family: "Open Sans";+ /* color: var(--nn_pri) ## TODO: use fixed color */+ }- ::placeholder {- color: var(--nn_placeholder);- }+ ::selection {+ color: white;+ background-color: var(--nn_accent);+ }- h1,- h2,- h3,- h4,- h5,- h6 {- font-family: "Open Sans";- color: var(--nn_heading);- }+ ::placeholder {+ color: var(--nn_placeholder);+ }- #root {- height: 100%;- caret-color: var(--nn_accent);- display: flex;- }- </style>- <meta name="description" content="Notesnook editor for mobile" />- <!--+ p.is-editor-empty:first-child::before {+ color: var(--nn_placeholder) !important;+ }++ h1,+ h2,+ h3,+ h4,+ h5,+ h6 {+ font-family: "Open Sans";+ color: var(--nn_heading);+ }++ #root {+ height: 100%;+ caret-color: var(--nn_accent);+ display: flex;+ }+ </style>+ <meta name="description" content="Notesnook editor for mobile" />+ <!--manifest.json provides metadata used when your web app is installed on auser's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/-->- <link rel="manifest" href="manifest.json" />- <!--+ <link rel="manifest" href="manifest.json" />+ <!--Notice the use of %PUBLIC_URL% in the tags above.It will be replaced with the URL of the `public` folder during the build.Only files inside the `public` folder can be referenced from the HTML.@@ -58,13 +63,13 @@work correctly both with client-side routing and a non-root public URL.Learn how to configure a non-root public URL by running `npm run build`.-->- <title>Notesnook editor</title>- </head>+ <title>Notesnook editor</title>+</head>- <body>- <noscript>You need to enable JavaScript to run this app.</noscript>- <div id="root"></div>- <!--+<body>+ <noscript>You need to enable JavaScript to run this app.</noscript>+ <div id="root"></div>+ <!--This HTML file is a template.If you open it directly in the browser, you will see an empty page.@@ -74,5 +79,6 @@To begin the development, run `npm start` or `yarn start`.To create a production bundle, use `npm run build` or `yarn build`.-->- </body>-</html>+</body>++</html>\ No newline at end of file