@rbxts/uiblox 0.1.43 → 0.1.44

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,3 +1,3 @@
1
1
  export * from "./NumberConstants";
2
2
  export * from "./StateConstants";
3
- export * from "./ThemeConstants";
3
+ export * from "./ColorConstants";
@@ -7,7 +7,7 @@ end
7
7
  for _k, _v in TS.import(script, script, "StateConstants") or {} do
8
8
  exports[_k] = _v
9
9
  end
10
- for _k, _v in TS.import(script, script, "ThemeConstants") or {} do
10
+ for _k, _v in TS.import(script, script, "ColorConstants") or {} do
11
11
  exports[_k] = _v
12
12
  end
13
13
  return exports
@@ -14,14 +14,15 @@ local Purple = _colors.Purple
14
14
  local Magenta = _colors.Magenta
15
15
  local Orange = _colors.Orange
16
16
  local Turquoise = _colors.Turquoise
17
- local _constants = TS.import(script, script.Parent.Parent, "constants")
18
- local BORDER_RADIUS = _constants.BORDER_RADIUS
19
- local DARK_THEME_COLORS = _constants.DARK_THEME_COLORS
20
- local PADDING_BASE = _constants.PADDING_BASE
21
- local SPACING_BASE = _constants.SPACING_BASE
22
- local CONTENT_WIDTH = _constants.CONTENT_WIDTH
23
- local ICON_SIZES = _constants.ICON_SIZES
24
- local DEFAULT_BORDERS = _constants.DEFAULT_BORDERS
17
+ local _NumberConstants = TS.import(script, script.Parent.Parent, "constants", "NumberConstants")
18
+ local BORDER_RADIUS = _NumberConstants.BORDER_RADIUS
19
+ local CONTENT_WIDTH = _NumberConstants.CONTENT_WIDTH
20
+ local ICON_SIZES = _NumberConstants.ICON_SIZES
21
+ local PADDING_BASE = _NumberConstants.PADDING_BASE
22
+ local SPACING_BASE = _NumberConstants.SPACING_BASE
23
+ local _ColorConstants = TS.import(script, script.Parent.Parent, "constants", "ColorConstants")
24
+ local DARK_THEME_COLORS = _ColorConstants.DARK_THEME_COLORS
25
+ local DEFAULT_BORDERS = _ColorConstants.DEFAULT_BORDERS
25
26
  local allFontFamilies = TS.import(script, script.Parent.Parent, "interfaces", "typography", "FontFamilies").allFontFamilies
26
27
  local DarkTheme = {
27
28
  type = "Dark",
@@ -14,14 +14,15 @@ local Purple = _colors.Purple
14
14
  local Magenta = _colors.Magenta
15
15
  local Orange = _colors.Orange
16
16
  local Turquoise = _colors.Turquoise
17
- local _constants = TS.import(script, script.Parent.Parent, "constants")
18
- local BORDER_RADIUS = _constants.BORDER_RADIUS
19
- local PADDING_BASE = _constants.PADDING_BASE
20
- local SPACING_BASE = _constants.SPACING_BASE
21
- local CONTENT_WIDTH = _constants.CONTENT_WIDTH
22
- local ICON_SIZES = _constants.ICON_SIZES
23
- local DEFAULT_BORDERS = _constants.DEFAULT_BORDERS
24
- local LIGHT_THEME_COLORS = _constants.LIGHT_THEME_COLORS
17
+ local _NumberConstants = TS.import(script, script.Parent.Parent, "constants", "NumberConstants")
18
+ local BORDER_RADIUS = _NumberConstants.BORDER_RADIUS
19
+ local CONTENT_WIDTH = _NumberConstants.CONTENT_WIDTH
20
+ local ICON_SIZES = _NumberConstants.ICON_SIZES
21
+ local PADDING_BASE = _NumberConstants.PADDING_BASE
22
+ local SPACING_BASE = _NumberConstants.SPACING_BASE
23
+ local _ColorConstants = TS.import(script, script.Parent.Parent, "constants", "ColorConstants")
24
+ local LIGHT_THEME_COLORS = _ColorConstants.LIGHT_THEME_COLORS
25
+ local DEFAULT_BORDERS = _ColorConstants.DEFAULT_BORDERS
25
26
  local allFontFamilies = TS.import(script, script.Parent.Parent, "interfaces", "typography", "FontFamilies").allFontFamilies
26
27
  local LightTheme = {
27
28
  type = "Light",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/uiblox",
3
- "version": "0.1.43",
3
+ "version": "0.1.44",
4
4
  "description": "UI Library and theming for roblox-ts projects",
5
5
  "main": "out/init.lua",
6
6
  "scripts": {