feat:data slove and update heatmap

This commit is contained in:
2025-10-29 14:09:28 +08:00
parent c50b44efe2
commit c6cef3d89d
200 changed files with 100674 additions and 52814 deletions

View File

@@ -1,29 +1,29 @@
#pragma once
#include "basic-card.hh"
namespace creeper {
namespace outlined_card::internal {
class OutlinedCard : public BasicCard {
public:
explicit OutlinedCard() {
using namespace card::internal;
set_border_width(kOutlinedWidth);
}
void set_color_scheme(const ColorScheme& scheme) {
set_border_color(scheme.outline_variant);
Card::set_color_scheme(scheme);
}
void load_theme_manager(ThemeManager& manager) {
manager.append_handler(this,
[this](const ThemeManager& manager) { set_color_scheme(manager.color_scheme()); });
}
};
}
namespace outlined_card::pro {
using namespace card::pro;
}
using OutlinedCard = Declarative<outlined_card::internal::OutlinedCard, BasicCard::Checker>;
}
#pragma once
#include "basic-card.hh"
namespace creeper {
namespace outlined_card::internal {
class OutlinedCard : public BasicCard {
public:
explicit OutlinedCard() {
using namespace card::internal;
set_border_width(kOutlinedWidth);
}
void set_color_scheme(const ColorScheme& scheme) {
set_border_color(scheme.outline_variant);
Card::set_color_scheme(scheme);
}
void load_theme_manager(ThemeManager& manager) {
manager.append_handler(this,
[this](const ThemeManager& manager) { set_color_scheme(manager.color_scheme()); });
}
};
}
namespace outlined_card::pro {
using namespace card::pro;
}
using OutlinedCard = Declarative<outlined_card::internal::OutlinedCard, BasicCard::Checker>;
}