/*!
 * Copyright 2024 Adobe. All rights reserved.
 *
 * This file is licensed to you under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License. You may obtain a copy
 * of the License at <http://www.apache.org/licenses/LICENSE-2.0>
 *
 * Unless required by applicable law or agreed to in writing, software distributed under
 * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
 * OF ANY KIND, either express or implied. See the License for the specific language
 * governing permissions and limitations under the License.
 */

@container style(--system: spectrum) {
	.spectrum-PickerButton {
		--spectrum-picker-button-background-color: var(--spectrum-gray-100);
		--spectrum-picker-button-background-color-hover: var(--spectrum-gray-200);
		--spectrum-picker-button-background-color-down: var(--spectrum-gray-200);
		--spectrum-picker-button-background-color-key-focus: var(--spectrum-gray-200);

		--spectrum-picker-button-border-color: none;
		--spectrum-picker-button-border-radius: var(--spectrum-corner-radius-75);
		--spectrum-picker-button-border-radius-rounded-sided: var(--spectrum-corner-radius-200);
		--spectrum-picker-button-border-radius-sided: var(--spectrum-corner-radius-75);
		--spectrum-picker-button-border-width: 0px;

		/* Bring back --spectrum-in-field-button-edge-to-fill when S2 tokens available */
		--spectrum-picker-button-padding: 4px;
	}
}
