docs theme handling with cookies