1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30

ash / quick_insert / views / quick_insert_style.h [blame]

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

#ifndef ASH_QUICK_INSERT_VIEWS_QUICK_INSERT_STYLE_H_
#define ASH_QUICK_INSERT_VIEWS_QUICK_INSERT_STYLE_H_

#include "ash/style/system_shadow.h"
#include "ui/chromeos/styles/cros_tokens_color_mappings.h"
#include "ui/color/color_id.h"
#include "ui/gfx/geometry/size.h"

namespace ash {

inline constexpr int kQuickInsertViewWidth = 320;

inline constexpr int kQuickInsertContainerBorderRadius = 12;
inline constexpr ui::ColorId kQuickInsertContainerBackgroundColor =
    cros_tokens::kCrosSysSystemBaseElevatedOpaque;
inline constexpr auto kQuickInsertContainerShadowType =
    SystemShadow::Type::kElevation12;

enum class QuickInsertLayoutType {
  kMainResultsBelowSearchField,
  kMainResultsAboveSearchField,
};

}  // namespace ash

#endif  // ASH_QUICK_INSERT_VIEWS_QUICK_INSERT_STYLE_H_