How should I indicate that a button or input is disabled in a dark theme?

As is the web standard, disabled inputs become "grayed out", getting a little darker and sometimes less opaque:

enabled buttons and input disabled buttons and input

So my question is how to replicate this in dark mode. This is how it looks when they're enabled:

enabled buttons and input - dark mode

And the options are to make them either lighter (to mimic them being grayed out) or darker (because that's what happens in light mode) when disabling:

disabled buttons and input option 1 - dark mode disabled buttons and input option 2 - dark mode

Is there an existing pattern for this?