Skip to content

Commit

Permalink
renamed category to type
Browse files Browse the repository at this point in the history
  • Loading branch information
overclokk committed Feb 25, 2024
1 parent 7b0853c commit fc40379
Showing 1 changed file with 71 additions and 71 deletions.
142 changes: 71 additions & 71 deletions src/JsonData.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,81 +32,81 @@
final class JsonData
{
public const VERSION = 2;
public const COLOR_BASE = Palette::CATEGORY . '.base';
public const COLOR_LIGHT = Palette::CATEGORY . '.light';
public const COLOR_DARK = Palette::CATEGORY . '.dark';
public const COLOR_BODY_BG = Palette::CATEGORY . '.bodyBg';
public const COLOR_BODY_COLOR = Palette::CATEGORY . '.bodyColor';
public const COLOR_HEADING_TEXT = Palette::CATEGORY . '.headingColor';
public const COLOR_LINK_TEXT = Palette::CATEGORY . '.linkColor';
public const COLOR_BORDER = Palette::CATEGORY . '.borderColor';
public const COLOR_BUTTON_BG_HOVER = Palette::CATEGORY . '.buttonBgHover';
public const COLOR_BUTTON_TEXT_HOVER = Palette::CATEGORY . '.buttonTextHover';
public const COLOR_BASE_DARK = Palette::CATEGORY . '.baseDark';
public const COLOR_BASE_LIGHT = Palette::CATEGORY . '.baseLight';
public const COLOR_BASE_COMPLEMENTARY = Palette::CATEGORY . '.baseComplementary';
public const COLOR_GRAY_100 = Palette::CATEGORY . '.bodyColor-100';
public const COLOR_GRAY_200 = Palette::CATEGORY . '.bodyColor-200';
public const COLOR_GRAY_300 = Palette::CATEGORY . '.bodyColor-300';
public const COLOR_GRAY_400 = Palette::CATEGORY . '.bodyColor-400';
public const COLOR_GRAY_500 = Palette::CATEGORY . '.bodyColor-500';
public const COLOR_GRAY_600 = Palette::CATEGORY . '.bodyColor-600';
public const COLOR_GRAY_700 = Palette::CATEGORY . '.bodyColor-700';
public const COLOR_GRAY_800 = Palette::CATEGORY . '.bodyColor-800';
public const COLOR_GRAY_900 = Palette::CATEGORY . '.bodyColor-900';
public const COLOR_BASE = Palette::TYPE . '.base';
public const COLOR_LIGHT = Palette::TYPE . '.light';
public const COLOR_DARK = Palette::TYPE . '.dark';
public const COLOR_BODY_BG = Palette::TYPE . '.bodyBg';
public const COLOR_BODY_COLOR = Palette::TYPE . '.bodyColor';
public const COLOR_HEADING_TEXT = Palette::TYPE . '.headingColor';
public const COLOR_LINK_TEXT = Palette::TYPE . '.linkColor';
public const COLOR_BORDER = Palette::TYPE . '.borderColor';
public const COLOR_BUTTON_BG_HOVER = Palette::TYPE . '.buttonBgHover';
public const COLOR_BUTTON_TEXT_HOVER = Palette::TYPE . '.buttonTextHover';
public const COLOR_BASE_DARK = Palette::TYPE . '.baseDark';
public const COLOR_BASE_LIGHT = Palette::TYPE . '.baseLight';
public const COLOR_BASE_COMPLEMENTARY = Palette::TYPE . '.baseComplementary';
public const COLOR_GRAY_100 = Palette::TYPE . '.bodyColor-100';
public const COLOR_GRAY_200 = Palette::TYPE . '.bodyColor-200';
public const COLOR_GRAY_300 = Palette::TYPE . '.bodyColor-300';
public const COLOR_GRAY_400 = Palette::TYPE . '.bodyColor-400';
public const COLOR_GRAY_500 = Palette::TYPE . '.bodyColor-500';
public const COLOR_GRAY_600 = Palette::TYPE . '.bodyColor-600';
public const COLOR_GRAY_700 = Palette::TYPE . '.bodyColor-700';
public const COLOR_GRAY_800 = Palette::TYPE . '.bodyColor-800';
public const COLOR_GRAY_900 = Palette::TYPE . '.bodyColor-900';

public const GRADIENT_LIGHT_TO_DARK = Gradient::CATEGORY . '.light-to-dark';
public const GRADIENT_LIGHT_TO_DARK = Gradient::TYPE . '.light-to-dark';

public const FONT_FAMILY_BASE = FontFamily::CATEGORY . '.base';
public const FONT_FAMILY_MONOSPACE = FontFamily::CATEGORY . '.monospace';
public const FONT_FAMILY_BASE = FontFamily::TYPE . '.base';
public const FONT_FAMILY_MONOSPACE = FontFamily::TYPE . '.monospace';

public const FONT_SIZE_BASE = FontSize::CATEGORY . '.base';
public const FONT_SIZE_H1 = FontSize::CATEGORY . '.h1';
public const FONT_SIZE_H2 = FontSize::CATEGORY . '.h2';
public const FONT_SIZE_H3 = FontSize::CATEGORY . '.h3';
public const FONT_SIZE_H4 = FontSize::CATEGORY . '.h4';
public const FONT_SIZE_H5 = FontSize::CATEGORY . '.h5';
public const FONT_SIZE_H6 = FontSize::CATEGORY . '.h6';
public const FONT_SIZE_SMALL = FontSize::CATEGORY . '.small';
public const FONT_SIZE_X_SMALL = FontSize::CATEGORY . '.x-small';
public const FONT_SIZE_BASE = FontSize::TYPE . '.base';
public const FONT_SIZE_H1 = FontSize::TYPE . '.h1';
public const FONT_SIZE_H2 = FontSize::TYPE . '.h2';
public const FONT_SIZE_H3 = FontSize::TYPE . '.h3';
public const FONT_SIZE_H4 = FontSize::TYPE . '.h4';
public const FONT_SIZE_H5 = FontSize::TYPE . '.h5';
public const FONT_SIZE_H6 = FontSize::TYPE . '.h6';
public const FONT_SIZE_SMALL = FontSize::TYPE . '.small';
public const FONT_SIZE_X_SMALL = FontSize::TYPE . '.x-small';

public const CONTENT_SIZE = Custom::CATEGORY . '.contentSize';
public const WIDE_SIZE = Custom::CATEGORY . '.wideSize';
public const BASE_FONT_SIZE = Custom::CATEGORY . '.baseFontSize';
public const SPACER_BASE = Custom::CATEGORY . '.spacer.base';
public const SPACER_V = Custom::CATEGORY . '.spacer.v';
public const SPACER_H = Custom::CATEGORY . '.spacer.h';
public const SPACER_S = Custom::CATEGORY . '.spacer.s';
public const SPACER_M = Custom::CATEGORY . '.spacer.m';
public const SPACER_L = Custom::CATEGORY . '.spacer.l';
public const SPACER_XL = Custom::CATEGORY . '.spacer.xl';
public const LINE_HEIGHT_BASE = Custom::CATEGORY . '.lineHeight.base';
public const LINE_HEIGHT_XS = Custom::CATEGORY . '.lineHeight.xs';
public const LINE_HEIGHT_S = Custom::CATEGORY . '.lineHeight.s';
public const LINE_HEIGHT_M = Custom::CATEGORY . '.lineHeight.m';
public const LINE_HEIGHT_L = Custom::CATEGORY . '.lineHeight.l';
public const BODY_BG = Custom::CATEGORY . '.body.bg';
public const BODY_TEXT = Custom::CATEGORY . '.body.text';
public const LINK_BG = Custom::CATEGORY . '.link.bg';
public const LINK_TEXT = Custom::CATEGORY . '.link.text';
public const LINK_DECORATION = Custom::CATEGORY . '.link.decoration';
public const LINK_HOVER_TEXT = Custom::CATEGORY . '.link.hover.text';
public const LINK_HOVER_DECORATION = Custom::CATEGORY . '.link.hover.decoration';
public const BUTTON_BG = Custom::CATEGORY . '.button.bg';
public const BUTTON_TEXT = Custom::CATEGORY . '.button.text';
public const BUTTON_BORDER_COLOR = Custom::CATEGORY . '.button.borderColor';
public const BUTTON_BORDER_RADIUS = Custom::CATEGORY . '.button.borderRadius';
public const BUTTON_HOVER_BG = Custom::CATEGORY . '.button.hover.bg';
public const BUTTON_HOVER_TEXT = Custom::CATEGORY . '.button.hover.text';
public const BUTTON_HOVER_BORDER_COLOR = Custom::CATEGORY . '.button.hover.borderColor';
public const BUTTON_PADDING_V = Custom::CATEGORY . '.button.padding.v';
public const BUTTON_PADDING_H = Custom::CATEGORY . '.button.padding.h';
public const FORM_BORDER_COLOR = Custom::CATEGORY . '.form.borderColor';
public const FORM_BORDER_WIDTH = Custom::CATEGORY . '.form.borderWidth';
public const FORM_INPUT_COLOR = Custom::CATEGORY . '.form.input.color';
public const NAVBAR_MIN_HEIGHT = Custom::CATEGORY . '.navbar.min.height';
public const QUERY_POST_TITLE = Custom::CATEGORY . '.query.post.title';
public const SITE_BLOCKS_MARGIN_TOP = Custom::CATEGORY . '.site-blocks.margin.top';
public const CONTENT_SIZE = Custom::TYPE . '.contentSize';
public const WIDE_SIZE = Custom::TYPE . '.wideSize';
public const BASE_FONT_SIZE = Custom::TYPE . '.baseFontSize';
public const SPACER_BASE = Custom::TYPE . '.spacer.base';
public const SPACER_V = Custom::TYPE . '.spacer.v';
public const SPACER_H = Custom::TYPE . '.spacer.h';
public const SPACER_S = Custom::TYPE . '.spacer.s';
public const SPACER_M = Custom::TYPE . '.spacer.m';
public const SPACER_L = Custom::TYPE . '.spacer.l';
public const SPACER_XL = Custom::TYPE . '.spacer.xl';
public const LINE_HEIGHT_BASE = Custom::TYPE . '.lineHeight.base';
public const LINE_HEIGHT_XS = Custom::TYPE . '.lineHeight.xs';
public const LINE_HEIGHT_S = Custom::TYPE . '.lineHeight.s';
public const LINE_HEIGHT_M = Custom::TYPE . '.lineHeight.m';
public const LINE_HEIGHT_L = Custom::TYPE . '.lineHeight.l';
public const BODY_BG = Custom::TYPE . '.body.bg';
public const BODY_TEXT = Custom::TYPE . '.body.text';
public const LINK_BG = Custom::TYPE . '.link.bg';
public const LINK_TEXT = Custom::TYPE . '.link.text';
public const LINK_DECORATION = Custom::TYPE . '.link.decoration';
public const LINK_HOVER_TEXT = Custom::TYPE . '.link.hover.text';
public const LINK_HOVER_DECORATION = Custom::TYPE . '.link.hover.decoration';
public const BUTTON_BG = Custom::TYPE . '.button.bg';
public const BUTTON_TEXT = Custom::TYPE . '.button.text';
public const BUTTON_BORDER_COLOR = Custom::TYPE . '.button.borderColor';
public const BUTTON_BORDER_RADIUS = Custom::TYPE . '.button.borderRadius';
public const BUTTON_HOVER_BG = Custom::TYPE . '.button.hover.bg';
public const BUTTON_HOVER_TEXT = Custom::TYPE . '.button.hover.text';
public const BUTTON_HOVER_BORDER_COLOR = Custom::TYPE . '.button.hover.borderColor';
public const BUTTON_PADDING_V = Custom::TYPE . '.button.padding.v';
public const BUTTON_PADDING_H = Custom::TYPE . '.button.padding.h';
public const FORM_BORDER_COLOR = Custom::TYPE . '.form.borderColor';
public const FORM_BORDER_WIDTH = Custom::TYPE . '.form.borderWidth';
public const FORM_INPUT_COLOR = Custom::TYPE . '.form.input.color';
public const NAVBAR_MIN_HEIGHT = Custom::TYPE . '.navbar.min.height';
public const QUERY_POST_TITLE = Custom::TYPE . '.query.post.title';
public const SITE_BLOCKS_MARGIN_TOP = Custom::TYPE . '.site-blocks.margin.top';


public static function getJsonData(ContainerInterface $container, PresetsInterface $collection): void
Expand Down

0 comments on commit fc40379

Please sign in to comment.