Skip to content

Commit

Permalink
style: Order Value-parsers by alphabetical order.
Browse files Browse the repository at this point in the history
  • Loading branch information
Louciole committed Sep 18, 2024
1 parent c1b15c6 commit 0f51637
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions src/vaev-style/values.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,18 @@ struct ValueParser<CalcValue<T>> {
}
};


template <>
struct ValueParser<Colors> {
static Res<Colors> parse(Cursor<Css::Sst> &c);
};

template <>
struct ValueParser<ColorScheme> {
static Res<ColorScheme> parse(Cursor<Css::Sst> &c);
};


template <>
struct ValueParser<Color> {
static Res<Color> parse(Cursor<Css::Sst> &c);
Expand All @@ -127,6 +139,11 @@ struct ValueParser<ColorGamut> {
static Res<ColorGamut> parse(Cursor<Css::Sst> &c);
};

template <>
struct ValueParser<Contrast> {
static Res<Contrast> parse(Cursor<Css::Sst> &c);
};

template <>
struct ValueParser<Display> {
static Res<Display> parse(Cursor<Css::Sst> &c);
Expand Down Expand Up @@ -383,21 +400,6 @@ struct ValueParser<ReducedTransparency> {
static Res<ReducedTransparency> parse(Cursor<Css::Sst> &c);
};

template <>
struct ValueParser<Contrast> {
static Res<Contrast> parse(Cursor<Css::Sst> &c);
};

template <>
struct ValueParser<Colors> {
static Res<Colors> parse(Cursor<Css::Sst> &c);
};

template <>
struct ValueParser<ColorScheme> {
static Res<ColorScheme> parse(Cursor<Css::Sst> &c);
};

template <>
struct ValueParser<ReducedData> {
static Res<ReducedData> parse(Cursor<Css::Sst> &c);
Expand Down

0 comments on commit 0f51637

Please sign in to comment.