chromium/chrome/browser/resources/side_panel/customize_chrome/wallpaper_search/wallpaper_search_tile.css

/* 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. */

/* #css_wrapper_metadata_start
 * #type=style-lit
 * #scheme=relative
 * #css_wrapper_metadata_end */

:host {
  background: linear-gradient(131deg,
      var(--color-sys-gradient-primary) 12.23%,
      var(--color-sys-gradient-tertiary) 89.37%);
  display: block;
  height: 100%;
  width: 100%;
}

svg {
  height: 100%;
  width: 100%;
}

#dark {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :host {
    background: linear-gradient(131deg,
        var(--color-sys-gradient-tertiary) 12.23%,
        var(--color-sys-gradient-primary) 89.37%);
  }

  #light {
    display: none;
  }

  #dark {
    display: block;
  }
}