@lbaz/tetr 0.0.59 → 0.0.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("./definitions-type.cjs"),o=require("./fonts.cjs");const t={TEXT_COLOR:"TEXT_COLOR",BACKGROUND_COLOR:"BACKGROUND_COLOR",FIRST_ACCENT_COLOR:"FIRST_ACCENT_COLOR",SECOND_ACCENT_COLOR:"SECOND_ACCENT_COLOR",ROOT_FONT_SIZE:"ROOT_FONT_SIZE",CONTENT_WIDTH:"CONTENT_WIDTH",HEADING_FONT_FAMILY:"HEADING_FONT_FAMILY",CONTENT_FONT_FAMILY:"CONTENT_FONT_FAMILY"},N={textColor:"textColor",backgroundColor:"backgroundColor",firstAccentColor:"firstAccentColor",secondAccentColor:"secondAccentColor",fontSize:"fontSize",contentWidth:"contentWidth",headingFontFamily:"headingFontFamily",contentFontFamily:"contentFontFamily"},O=[{label:t.TEXT_COLOR,fieldName:N.textColor,type:e.DEFINITION_TYPES.Color,varName:"--p-text-color",value:"#555"},{label:t.BACKGROUND_COLOR,fieldName:N.backgroundColor,type:e.DEFINITION_TYPES.Color,varName:"--p-background-color",value:"#fff"},{label:t.FIRST_ACCENT_COLOR,fieldName:N.firstAccentColor,type:e.DEFINITION_TYPES.Color,varName:"--p-first-accent-color",value:"#f15859"},{label:t.SECOND_ACCENT_COLOR,fieldName:N.secondAccentColor,type:e.DEFINITION_TYPES.Color,varName:"--p-second-accent-color",value:"rgb(0, 155, 232)"},{label:t.ROOT_FONT_SIZE,fieldName:N.fontSize,type:e.DEFINITION_TYPES.Size,varName:"--p-root-font-size",value:"
|
|
1
|
+
"use strict";var e=require("./definitions-type.cjs"),o=require("./fonts.cjs");const t={TEXT_COLOR:"TEXT_COLOR",BACKGROUND_COLOR:"BACKGROUND_COLOR",FIRST_ACCENT_COLOR:"FIRST_ACCENT_COLOR",SECOND_ACCENT_COLOR:"SECOND_ACCENT_COLOR",ROOT_FONT_SIZE:"ROOT_FONT_SIZE",CONTENT_WIDTH:"CONTENT_WIDTH",HEADING_FONT_FAMILY:"HEADING_FONT_FAMILY",CONTENT_FONT_FAMILY:"CONTENT_FONT_FAMILY"},N={textColor:"textColor",backgroundColor:"backgroundColor",firstAccentColor:"firstAccentColor",secondAccentColor:"secondAccentColor",fontSize:"fontSize",contentWidth:"contentWidth",headingFontFamily:"headingFontFamily",contentFontFamily:"contentFontFamily"},O=[{label:t.TEXT_COLOR,fieldName:N.textColor,type:e.DEFINITION_TYPES.Color,varName:"--p-text-color",value:"#555"},{label:t.BACKGROUND_COLOR,fieldName:N.backgroundColor,type:e.DEFINITION_TYPES.Color,varName:"--p-background-color",value:"#fff"},{label:t.FIRST_ACCENT_COLOR,fieldName:N.firstAccentColor,type:e.DEFINITION_TYPES.Color,varName:"--p-first-accent-color",value:"#f15859"},{label:t.SECOND_ACCENT_COLOR,fieldName:N.secondAccentColor,type:e.DEFINITION_TYPES.Color,varName:"--p-second-accent-color",value:"rgb(0, 155, 232)"},{label:t.ROOT_FONT_SIZE,fieldName:N.fontSize,type:e.DEFINITION_TYPES.Size,varName:"--p-root-font-size",value:"16px"},{label:t.CONTENT_WIDTH,fieldName:N.contentWidth,type:e.DEFINITION_TYPES.Size,varName:"--p-content-width",value:"50rem"},{label:t.HEADING_FONT_FAMILY,fieldName:N.headingFontFamily,type:e.DEFINITION_TYPES.Select,varName:"--p-heading-font-family",value:o.BASE_GOOGLE_FONTS.roboto},{label:t.CONTENT_FONT_FAMILY,fieldName:N.contentFontFamily,type:e.DEFINITION_TYPES.Select,varName:"--p-content-font-family",value:o.BASE_GOOGLE_FONTS.roboto}];exports.DEFAULT_THEME=O,exports.THEME_FIELDS=N,exports.THEME_LABELS=t;
|
|
2
2
|
//# sourceMappingURL=themes.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{DEFINITION_TYPES as e}from"./definitions-type.js";import{BASE_GOOGLE_FONTS as o}from"./fonts.js";const t={TEXT_COLOR:"TEXT_COLOR",BACKGROUND_COLOR:"BACKGROUND_COLOR",FIRST_ACCENT_COLOR:"FIRST_ACCENT_COLOR",SECOND_ACCENT_COLOR:"SECOND_ACCENT_COLOR",ROOT_FONT_SIZE:"ROOT_FONT_SIZE",CONTENT_WIDTH:"CONTENT_WIDTH",HEADING_FONT_FAMILY:"HEADING_FONT_FAMILY",CONTENT_FONT_FAMILY:"CONTENT_FONT_FAMILY"},l={textColor:"textColor",backgroundColor:"backgroundColor",firstAccentColor:"firstAccentColor",secondAccentColor:"secondAccentColor",fontSize:"fontSize",contentWidth:"contentWidth",headingFontFamily:"headingFontFamily",contentFontFamily:"contentFontFamily"},a=[{label:t.TEXT_COLOR,fieldName:l.textColor,type:e.Color,varName:"--p-text-color",value:"#555"},{label:t.BACKGROUND_COLOR,fieldName:l.backgroundColor,type:e.Color,varName:"--p-background-color",value:"#fff"},{label:t.FIRST_ACCENT_COLOR,fieldName:l.firstAccentColor,type:e.Color,varName:"--p-first-accent-color",value:"#f15859"},{label:t.SECOND_ACCENT_COLOR,fieldName:l.secondAccentColor,type:e.Color,varName:"--p-second-accent-color",value:"rgb(0, 155, 232)"},{label:t.ROOT_FONT_SIZE,fieldName:l.fontSize,type:e.Size,varName:"--p-root-font-size",value:"
|
|
1
|
+
import{DEFINITION_TYPES as e}from"./definitions-type.js";import{BASE_GOOGLE_FONTS as o}from"./fonts.js";const t={TEXT_COLOR:"TEXT_COLOR",BACKGROUND_COLOR:"BACKGROUND_COLOR",FIRST_ACCENT_COLOR:"FIRST_ACCENT_COLOR",SECOND_ACCENT_COLOR:"SECOND_ACCENT_COLOR",ROOT_FONT_SIZE:"ROOT_FONT_SIZE",CONTENT_WIDTH:"CONTENT_WIDTH",HEADING_FONT_FAMILY:"HEADING_FONT_FAMILY",CONTENT_FONT_FAMILY:"CONTENT_FONT_FAMILY"},l={textColor:"textColor",backgroundColor:"backgroundColor",firstAccentColor:"firstAccentColor",secondAccentColor:"secondAccentColor",fontSize:"fontSize",contentWidth:"contentWidth",headingFontFamily:"headingFontFamily",contentFontFamily:"contentFontFamily"},a=[{label:t.TEXT_COLOR,fieldName:l.textColor,type:e.Color,varName:"--p-text-color",value:"#555"},{label:t.BACKGROUND_COLOR,fieldName:l.backgroundColor,type:e.Color,varName:"--p-background-color",value:"#fff"},{label:t.FIRST_ACCENT_COLOR,fieldName:l.firstAccentColor,type:e.Color,varName:"--p-first-accent-color",value:"#f15859"},{label:t.SECOND_ACCENT_COLOR,fieldName:l.secondAccentColor,type:e.Color,varName:"--p-second-accent-color",value:"rgb(0, 155, 232)"},{label:t.ROOT_FONT_SIZE,fieldName:l.fontSize,type:e.Size,varName:"--p-root-font-size",value:"16px"},{label:t.CONTENT_WIDTH,fieldName:l.contentWidth,type:e.Size,varName:"--p-content-width",value:"50rem"},{label:t.HEADING_FONT_FAMILY,fieldName:l.headingFontFamily,type:e.Select,varName:"--p-heading-font-family",value:o.roboto},{label:t.CONTENT_FONT_FAMILY,fieldName:l.contentFontFamily,type:e.Select,varName:"--p-content-font-family",value:o.roboto}];export{a as DEFAULT_THEME,l as THEME_FIELDS,t as THEME_LABELS};
|
|
2
2
|
//# sourceMappingURL=themes.js.map
|