cmfcmf / docusaurus-search-local

Offline / Local Search for Docusaurus v2. Try it live at:
https://cmfcmf.github.io/OpenWeatherMap-PHP-API/
MIT License
435 stars 67 forks source link

Can't change colors as stated #183

Closed mwileczka closed 1 year ago

mwileczka commented 1 year ago

Please describe the bug you are seeing

I added the search bar to a site and it's working fine except I can't change colors properly based on the documentation. I added

  --aa-background-color-rgb: #777777 !important;
  --aa-background-color-alpha: 1.0 !important;
  --aa-input-background-color-rgb: #00FF00  !important;
  --aa-input-background-color-alpha: 1.0 !important;

to my custom.css file and I'm seeing some really strange behavior. It's making it transparent.

image

How can we best reproduce the bug?

I just installed the "fast track" site here https://docusaurus.io/docs, added the plugin, then add the lines to custom.css to make sure it wasn't something with my site.

Which version of Docusaurus and @cmfcmf/docusaurus-search-local are you using?

2.4.0 1.1.0

Which Node.js version are you using?

18.16.0

Which theme are you using?

Yes, I am using @docusaurus/theme-classic

How does your plugin config look like?

plugins: [ [ require.resolve("@cmfcmf/docusaurus-search-local"), {

  },
],

],

Additional context

No response

mwileczka commented 1 year ago

My apologies, I didn't read the post correctly. You have to use R, G, B and not hex or colors.