Comments (6)
now you fixed the issue by hard-code the text color, but then the light theme on all sites is unreadable @EINDEX.
Please consider my PR #26 . Btw, I tested the tailwind, it never switches to dark tho, so I think all the dark:
styles are not used.
from logseq-copilot.
@howarddo2208 your solutions are awesome, thanks.
from logseq-copilot.
Sorry those days were busy with work, you have to set env var before build.
export VERSION=v0.0.0
from logseq-copilot.
I suspect the tailwind doesn't recognize theme change, but upon trying to fiddle with the code, I ran to an issue with the build script. Do you know how to resolve this @EINDEX ?
> [email protected] build
> node build.mjs
/Users/tanhopdo/Developments/opensource/logseq-copilot/src/manifest.json.cjs:28
version: process.env.VERSION.replace('v', ''),
^
TypeError: Cannot read properties of undefined (reading 'replace')
at build (/Users/tanhopdo/Developments/opensource/logseq-copilot/src/manifest.json.cjs:28:34)
at build (file:///Users/tanhopdo/Developments/opensource/logseq-copilot/build.mjs:96:20)
Node.js v18.16.0
from logseq-copilot.
I force the font color for dark and light modes, which will suit for system's default theme.
If change theme at search engine, may can not using the correct theme.
Will keep this open until copilot can support theme by sites.
from logseq-copilot.
Yeah, it doesn't update based on the site. But turns out the problem is actually from the body style, other search sites update the body {color} when changing the theme and the extension inherit it, but it is not the case for duckduckgo
from logseq-copilot.
Related Issues (20)
- Feature: Implement send tabs to logseq / restore HOT 2
- Background page not resumed when sending clip HOT 2
- Is it possible to add a fuzzy search function? HOT 7
- Add Clip page link button to menu of button extension HOT 1
- links captured are displayed as [caption](url) rather than clickable caption
- feat: support url hash at popup search
- "To block" link throwing error when opening in Logseq HOT 5
- [Feature request] User adjustable debounce timer on floating button. HOT 1
- feat: website recall rule function HOT 1
- feat: Clip at Chrome PDF file views HOT 1
- Unable to clip unless the "Display Floating Button" is turned on HOT 1
- Unable to clip selected text with Logseq 0.10.7 on Firefox HOT 8
- Results don't get shown on page, only in popup HOT 5
- Margin -8px clipping the text at the top
- I can't find the start server button. Your README is incomplete :( HOT 2
- Send images
- Support for brave search
- Safari Extension HOT 2
- Extension fails on SearXNG HOT 1
- Support the Logseq DB
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from logseq-copilot.