@shell-shock/plugin-theme 0.4.14 → 0.4.15

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 +1 @@
1
- {"version":3,"file":"constants.mjs","names":[],"sources":["../../src/helpers/constants.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Shell Shock\n\n This code was released as part of the Shell Shock project. Shell Shock\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/shell-shock.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/shell-shock\n Documentation: https://docs.stormsoftware.com/projects/shell-shock\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nexport const DEFAULT_TAG_COLORS = {\n foreground: \"#394447\",\n background: \"#f9fbfb\"\n};\n"],"mappings":";AAkBA,MAAa,qBAAqB;CAChC,YAAY;CACZ,YAAY;CACb"}
1
+ {"version":3,"file":"constants.mjs","names":[],"sources":["../../src/helpers/constants.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Shell Shock\n\n This code was released as part of the Shell Shock project. Shell Shock\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/shell-shock.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/shell-shock\n Documentation: https://docs.stormsoftware.com/projects/shell-shock\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nexport const DEFAULT_TAG_COLORS = {\n foreground: \"#394447\",\n background: \"#f9fbfb\"\n};\n\nexport const THEME_MESSAGE_VARIANTS = [\n \"help\",\n \"success\",\n \"info\",\n \"debug\",\n \"warning\",\n \"danger\",\n \"error\"\n] as const;\n\nexport const THEME_COLOR_VARIANTS = [\n \"primary\",\n \"secondary\",\n \"tertiary\"\n] as const;\n\nexport const THEME_COLOR_SUBITEMS = [\n \"primary\",\n \"secondary\",\n \"tertiary\"\n] as const;\n\nexport const THEME_COLOR_BODY_SUBITEMS = [\n \"link\",\n \"primary\",\n \"secondary\",\n \"tertiary\"\n] as const;\n"],"mappings":";AAkBA,MAAa,qBAAqB;CAChC,YAAY;CACZ,YAAY;CACb;AAED,MAAa,yBAAyB;CACpC;CACA;CACA;CACA;CACA;CACA;CACA;CACD;AAED,MAAa,uBAAuB;CAClC;CACA;CACA;CACD;AAED,MAAa,uBAAuB;CAClC;CACA;CACA;CACD;AAED,MAAa,4BAA4B;CACvC;CACA;CACA;CACA;CACD"}
@@ -36,7 +36,8 @@ const colors = (context) => ({
36
36
  },
37
37
  app: {
38
38
  table: {},
39
- divider: {}
39
+ divider: {},
40
+ blockquote: {}
40
41
  },
41
42
  message: {
42
43
  outline: {},
@@ -1290,6 +1291,9 @@ const colors = (context) => ({
1290
1291
  if (!resolvedConfig.colors.border?.app?.divider?.primary && (resolvedConfig.colors.border?.app?.divider?.secondary || resolvedConfig.colors.border?.app?.divider?.tertiary)) resolvedConfig.colors.border.app.divider.primary = resolvedConfig.colors.border.app.divider.secondary || resolvedConfig.colors.border.app.divider.tertiary;
1291
1292
  if (!resolvedConfig.colors.border?.app?.divider?.secondary && (resolvedConfig.colors.border?.app?.divider?.primary || resolvedConfig.colors.border?.app?.divider?.tertiary)) resolvedConfig.colors.border.app.divider.secondary = resolvedConfig.colors.border.app.divider.primary || resolvedConfig.colors.border.app.divider.tertiary;
1292
1293
  if (!resolvedConfig.colors.border?.app?.divider?.tertiary && (resolvedConfig.colors.border?.app?.divider?.primary || resolvedConfig.colors.border?.app?.divider?.secondary)) resolvedConfig.colors.border.app.divider.tertiary = resolvedConfig.colors.border.app.divider.primary || resolvedConfig.colors.border.app.divider.secondary;
1294
+ if (!resolvedConfig.colors.border?.app?.blockquote?.primary && (resolvedConfig.colors.border?.app?.blockquote?.secondary || resolvedConfig.colors.border?.app?.blockquote?.tertiary)) resolvedConfig.colors.border.app.blockquote.primary = resolvedConfig.colors.border.app.blockquote.secondary || resolvedConfig.colors.border.app.blockquote.tertiary;
1295
+ if (!resolvedConfig.colors.border?.app?.blockquote?.secondary && (resolvedConfig.colors.border?.app?.blockquote?.primary || resolvedConfig.colors.border?.app?.blockquote?.tertiary)) resolvedConfig.colors.border.app.blockquote.secondary = resolvedConfig.colors.border.app.blockquote.primary || resolvedConfig.colors.border.app.blockquote.tertiary;
1296
+ if (!resolvedConfig.colors.border?.app?.blockquote?.tertiary && (resolvedConfig.colors.border?.app?.blockquote?.primary || resolvedConfig.colors.border?.app?.blockquote?.secondary)) resolvedConfig.colors.border.app.blockquote.tertiary = resolvedConfig.colors.border.app.blockquote.primary || resolvedConfig.colors.border.app.blockquote.secondary;
1293
1297
  if (!resolvedConfig.colors.border?.app?.table?.primary && (resolvedConfig.colors.border?.app?.table?.secondary || resolvedConfig.colors.border?.app?.table?.tertiary)) resolvedConfig.colors.border.app.table.primary = resolvedConfig.colors.border.app.table.secondary || resolvedConfig.colors.border.app.table.tertiary;
1294
1298
  if (!resolvedConfig.colors.border?.app?.table?.secondary && (resolvedConfig.colors.border?.app?.table?.primary || resolvedConfig.colors.border?.app?.table?.tertiary)) resolvedConfig.colors.border.app.table.secondary = resolvedConfig.colors.border.app.table.primary || resolvedConfig.colors.border.app.table.tertiary;
1295
1299
  if (!resolvedConfig.colors.border?.app?.table?.tertiary && (resolvedConfig.colors.border?.app?.table?.primary || resolvedConfig.colors.border?.app?.table?.secondary)) resolvedConfig.colors.border.app.table.tertiary = resolvedConfig.colors.border.app.table.primary || resolvedConfig.colors.border.app.table.secondary;
@@ -35,7 +35,8 @@ const colors = (context) => ({
35
35
  },
36
36
  app: {
37
37
  table: {},
38
- divider: {}
38
+ divider: {},
39
+ blockquote: {}
39
40
  },
40
41
  message: {
41
42
  outline: {},
@@ -1289,6 +1290,9 @@ const colors = (context) => ({
1289
1290
  if (!resolvedConfig.colors.border?.app?.divider?.primary && (resolvedConfig.colors.border?.app?.divider?.secondary || resolvedConfig.colors.border?.app?.divider?.tertiary)) resolvedConfig.colors.border.app.divider.primary = resolvedConfig.colors.border.app.divider.secondary || resolvedConfig.colors.border.app.divider.tertiary;
1290
1291
  if (!resolvedConfig.colors.border?.app?.divider?.secondary && (resolvedConfig.colors.border?.app?.divider?.primary || resolvedConfig.colors.border?.app?.divider?.tertiary)) resolvedConfig.colors.border.app.divider.secondary = resolvedConfig.colors.border.app.divider.primary || resolvedConfig.colors.border.app.divider.tertiary;
1291
1292
  if (!resolvedConfig.colors.border?.app?.divider?.tertiary && (resolvedConfig.colors.border?.app?.divider?.primary || resolvedConfig.colors.border?.app?.divider?.secondary)) resolvedConfig.colors.border.app.divider.tertiary = resolvedConfig.colors.border.app.divider.primary || resolvedConfig.colors.border.app.divider.secondary;
1293
+ if (!resolvedConfig.colors.border?.app?.blockquote?.primary && (resolvedConfig.colors.border?.app?.blockquote?.secondary || resolvedConfig.colors.border?.app?.blockquote?.tertiary)) resolvedConfig.colors.border.app.blockquote.primary = resolvedConfig.colors.border.app.blockquote.secondary || resolvedConfig.colors.border.app.blockquote.tertiary;
1294
+ if (!resolvedConfig.colors.border?.app?.blockquote?.secondary && (resolvedConfig.colors.border?.app?.blockquote?.primary || resolvedConfig.colors.border?.app?.blockquote?.tertiary)) resolvedConfig.colors.border.app.blockquote.secondary = resolvedConfig.colors.border.app.blockquote.primary || resolvedConfig.colors.border.app.blockquote.tertiary;
1295
+ if (!resolvedConfig.colors.border?.app?.blockquote?.tertiary && (resolvedConfig.colors.border?.app?.blockquote?.primary || resolvedConfig.colors.border?.app?.blockquote?.secondary)) resolvedConfig.colors.border.app.blockquote.tertiary = resolvedConfig.colors.border.app.blockquote.primary || resolvedConfig.colors.border.app.blockquote.secondary;
1292
1296
  if (!resolvedConfig.colors.border?.app?.table?.primary && (resolvedConfig.colors.border?.app?.table?.secondary || resolvedConfig.colors.border?.app?.table?.tertiary)) resolvedConfig.colors.border.app.table.primary = resolvedConfig.colors.border.app.table.secondary || resolvedConfig.colors.border.app.table.tertiary;
1293
1297
  if (!resolvedConfig.colors.border?.app?.table?.secondary && (resolvedConfig.colors.border?.app?.table?.primary || resolvedConfig.colors.border?.app?.table?.tertiary)) resolvedConfig.colors.border.app.table.secondary = resolvedConfig.colors.border.app.table.primary || resolvedConfig.colors.border.app.table.tertiary;
1294
1298
  if (!resolvedConfig.colors.border?.app?.table?.tertiary && (resolvedConfig.colors.border?.app?.table?.primary || resolvedConfig.colors.border?.app?.table?.secondary)) resolvedConfig.colors.border.app.table.tertiary = resolvedConfig.colors.border.app.table.primary || resolvedConfig.colors.border.app.table.secondary;