// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#import "ios/chrome/browser/infobars/ui_bundled/banners/infobar_banner_constants.h"

NSString* const kInfobarBannerViewIdentifier = @"kInfobarBannerViewIdentifier";
NSString* const kInfobarBannerLabelsStackViewIdentifier =
    @"kInfobarBannerLabelsStackViewIdentifier";
NSString* const kInfobarBannerAcceptButtonIdentifier =
    @"kInfobarBannerAcceptButtonIdentifier";
NSString* const kInfobarBannerOpenModalButtonIdentifier =
    @"kInfobarBannerOpenModalButtonIdentifier";

const CGFloat kInfobarBannerIconSize = 28.0f;

const CGFloat kInfobarBannerMaxHeight = 230.0f;

const CGFloat kInfobarBannerRevampIconSize = 24.0f;

const CGFloat kInfobarBannerRevampCornerRadius = 26.0f;

const CGFloat kInfobarBannerRevampContainerShadowRadius = 12.0f;
const CGFloat kInfobarBannerRevampContainerShadowOpacity = 0.12f;
const CGFloat kInfobarBannerRevampContainerShadowYOffset = 4.0f;

const CGFloat kInfobarBannerRevampButtonShadowRadius = 4.0f;
const CGFloat kInfobarBannerRevampButtonShadowOpacity = 0.25f;
const CGFloat kInfobarBannerRevampButtonShadowYOffset = 2.0f;

const CGFloat kInfobarBannerRevampHorizontalEdgePadding = 8.0f;

const CGFloat kInfobarBannerRevampVerticalPadding = 14.0f;

const CGFloat kInfobarBannerRevampSpacingAfterIcon = 12.0f;

const CGFloat kInfobarBannerRevampButtonHorizontalPadding = 20.0f;

const CGFloat kInfobarBannerRevampGearButtonMinSafeGap = 12.0f;
const CGFloat kInfobarBannerRevampGearButtonMaxSafeGap = 16.0f;

const CGFloat kInfobarBannerRevampMinimumTapTargetSize = 44.0f;

const CGFloat kInfobarBannerRevampButtonMaxHeight = 44.0f;

const CGFloat kInfobarBannerRevampMinimumButtonVerticalBreathingRoom = 8.0f;
