@poveste/app 0.1.0 → 0.1.1

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.
Files changed (269) hide show
  1. package/package.json +4 -4
  2. package/postcss.config.cjs +1 -1
  3. package/src/app/App.vue +9 -9
  4. package/src/app/assets/poveste-text-dark.svg +15 -0
  5. package/src/app/assets/poveste-text.svg +15 -0
  6. package/src/app/assets/poveste.svg +14 -0
  7. package/src/app/components/HomeView.vue +4 -4
  8. package/src/app/components/app/AppHeader.vue +4 -4
  9. package/src/app/components/app/AppLogo.vue +7 -7
  10. package/src/app/components/app/Breadcrumb.vue +1 -1
  11. package/src/app/components/app/InitialLoading.vue +3 -3
  12. package/src/app/components/app/MobileOverlay.vue +2 -2
  13. package/src/app/components/base/BaseButton.vue +1 -1
  14. package/src/app/components/base/BaseCheckbox.vue +1 -1
  15. package/src/app/components/base/BaseCopyIcon.vue +1 -1
  16. package/src/app/components/base/BaseEmpty.vue +1 -1
  17. package/src/app/components/base/BaseIcon.vue +2 -2
  18. package/src/app/components/base/BaseKeyboardShortcut.vue +1 -1
  19. package/src/app/components/base/BaseListItemLink.vue +1 -1
  20. package/src/app/components/base/BaseOverflowMenu.vue +1 -1
  21. package/src/app/components/base/BaseOverflowTab.vue +2 -2
  22. package/src/app/components/base/BaseSelect.vue +1 -1
  23. package/src/app/components/base/BaseSplitPane.vue +2 -2
  24. package/src/app/components/base/BaseTab.vue +2 -2
  25. package/src/app/components/base/BaseTag.vue +1 -1
  26. package/src/app/components/command/CommandPrompts.vue +1 -1
  27. package/src/app/components/command/CommandPromptsModal.vue +1 -1
  28. package/src/app/components/command/PromptSelect.vue +1 -1
  29. package/src/app/components/command/PromptText.vue +1 -1
  30. package/src/app/components/misc/HatchedPattern.vue +2 -2
  31. package/src/app/components/panel/ControlsComponentPropItem.vue +1 -1
  32. package/src/app/components/panel/ControlsComponentProps.vue +1 -1
  33. package/src/app/components/panel/ControlsComponentState.vue +1 -1
  34. package/src/app/components/panel/ControlsComponentStateItem.vue +1 -1
  35. package/src/app/components/panel/PaneTabs.vue +1 -1
  36. package/src/app/components/panel/StatePresets.vue +3 -3
  37. package/src/app/components/panel/StoryControls.vue +2 -2
  38. package/src/app/components/panel/StoryDocs.vue +6 -6
  39. package/src/app/components/panel/StoryEvent.vue +1 -1
  40. package/src/app/components/panel/StoryEvents.vue +1 -1
  41. package/src/app/components/panel/StorySidePanel.vue +3 -3
  42. package/src/app/components/panel/StorySourceCode.vue +5 -5
  43. package/src/app/components/search/SearchItem.vue +1 -1
  44. package/src/app/components/search/SearchLoading.vue +1 -1
  45. package/src/app/components/search/SearchModal.vue +1 -1
  46. package/src/app/components/search/SearchPane.vue +3 -3
  47. package/src/app/components/search/search-docs-data.ts +1 -1
  48. package/src/app/components/search/search-title-data.ts +1 -1
  49. package/src/app/components/story/GenericMountStory.vue +2 -2
  50. package/src/app/components/story/GenericRenderStory.vue +2 -2
  51. package/src/app/components/story/StoryResponsivePreview.vue +1 -1
  52. package/src/app/components/story/StoryVariantGrid.vue +2 -2
  53. package/src/app/components/story/StoryVariantGridItem.vue +6 -4
  54. package/src/app/components/story/StoryVariantListItem.vue +1 -1
  55. package/src/app/components/story/StoryVariantSingle.vue +2 -2
  56. package/src/app/components/story/StoryVariantSinglePreviewNative.vue +7 -5
  57. package/src/app/components/story/StoryVariantSinglePreviewRemote.vue +1 -1
  58. package/src/app/components/story/StoryVariantSingleView.vue +2 -2
  59. package/src/app/components/story/StoryView.vue +2 -2
  60. package/src/app/components/story/StoryViewer.vue +1 -1
  61. package/src/app/components/toolbar/DevOnlyToolbarOpenInEditor.vue +1 -1
  62. package/src/app/components/toolbar/ToolbarBackground.vue +4 -4
  63. package/src/app/components/toolbar/ToolbarNewTab.vue +1 -1
  64. package/src/app/components/toolbar/ToolbarResponsiveSize.vue +5 -5
  65. package/src/app/components/toolbar/ToolbarTextDirection.vue +1 -1
  66. package/src/app/components/toolbar/ToolbarTitle.vue +1 -1
  67. package/src/app/components/tree/StoryGroup.vue +1 -1
  68. package/src/app/components/tree/StoryList.vue +1 -1
  69. package/src/app/components/tree/StoryListFolder.vue +3 -3
  70. package/src/app/components/tree/StoryListItem.vue +1 -1
  71. package/src/app/index.ts +2 -2
  72. package/src/app/plugin.ts +2 -2
  73. package/src/app/router.ts +2 -2
  74. package/src/app/sandbox.ts +6 -6
  75. package/src/app/stores/folder.ts +1 -1
  76. package/src/app/stores/preview-settings.ts +1 -1
  77. package/src/app/style/main.pcss +3 -3
  78. package/src/app/style/sandbox.css +1 -1
  79. package/src/app/style/transitions.pcss +4 -4
  80. package/src/app/types.ts +2 -2
  81. package/src/app/util/commands.ts +2 -2
  82. package/src/app/util/config.ts +2 -2
  83. package/src/app/util/const.ts +4 -4
  84. package/src/app/util/dark.ts +4 -4
  85. package/src/app/util/docs.ts +1 -1
  86. package/src/app/util/events.ts +1 -1
  87. package/src/app/util/preview-settings.ts +5 -3
  88. package/src/virtual.d.ts +1 -1
  89. package/tailwind.config.cjs +2 -2
  90. package/vite.config.ts +2 -2
  91. package/dist/app/assets/histoire-text-dark.svg +0 -89
  92. package/dist/app/assets/histoire-text.svg +0 -89
  93. package/dist/app/assets/histoire.svg +0 -51
  94. package/dist/app/style/floating.pcss +0 -34
  95. package/dist/app/style/main.pcss +0 -100
  96. package/dist/app/style/sandbox.css +0 -24
  97. package/dist/app/style/transitions.pcss +0 -51
  98. package/dist/bundle-index.js +0 -1
  99. package/dist/bundle-main-dev.js +0 -4
  100. package/dist/bundle-main.js +0 -5
  101. package/dist/bundle-sandbox-dev.js +0 -2
  102. package/dist/bundle-sandbox.js +0 -2
  103. package/dist/bundled/App.vue.js +0 -5
  104. package/dist/bundled/App.vue2.js +0 -167
  105. package/dist/bundled/_virtual/_plugin-vue_export-helper.js +0 -10
  106. package/dist/bundled/api.js +0 -12
  107. package/dist/bundled/app.css +0 -116
  108. package/dist/bundled/assets/histoire-text-dark.svg.js +0 -4
  109. package/dist/bundled/assets/histoire-text.svg.js +0 -4
  110. package/dist/bundled/assets/histoire.svg.js +0 -4
  111. package/dist/bundled/components/HomeView.vue.js +0 -5
  112. package/dist/bundled/components/HomeView.vue2.js +0 -66
  113. package/dist/bundled/components/app/AppHeader.vue.js +0 -5
  114. package/dist/bundled/components/app/AppHeader.vue2.js +0 -71
  115. package/dist/bundled/components/app/AppLogo.vue.js +0 -5
  116. package/dist/bundled/components/app/AppLogo.vue2.js +0 -29
  117. package/dist/bundled/components/app/Breadcrumb.vue.js +0 -8
  118. package/dist/bundled/components/app/Breadcrumb.vue2.js +0 -91
  119. package/dist/bundled/components/app/HomeCounter.vue.js +0 -5
  120. package/dist/bundled/components/app/HomeCounter.vue2.js +0 -42
  121. package/dist/bundled/components/app/InitialLoading.vue.js +0 -5
  122. package/dist/bundled/components/app/InitialLoading.vue2.js +0 -51
  123. package/dist/bundled/components/app/MobileOverlay.vue.js +0 -5
  124. package/dist/bundled/components/app/MobileOverlay.vue2.js +0 -45
  125. package/dist/bundled/components/base/BaseButton.vue.js +0 -5
  126. package/dist/bundled/components/base/BaseButton.vue2.js +0 -39
  127. package/dist/bundled/components/base/BaseCheckbox.vue.js +0 -5
  128. package/dist/bundled/components/base/BaseCheckbox.vue2.js +0 -78
  129. package/dist/bundled/components/base/BaseEmpty.vue.js +0 -14
  130. package/dist/bundled/components/base/BaseIcon.vue.js +0 -8
  131. package/dist/bundled/components/base/BaseIcon.vue2.js +0 -29
  132. package/dist/bundled/components/base/BaseKeyboardShortcut.vue.js +0 -5
  133. package/dist/bundled/components/base/BaseKeyboardShortcut.vue2.js +0 -20
  134. package/dist/bundled/components/base/BaseListItem.vue.js +0 -5
  135. package/dist/bundled/components/base/BaseListItem.vue2.js +0 -33
  136. package/dist/bundled/components/base/BaseListItemLink.vue.js +0 -33
  137. package/dist/bundled/components/base/BaseListItemLink.vue2.js +0 -26
  138. package/dist/bundled/components/base/BaseOverflowMenu.vue.js +0 -5
  139. package/dist/bundled/components/base/BaseOverflowMenu.vue2.js +0 -100
  140. package/dist/bundled/components/base/BaseOverflowTab.vue.js +0 -36
  141. package/dist/bundled/components/base/BaseOverflowTab.vue2.js +0 -18
  142. package/dist/bundled/components/base/BaseSelect.vue.js +0 -5
  143. package/dist/bundled/components/base/BaseSelect.vue2.js +0 -77
  144. package/dist/bundled/components/base/BaseSplitPane.vue.js +0 -8
  145. package/dist/bundled/components/base/BaseSplitPane.vue2.js +0 -183
  146. package/dist/bundled/components/base/BaseTab.vue.js +0 -36
  147. package/dist/bundled/components/base/BaseTab.vue2.js +0 -18
  148. package/dist/bundled/components/base/BaseTag.vue.js +0 -13
  149. package/dist/bundled/components/command/CommandPrompts.vue.js +0 -5
  150. package/dist/bundled/components/command/CommandPrompts.vue2.js +0 -91
  151. package/dist/bundled/components/command/CommandPromptsModal.vue.js +0 -5
  152. package/dist/bundled/components/command/CommandPromptsModal.vue2.js +0 -45
  153. package/dist/bundled/components/command/PromptSelect.vue.js +0 -5
  154. package/dist/bundled/components/command/PromptSelect.vue2.js +0 -142
  155. package/dist/bundled/components/command/PromptText.vue.js +0 -5
  156. package/dist/bundled/components/command/PromptText.vue2.js +0 -67
  157. package/dist/bundled/components/misc/CheckerboardPattern.vue.js +0 -40
  158. package/dist/bundled/components/misc/HatchedPattern.vue.js +0 -12
  159. package/dist/bundled/components/panel/ControlsComponentPropItem.vue.js +0 -5
  160. package/dist/bundled/components/panel/ControlsComponentPropItem.vue2.js +0 -72
  161. package/dist/bundled/components/panel/ControlsComponentProps.vue.js +0 -5
  162. package/dist/bundled/components/panel/ControlsComponentProps.vue2.js +0 -45
  163. package/dist/bundled/components/panel/ControlsComponentState.vue.js +0 -5
  164. package/dist/bundled/components/panel/ControlsComponentState.vue2.js +0 -41
  165. package/dist/bundled/components/panel/ControlsComponentStateItem.vue.js +0 -5
  166. package/dist/bundled/components/panel/ControlsComponentStateItem.vue2.js +0 -46
  167. package/dist/bundled/components/panel/PaneTabs.vue.js +0 -5
  168. package/dist/bundled/components/panel/PaneTabs.vue2.js +0 -114
  169. package/dist/bundled/components/panel/StatePresets.vue.js +0 -5
  170. package/dist/bundled/components/panel/StatePresets.vue2.js +0 -193
  171. package/dist/bundled/components/panel/StoryControls.vue.js +0 -5
  172. package/dist/bundled/components/panel/StoryControls.vue2.js +0 -87
  173. package/dist/bundled/components/panel/StoryDocs.vue.js +0 -7
  174. package/dist/bundled/components/panel/StoryDocs.vue2.js +0 -161
  175. package/dist/bundled/components/panel/StoryEvent.vue.js +0 -5
  176. package/dist/bundled/components/panel/StoryEvent.vue2.js +0 -59
  177. package/dist/bundled/components/panel/StoryEvents.vue.js +0 -5
  178. package/dist/bundled/components/panel/StoryEvents.vue2.js +0 -53
  179. package/dist/bundled/components/panel/StorySidePanel.vue.js +0 -5
  180. package/dist/bundled/components/panel/StorySidePanel.vue2.js +0 -83
  181. package/dist/bundled/components/panel/StorySourceCode.vue.js +0 -8
  182. package/dist/bundled/components/panel/StorySourceCode.vue2.js +0 -204
  183. package/dist/bundled/components/search/SearchItem.vue.js +0 -8
  184. package/dist/bundled/components/search/SearchItem.vue2.js +0 -93
  185. package/dist/bundled/components/search/SearchItemContent.vue.js +0 -5
  186. package/dist/bundled/components/search/SearchItemContent.vue2.js +0 -71
  187. package/dist/bundled/components/search/SearchLoading.vue.js +0 -5
  188. package/dist/bundled/components/search/SearchLoading.vue2.js +0 -21
  189. package/dist/bundled/components/search/SearchModal.vue.js +0 -5
  190. package/dist/bundled/components/search/SearchModal.vue2.js +0 -51
  191. package/dist/bundled/components/search/SearchPane.vue.js +0 -5
  192. package/dist/bundled/components/search/SearchPane.vue2.js +0 -272
  193. package/dist/bundled/components/search/search-docs-data.js +0 -11
  194. package/dist/bundled/components/search/search-title-data.js +0 -11
  195. package/dist/bundled/components/story/GenericMountStory.vue.js +0 -5
  196. package/dist/bundled/components/story/GenericMountStory.vue2.js +0 -34
  197. package/dist/bundled/components/story/GenericRenderStory.vue.js +0 -5
  198. package/dist/bundled/components/story/GenericRenderStory.vue2.js +0 -39
  199. package/dist/bundled/components/story/StoryResponsivePreview.vue.js +0 -8
  200. package/dist/bundled/components/story/StoryResponsivePreview.vue2.js +0 -207
  201. package/dist/bundled/components/story/StoryVariantGrid.vue.js +0 -5
  202. package/dist/bundled/components/story/StoryVariantGrid.vue2.js +0 -146
  203. package/dist/bundled/components/story/StoryVariantGridItem.vue.js +0 -8
  204. package/dist/bundled/components/story/StoryVariantGridItem.vue2.js +0 -153
  205. package/dist/bundled/components/story/StoryVariantListItem.vue.js +0 -8
  206. package/dist/bundled/components/story/StoryVariantListItem.vue2.js +0 -55
  207. package/dist/bundled/components/story/StoryVariantSingle.vue.js +0 -8
  208. package/dist/bundled/components/story/StoryVariantSingle.vue2.js +0 -107
  209. package/dist/bundled/components/story/StoryVariantSinglePreviewNative.vue.js +0 -5
  210. package/dist/bundled/components/story/StoryVariantSinglePreviewNative.vue2.js +0 -70
  211. package/dist/bundled/components/story/StoryVariantSinglePreviewRemote.vue.js +0 -5
  212. package/dist/bundled/components/story/StoryVariantSinglePreviewRemote.vue2.js +0 -128
  213. package/dist/bundled/components/story/StoryVariantSingleView.vue.js +0 -5
  214. package/dist/bundled/components/story/StoryVariantSingleView.vue2.js +0 -66
  215. package/dist/bundled/components/story/StoryView.vue.js +0 -5
  216. package/dist/bundled/components/story/StoryView.vue2.js +0 -104
  217. package/dist/bundled/components/story/StoryViewer.vue.js +0 -8
  218. package/dist/bundled/components/story/StoryViewer.vue2.js +0 -55
  219. package/dist/bundled/components/toolbar/DevOnlyToolbarOpenInEditor.vue.js +0 -5
  220. package/dist/bundled/components/toolbar/DevOnlyToolbarOpenInEditor.vue2.js +0 -31
  221. package/dist/bundled/components/toolbar/ToolbarBackground.vue.js +0 -8
  222. package/dist/bundled/components/toolbar/ToolbarBackground.vue2.js +0 -98
  223. package/dist/bundled/components/toolbar/ToolbarNewTab.vue.js +0 -5
  224. package/dist/bundled/components/toolbar/ToolbarNewTab.vue2.js +0 -36
  225. package/dist/bundled/components/toolbar/ToolbarResponsiveSize.vue.js +0 -5
  226. package/dist/bundled/components/toolbar/ToolbarResponsiveSize.vue2.js +0 -127
  227. package/dist/bundled/components/toolbar/ToolbarTextDirection.vue.js +0 -5
  228. package/dist/bundled/components/toolbar/ToolbarTextDirection.vue2.js +0 -27
  229. package/dist/bundled/components/toolbar/ToolbarTitle.vue.js +0 -5
  230. package/dist/bundled/components/toolbar/ToolbarTitle.vue2.js +0 -26
  231. package/dist/bundled/components/tree/StoryGroup.vue.js +0 -5
  232. package/dist/bundled/components/tree/StoryGroup.vue2.js +0 -74
  233. package/dist/bundled/components/tree/StoryList.vue.js +0 -5
  234. package/dist/bundled/components/tree/StoryList.vue2.js +0 -41
  235. package/dist/bundled/components/tree/StoryListFolder.vue.js +0 -8
  236. package/dist/bundled/components/tree/StoryListFolder.vue2.js +0 -86
  237. package/dist/bundled/components/tree/StoryListItem.vue.js +0 -8
  238. package/dist/bundled/components/tree/StoryListItem.vue2.js +0 -69
  239. package/dist/bundled/index.js +0 -35
  240. package/dist/bundled/plugin.js +0 -49
  241. package/dist/bundled/router.js +0 -32
  242. package/dist/bundled/sandbox.js +0 -87
  243. package/dist/bundled/stores/command.js +0 -25
  244. package/dist/bundled/stores/events.js +0 -29
  245. package/dist/bundled/stores/folder.js +0 -54
  246. package/dist/bundled/stores/preview-settings.js +0 -19
  247. package/dist/bundled/stores/story.js +0 -43
  248. package/dist/bundled/util/commands.js +0 -57
  249. package/dist/bundled/util/config.js +0 -8
  250. package/dist/bundled/util/const.js +0 -10
  251. package/dist/bundled/util/dark.js +0 -28
  252. package/dist/bundled/util/docs.js +0 -26
  253. package/dist/bundled/util/env.js +0 -4
  254. package/dist/bundled/util/events.js +0 -33
  255. package/dist/bundled/util/keyboard.js +0 -90
  256. package/dist/bundled/util/mapping.js +0 -70
  257. package/dist/bundled/util/open-in-editor.js +0 -6
  258. package/dist/bundled/util/preview-settings.js +0 -21
  259. package/dist/bundled/util/responsive.js +0 -6
  260. package/dist/bundled/util/sandbox.js +0 -11
  261. package/dist/bundled/util/scroll.js +0 -31
  262. package/dist/bundled/util/select.js +0 -28
  263. package/dist/bundled/util/state.js +0 -41
  264. package/dist/bundled/util/tooltip.js +0 -15
  265. package/dist/bundled/util/variant.js +0 -21
  266. package/dist/style.css +0 -2626
  267. package/src/app/assets/histoire-text-dark.svg +0 -89
  268. package/src/app/assets/histoire-text.svg +0 -89
  269. package/src/app/assets/histoire.svg +0 -51
package/src/app/plugin.ts CHANGED
@@ -5,7 +5,7 @@ export function setupPluginApi() {
5
5
 
6
6
  const listeners: Record<string, Set<(result: any) => unknown>> = {}
7
7
 
8
- import.meta.hot.on('histoire:dev-event-result', ({ event, result }) => {
8
+ import.meta.hot.on('poveste:dev-event-result', ({ event, result }) => {
9
9
  const set = listeners[event]
10
10
  if (set) {
11
11
  for (const listener of set) {
@@ -36,7 +36,7 @@ export function setupPluginApi() {
36
36
  window.__HST_PLUGIN_API__ = {
37
37
  sendEvent: (event: string, payload?: any) => {
38
38
  return new Promise((resolve) => {
39
- import.meta.hot.send(`histoire:dev-event`, {
39
+ import.meta.hot.send(`poveste:dev-event`, {
40
40
  event,
41
41
  payload,
42
42
  })
package/src/app/router.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  import { createRouter, createWebHashHistory, createWebHistory } from 'vue-router'
2
- import { histoireConfig } from './util/config'
2
+ import { povesteConfig } from './util/config'
3
3
 
4
4
  export const base = import.meta.env.BASE_URL as string
5
5
 
6
6
  function createRouterHistory() {
7
- switch (histoireConfig.routerMode) {
7
+ switch (povesteConfig.routerMode) {
8
8
  case 'hash': return createWebHashHistory(base)
9
9
  case 'history':
10
10
  default:
@@ -1,13 +1,13 @@
1
1
  import type { StoryFile } from './types'
2
2
  import { applyState } from '@poveste/shared'
3
3
  import { createPinia } from 'pinia'
4
- import { files } from 'virtual:$histoire-stories'
4
+ import { files } from 'virtual:$poveste-stories'
5
5
  import { computed, createApp, h, onMounted, ref, watch } from 'vue'
6
6
  import { parseQuery } from 'vue-router'
7
7
  import GenericMountStory from './components/story/GenericMountStory.vue'
8
8
  import GenericRenderStory from './components/story/GenericRenderStory.vue'
9
9
  import { setupPluginApi } from './plugin.js'
10
- import { histoireConfig } from './util/config.js'
10
+ import { povesteConfig } from './util/config.js'
11
11
  import { PREVIEW_SETTINGS_SYNC, SANDBOX_READY, STATE_SYNC } from './util/const.js'
12
12
  import { isDark } from './util/dark.js'
13
13
  import { mapFile } from './util/mapping'
@@ -85,12 +85,12 @@ app.mount('#app')
85
85
 
86
86
  watch(isDark, (value) => {
87
87
  if (value) {
88
- document.documentElement.classList.add(histoireConfig.sandboxDarkClass) // @TODO remove
89
- document.documentElement.classList.add(histoireConfig.theme.darkClass)
88
+ document.documentElement.classList.add(povesteConfig.sandboxDarkClass) // @TODO remove
89
+ document.documentElement.classList.add(povesteConfig.theme.darkClass)
90
90
  }
91
91
  else {
92
- document.documentElement.classList.remove(histoireConfig.sandboxDarkClass) // @TODO remove
93
- document.documentElement.classList.remove(histoireConfig.theme.darkClass)
92
+ document.documentElement.classList.remove(povesteConfig.sandboxDarkClass) // @TODO remove
93
+ document.documentElement.classList.remove(povesteConfig.theme.darkClass)
94
94
  }
95
95
  }, {
96
96
  immediate: true,
@@ -5,7 +5,7 @@ import { useStoryStore } from './story'
5
5
 
6
6
  export const useFolderStore = defineStore('folder', () => {
7
7
  const openedFolders = useStorage<Map<string, boolean>>(
8
- '_histoire-tree-state',
8
+ '_poveste-tree-state',
9
9
  new Map(),
10
10
  )
11
11
 
@@ -3,7 +3,7 @@ import { useStorage } from '@vueuse/core'
3
3
  import { defineStore } from 'pinia'
4
4
 
5
5
  export const usePreviewSettingsStore = defineStore('preview-settings', () => {
6
- const currentSettings = useStorage<PreviewSettings>('_histoire-sandbox-settings-v3', {
6
+ const currentSettings = useStorage<PreviewSettings>('_poveste-sandbox-settings-v3', {
7
7
  responsiveWidth: 720,
8
8
  responsiveHeight: null,
9
9
  rotate: false,
@@ -64,12 +64,12 @@ button {
64
64
  }
65
65
  }
66
66
 
67
- .__histoire-render-story:not(.__histoire-render-custom-controls) {
67
+ .__poveste-render-story:not(.__poveste-render-custom-controls) {
68
68
  overflow: auto;
69
69
  min-height: 100%;
70
70
  }
71
71
 
72
- .__histoire-code .shiki {
72
+ .__poveste-code .shiki {
73
73
  background: transparent !important;
74
74
  }
75
75
 
@@ -87,7 +87,7 @@ button {
87
87
  }
88
88
  }
89
89
 
90
- .__histoire-pane-shadow-from-right {
90
+ .__poveste-pane-shadow-from-right {
91
91
  background-image: linear-gradient(to left, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0));
92
92
  background-size: 24px;
93
93
  background-repeat: no-repeat;
@@ -18,7 +18,7 @@ html {
18
18
  display: none;
19
19
  }
20
20
 
21
- .__histoire-render-story:not(.__histoire-render-custom-controls) {
21
+ .__poveste-render-story:not(.__poveste-render-custom-controls) {
22
22
  overflow: auto;
23
23
  min-height: 100%;
24
24
  }
@@ -1,4 +1,4 @@
1
- .__histoire-scale-x {
1
+ .__poveste-scale-x {
2
2
  &-enter-active,
3
3
  &-leave-active {
4
4
  transition: transform .15s, opacity .15s;
@@ -11,7 +11,7 @@
11
11
  }
12
12
  }
13
13
 
14
- .__histoire-scale-y {
14
+ .__poveste-scale-y {
15
15
  &-enter-active,
16
16
  &-leave-active {
17
17
  transition: transform .15s, opacity .15s;
@@ -24,7 +24,7 @@
24
24
  }
25
25
  }
26
26
 
27
- .__histoire-fade {
27
+ .__poveste-fade {
28
28
  &-enter-active,
29
29
  &-leave-active {
30
30
  transition: opacity .15s;
@@ -36,7 +36,7 @@
36
36
  }
37
37
  }
38
38
 
39
- .__histoire-fade-bottom {
39
+ .__poveste-fade-bottom {
40
40
  &-enter-active,
41
41
  &-leave-active {
42
42
  transition: transform .15s, opacity .15s;
package/src/app/types.ts CHANGED
@@ -56,12 +56,12 @@ export interface PreviewSettings {
56
56
 
57
57
  declare module 'vue' {
58
58
  interface ComponentCustomProperties {
59
- __HISTOIRE_DEV__: boolean
59
+ __POVESTE_DEV__: boolean
60
60
  }
61
61
  }
62
62
 
63
63
  declare global {
64
- const __HISTOIRE_DEV__: boolean
64
+ const __POVESTE_DEV__: boolean
65
65
 
66
66
  interface Window {
67
67
  __HST_PLUGIN_API__: {
@@ -27,7 +27,7 @@ export const builtinCommands: ClientCommand[] = [
27
27
  },
28
28
  },
29
29
  {
30
- id: 'builtin:histoire-docs',
30
+ id: 'builtin:poveste-docs',
31
31
  label: 'Open Poveste Documentation',
32
32
  icon: 'carbon:help',
33
33
  clientAction: () => {
@@ -38,7 +38,7 @@ export const builtinCommands: ClientCommand[] = [
38
38
 
39
39
  export function executeCommand(command: ClientCommand, params: Record<string, any>) {
40
40
  if (import.meta.hot) {
41
- import.meta.hot.send('histoire:dev-command', {
41
+ import.meta.hot.send('poveste:dev-command', {
42
42
  id: command.id,
43
43
  params,
44
44
  })
@@ -1,5 +1,5 @@
1
1
  import type { PovesteConfig } from '@poveste/shared'
2
- import { config as configRaw, logos as logosRaw } from 'virtual:$histoire-config'
2
+ import { config as configRaw, logos as logosRaw } from 'virtual:$poveste-config'
3
3
 
4
- export const histoireConfig: PovesteConfig = configRaw
4
+ export const povesteConfig: PovesteConfig = configRaw
5
5
  export const customLogos: PovesteConfig['theme']['logo'] = logosRaw
@@ -1,4 +1,4 @@
1
- export const STATE_SYNC = '__histoire:state-sync'
2
- export const SANDBOX_READY = '__histoire:sandbox-ready'
3
- export const EVENT_SEND = '__histoire:event'
4
- export const PREVIEW_SETTINGS_SYNC = '__histoire:preview-settings-sync'
1
+ export const STATE_SYNC = '__poveste:state-sync'
2
+ export const SANDBOX_READY = '__poveste:sandbox-ready'
3
+ export const EVENT_SEND = '__poveste:event'
4
+ export const PREVIEW_SETTINGS_SYNC = '__poveste:preview-settings-sync'
@@ -1,12 +1,12 @@
1
1
  import { useDark, useToggle } from '@vueuse/core'
2
2
  import { watch } from 'vue'
3
- import { histoireConfig } from './config.js'
3
+ import { povesteConfig } from './config.js'
4
4
 
5
5
  export const isDark = useDark({
6
6
  valueDark: 'htw-dark',
7
- initialValue: histoireConfig.theme.defaultColorScheme,
8
- storageKey: 'histoire-color-scheme',
9
- storage: histoireConfig.theme.storeColorScheme ? localStorage : sessionStorage,
7
+ initialValue: povesteConfig.theme.defaultColorScheme,
8
+ storageKey: 'poveste-color-scheme',
9
+ storage: povesteConfig.theme.storeColorScheme ? localStorage : sessionStorage,
10
10
  })
11
11
  export const toggleDark = useToggle(isDark)
12
12
 
@@ -1,6 +1,6 @@
1
1
  import type { Story, Variant } from '../types'
2
2
  import { unindent } from '@poveste/shared'
3
- import { clientSupportPlugins } from 'virtual:$histoire-support-plugins-client'
3
+ import { clientSupportPlugins } from 'virtual:$poveste-support-plugins-client'
4
4
 
5
5
  export async function getSourceCode(story: Story, variant: Variant) {
6
6
  if (variant.source) {
@@ -1,7 +1,7 @@
1
1
  import { EVENT_SEND } from './const'
2
2
 
3
3
  export async function logEvent(name: string, argument) {
4
- console.log('[histoire] Event fired', { name, argument })
4
+ console.log('[poveste] Event fired', { name, argument })
5
5
  const event = {
6
6
  name,
7
7
  argument: JSON.parse(stringifyEvent(argument)), // Needed for HTMLEvent that can't be cloned
@@ -1,6 +1,6 @@
1
1
  import type { PreviewSettings } from '../types'
2
2
  import { reactive } from 'vue'
3
- import { histoireConfig } from './config'
3
+ import { povesteConfig } from './config'
4
4
 
5
5
  export const receivedSettings = reactive<PreviewSettings>({} as PreviewSettings)
6
6
 
@@ -12,12 +12,14 @@ export function applyPreviewSettings(settings: PreviewSettings) {
12
12
 
13
13
  // Contrast color
14
14
  const contrastColor = getContrastColor(settings)
15
+ document.documentElement.style.setProperty('--poveste-contrast-color', contrastColor)
16
+ // Deprecated alias — keep so stories that reference `var(--histoire-contrast-color)` still work.
15
17
  document.documentElement.style.setProperty('--histoire-contrast-color', contrastColor)
16
- if (histoireConfig.autoApplyContrastColor) {
18
+ if (povesteConfig.autoApplyContrastColor) {
17
19
  document.documentElement.style.color = contrastColor
18
20
  }
19
21
  }
20
22
 
21
23
  export function getContrastColor(setting: PreviewSettings) {
22
- return histoireConfig.backgroundPresets.find(preset => preset.color === setting.backgroundColor)?.contrastColor ?? 'unset'
24
+ return povesteConfig.backgroundPresets.find(preset => preset.color === setting.backgroundColor)?.contrastColor ?? 'unset'
23
25
  }
package/src/virtual.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare module 'virtual:$histoire-commands' {
1
+ declare module 'virtual:$poveste-commands' {
2
2
  import type { ClientCommand } from '@poveste/shared'
3
3
 
4
4
  export const registeredCommands: ClientCommand[]
@@ -18,7 +18,7 @@ const grayKeys = [...colorKeys, 750, 850, 950]
18
18
  const themedColors = ['primary', 'gray'].reduce((acc, color) => {
19
19
  const keys = (color === 'gray' ? grayKeys : colorKeys)
20
20
  for (const key of keys) {
21
- acc[`${color}-${key}`] = withOpacityValue(`--_histoire-color-${color}-${key}`)
21
+ acc[`${color}-${key}`] = withOpacityValue(`--_poveste-color-${color}-${key}`)
22
22
  }
23
23
  return acc
24
24
  }, {})
@@ -59,7 +59,7 @@ module.exports = {
59
59
  content: [
60
60
  path.resolve(__dirname, './src/**/*.{vue,js,ts,jsx,tsx,md}'),
61
61
  // Include controls CSS directly
62
- path.resolve(__dirname, '../histoire-controls/src/**/*.{vue,js,ts,jsx,tsx,md}'),
62
+ path.resolve(__dirname, '../poveste-controls/src/**/*.{vue,js,ts,jsx,tsx,md}'),
63
63
  ],
64
64
  corePlugins: {
65
65
  preflight: false,
package/vite.config.ts CHANGED
@@ -7,7 +7,7 @@ export default defineConfig({
7
7
  plugins: [
8
8
  vue(),
9
9
  {
10
- name: 'histoire:preserve:import.meta',
10
+ name: 'poveste:preserve:import.meta',
11
11
  enforce: 'pre',
12
12
  transform(code) {
13
13
  if (code.includes('import.meta')) {
@@ -54,7 +54,7 @@ export default defineConfig({
54
54
  },
55
55
  rollupOptions: {
56
56
  external: [
57
- /\$histoire/,
57
+ /\$poveste/,
58
58
  /@poveste/,
59
59
  // eslint-disable-next-line ts/no-require-imports
60
60
  ...Object.keys(require('./package.json').dependencies),
@@ -1,89 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
- <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
-
4
- <svg
5
- width="1536"
6
- height="512"
7
- viewBox="0 0 1536 512"
8
- version="1.1"
9
- id="svg5"
10
- xmlns="http://www.w3.org/2000/svg"
11
- xmlns:svg="http://www.w3.org/2000/svg">
12
- <defs
13
- id="defs2" />
14
- <g
15
- id="layer1">
16
- <rect
17
- style="opacity:0.5;fill:#34d399;fill-opacity:1;stroke-width:1.00375"
18
- id="rect1372"
19
- width="314.30923"
20
- height="406.60901"
21
- x="-26.565063"
22
- y="134.75079"
23
- transform="rotate(-23.821262)"
24
- ry="8" />
25
- <rect
26
- style="fill:#34d399;fill-opacity:1;stroke-width:1.00375"
27
- id="rect850"
28
- width="314.30923"
29
- height="406.60901"
30
- x="77.571838"
31
- y="72.808708"
32
- ry="8"
33
- transform="rotate(-4.5744534)" />
34
- </g>
35
- <g
36
- id="layer3">
37
- <path
38
- id="path1657-3"
39
- style="display:inline;fill:#adedd6;fill-opacity:1;stroke:#adedd6;stroke-width:8.34923;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
40
- d="M 359.38947,355.95134 320.72935,176.52942 238.34613,238.94118 Z M 273.64124,273.06608 152.59788,156.05591 191.25804,335.47786 Z" />
41
- <g
42
- aria-label="Histoire"
43
- id="text1821-4"
44
- style="font-size:231.926px;line-height:1.25;font-family:Sen;-inkscape-font-specification:Sen;fill:#adedd6;fill-opacity:1;stroke-width:5.79813"
45
- transform="matrix(1.1500556,0,0,1.1500556,-105.40156,-38.414233)">
46
- <path
47
- d="M 693.87591,344.24783 V 181.89964 h 25.04801 v 162.34819 z m -105.99018,0 V 181.89964 h 25.04801 v 162.34819 z m 10.90052,-68.88202 v -24.1203 h 106.22211 v 24.1203 z"
48
- style="font-family:'Lexend Deca';-inkscape-font-specification:'Lexend Deca';fill:#adedd6;fill-opacity:1"
49
- id="path16857" />
50
- <path
51
- d="M 762.294,344.24783 V 222.48669 h 23.88838 v 121.76114 z m 11.5963,-148.66456 q -7.65356,0 -11.82822,-3.94274 -4.17467,-3.94274 -4.17467,-11.13245 0,-6.72585 4.17467,-10.90052 4.40659,-4.17467 11.82822,-4.17467 7.65356,0 11.82823,3.94274 4.17466,3.94275 4.17466,11.13245 0,6.72585 -4.40659,10.90052 -4.17467,4.17467 -11.5963,4.17467 z"
52
- style="font-family:'Lexend Deca';-inkscape-font-specification:'Lexend Deca';fill:#adedd6;fill-opacity:1"
53
- id="path16859" />
54
- <path
55
- d="m 863.41371,346.56709 q -15.30711,0 -27.59919,-5.33429 -12.29208,-5.3343 -20.40949,-15.77097 l 16.23482,-13.91556 q 6.95778,8.11741 15.07519,11.82822 8.34934,3.47889 18.78601,3.47889 4.17466,0 7.65355,-0.9277 3.71082,-1.15963 6.26201,-3.24696 2.78311,-2.08734 4.17466,-4.87045 1.39156,-3.01504 1.39156,-6.49393 0,-6.03007 -4.40659,-9.74089 -2.31926,-1.62348 -7.42164,-3.47889 -4.87044,-2.08733 -12.75593,-4.17467 -13.4517,-3.47889 -22.03297,-7.88548 -8.58126,-4.4066 -13.21978,-9.97282 -3.47889,-4.40659 -5.10237,-9.50897 -1.62348,-5.33429 -1.62348,-11.59629 0,-7.65356 3.24696,-13.91556 3.47889,-6.49393 9.27704,-11.13245 6.03008,-4.87045 13.91556,-7.42163 8.11741,-2.55119 17.16253,-2.55119 8.58126,0 16.93059,2.31926 8.58126,2.31926 15.77097,6.72585 7.18971,4.4066 12.06015,10.43667 l -13.68363,15.07519 q -4.4066,-4.40659 -9.74089,-7.65355 -5.10237,-3.47889 -10.43667,-5.3343 -5.3343,-1.85541 -9.74089,-1.85541 -4.87045,0 -8.81319,0.9277 -3.94274,0.92771 -6.72586,2.78312 -2.55118,1.8554 -3.94274,4.63852 -1.39155,2.78311 -1.39155,6.262 0.23192,3.01504 1.39155,5.79815 1.39156,2.55118 3.71082,4.40659 2.55118,1.85541 7.65356,3.94274 5.10237,2.08734 12.98785,3.94274 11.5963,3.01504 19.01793,6.72586 7.65356,3.47889 12.06015,8.11741 4.63852,4.40659 6.49393,10.20474 1.85541,5.79815 1.85541,12.98786 0,10.43667 -6.03008,18.786 -5.79815,8.11741 -15.77096,12.75593 -9.97282,4.63852 -22.2649,4.63852 z"
56
- style="font-family:'Lexend Deca';-inkscape-font-specification:'Lexend Deca';fill:#adedd6;fill-opacity:1"
57
- id="path16861" />
58
- <path
59
- d="M 948.99398,344.24783 V 191.4086 h 23.88838 v 152.83923 z m -25.27993,-98.56854 v -23.1926 h 77.46325 v 23.1926 z"
60
- style="font-family:'Lexend Deca';-inkscape-font-specification:'Lexend Deca';fill:#adedd6;fill-opacity:1"
61
- id="path16863" />
62
- <path
63
- d="m 1076.5528,346.56709 q -17.8583,0 -32.0058,-8.11741 -13.9156,-8.34933 -22.033,-22.49682 -8.1174,-14.37941 -8.1174,-32.70156 0,-18.32216 8.1174,-32.46964 8.1174,-14.37941 22.033,-22.49682 14.1475,-8.34934 32.0058,-8.34934 17.6263,0 31.5419,8.34934 14.1475,8.11741 22.2649,22.49682 8.1174,14.14748 8.1174,32.46964 0,18.32215 -8.1174,32.70156 -8.1174,14.14749 -22.2649,22.49682 -13.9156,8.11741 -31.5419,8.11741 z m 0,-21.80104 q 10.9005,0 19.4818,-5.3343 8.5812,-5.56622 13.4517,-14.84326 4.8704,-9.50897 4.6385,-21.33719 0.2319,-12.06016 -4.6385,-21.33719 -4.8705,-9.50897 -13.4517,-14.84327 -8.5813,-5.3343 -19.4818,-5.3343 -10.9005,0 -19.7137,5.56623 -8.5813,5.3343 -13.4517,14.84326 -4.8705,9.27704 -4.6386,21.10527 -0.2319,11.82822 4.6386,21.33719 4.8704,9.27704 13.4517,14.84326 8.8132,5.3343 19.7137,5.3343 z"
64
- style="font-family:'Lexend Deca';-inkscape-font-specification:'Lexend Deca';fill:#adedd6;fill-opacity:1"
65
- id="path16865" />
66
- <path
67
- d="M 1168.3954,344.24783 V 222.48669 h 23.8884 v 121.76114 z m 11.5963,-148.66456 q -7.6536,0 -11.8282,-3.94274 -4.1747,-3.94274 -4.1747,-11.13245 0,-6.72585 4.1747,-10.90052 4.4065,-4.17467 11.8282,-4.17467 7.6535,0 11.8282,3.94274 4.1747,3.94275 4.1747,11.13245 0,6.72585 -4.4066,10.90052 -4.1747,4.17467 -11.5963,4.17467 z"
68
- style="font-family:'Lexend Deca';-inkscape-font-specification:'Lexend Deca';fill:#adedd6;fill-opacity:1"
69
- id="path16867" />
70
- <path
71
- d="M 1228.928,344.24783 V 222.48669 h 24.1203 v 38.26779 l -2.3192,-9.27704 q 2.5512,-8.81319 8.5812,-16.0029 6.262,-7.1897 14.1475,-11.36437 8.1174,-4.17467 16.6987,-4.17467 3.9427,0 7.4216,0.69578 3.7109,0.69578 5.7982,1.62348 l -6.262,25.97571 q -2.7831,-1.15963 -6.262,-1.85541 -3.247,-0.9277 -6.4939,-0.9277 -6.262,0 -12.0602,2.55119 -5.5662,2.31926 -9.9728,6.72585 -4.1747,4.17467 -6.7259,9.97282 -2.5512,5.56622 -2.5512,12.29207 v 67.25854 z"
72
- style="font-family:'Lexend Deca';-inkscape-font-specification:'Lexend Deca';fill:#adedd6;fill-opacity:1"
73
- id="path16869" />
74
- <path
75
- d="m 1374.1134,346.56709 q -18.786,0 -33.3973,-7.88548 -14.3794,-8.11741 -22.7288,-22.03297 -8.1174,-13.91556 -8.1174,-32.00579 0,-14.37941 4.6386,-26.20763 4.6385,-11.82823 12.7559,-20.40949 8.3493,-8.81319 19.7137,-13.45171 11.5963,-4.87045 25.048,-4.87045 11.8282,0 22.033,4.63852 10.2047,4.4066 17.6263,12.29208 7.6536,7.88549 11.5963,18.78601 4.1747,10.66859 3.9428,23.42452 l -0.2319,10.20475 h -99.4963 l -5.3343,-19.01794 h 84.1891 l -3.4788,3.94275 v -5.56623 q -0.6958,-7.65355 -5.1024,-13.68363 -4.4066,-6.03008 -11.1325,-9.50897 -6.7258,-3.47889 -14.6113,-3.47889 -12.524,0 -21.1053,4.87045 -8.5812,4.63852 -12.9878,13.91556 -4.4066,9.04511 -4.4066,22.49682 0,12.75593 5.3343,22.2649 5.3343,9.27704 15.0752,14.37941 9.7409,5.10237 22.4968,5.10237 9.0451,0 16.6987,-3.01504 7.8855,-3.01504 16.9306,-10.90052 l 12.0601,16.9306 q -5.5662,5.56622 -13.6836,9.74089 -7.8855,4.17467 -16.9306,6.72585 -8.8132,2.31926 -17.3945,2.31926 z"
76
- style="font-family:'Lexend Deca';-inkscape-font-specification:'Lexend Deca';fill:#adedd6;fill-opacity:1"
77
- id="path16871" />
78
- </g>
79
- </g>
80
- <g
81
- id="layer2"
82
- style="display:none">
83
- <path
84
- id="path1657"
85
- style="fill:#b4fae2;fill-opacity:1;stroke:#b4fae2;stroke-width:8;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
86
- d="m 296,103.98242 -135.53125,177.9668 h 88.70117 z M 262.83008,230.05078 216,408.01758 351.53125,230.05078 Z"
87
- transform="rotate(-4.156553,256,256.00691)" />
88
- </g>
89
- </svg>
@@ -1,89 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
- <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
-
4
- <svg
5
- width="1536"
6
- height="512"
7
- viewBox="0 0 1536 512"
8
- version="1.1"
9
- id="svg5"
10
- xmlns="http://www.w3.org/2000/svg"
11
- xmlns:svg="http://www.w3.org/2000/svg">
12
- <defs
13
- id="defs2" />
14
- <g
15
- id="layer1">
16
- <rect
17
- style="opacity:0.5;fill:#34d399;fill-opacity:1;stroke-width:1.00375"
18
- id="rect1372"
19
- width="314.30923"
20
- height="406.60901"
21
- x="-26.565063"
22
- y="134.75079"
23
- transform="rotate(-23.821262)"
24
- ry="8" />
25
- <rect
26
- style="fill:#34d399;fill-opacity:1;stroke-width:1.00375"
27
- id="rect850"
28
- width="314.30923"
29
- height="406.60901"
30
- x="77.571838"
31
- y="72.808708"
32
- ry="8"
33
- transform="rotate(-4.5744534)" />
34
- </g>
35
- <g
36
- id="layer3">
37
- <path
38
- id="path1657-3"
39
- style="display:inline;fill:#adedd6;fill-opacity:1;stroke:#adedd6;stroke-width:8.34923;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
40
- d="M 359.38947,355.95134 320.72935,176.52942 238.34613,238.94118 Z M 273.64124,273.06608 152.59788,156.05591 191.25804,335.47786 Z" />
41
- <g
42
- aria-label="Histoire"
43
- id="text1821"
44
- style="font-size:231.926px;line-height:1.25;font-family:Sen;-inkscape-font-specification:Sen;fill:#2bc78e;stroke-width:5.79813;fill-opacity:1"
45
- transform="matrix(1.1500556,0,0,1.1500556,-105.40156,-38.414233)">
46
- <path
47
- d="M 693.87591,344.24783 V 181.89964 h 25.04801 v 162.34819 z m -105.99018,0 V 181.89964 h 25.04801 v 162.34819 z m 10.90052,-68.88202 v -24.1203 h 106.22211 v 24.1203 z"
48
- style="font-family:'Lexend Deca';-inkscape-font-specification:'Lexend Deca';fill:#2bc78e;fill-opacity:1"
49
- id="path16857" />
50
- <path
51
- d="M 762.294,344.24783 V 222.48669 h 23.88838 v 121.76114 z m 11.5963,-148.66456 q -7.65356,0 -11.82822,-3.94274 -4.17467,-3.94274 -4.17467,-11.13245 0,-6.72585 4.17467,-10.90052 4.40659,-4.17467 11.82822,-4.17467 7.65356,0 11.82823,3.94274 4.17466,3.94275 4.17466,11.13245 0,6.72585 -4.40659,10.90052 -4.17467,4.17467 -11.5963,4.17467 z"
52
- style="font-family:'Lexend Deca';-inkscape-font-specification:'Lexend Deca';fill:#2bc78e;fill-opacity:1"
53
- id="path16859" />
54
- <path
55
- d="m 863.41371,346.56709 q -15.30711,0 -27.59919,-5.33429 -12.29208,-5.3343 -20.40949,-15.77097 l 16.23482,-13.91556 q 6.95778,8.11741 15.07519,11.82822 8.34934,3.47889 18.78601,3.47889 4.17466,0 7.65355,-0.9277 3.71082,-1.15963 6.26201,-3.24696 2.78311,-2.08734 4.17466,-4.87045 1.39156,-3.01504 1.39156,-6.49393 0,-6.03007 -4.40659,-9.74089 -2.31926,-1.62348 -7.42164,-3.47889 -4.87044,-2.08733 -12.75593,-4.17467 -13.4517,-3.47889 -22.03297,-7.88548 -8.58126,-4.4066 -13.21978,-9.97282 -3.47889,-4.40659 -5.10237,-9.50897 -1.62348,-5.33429 -1.62348,-11.59629 0,-7.65356 3.24696,-13.91556 3.47889,-6.49393 9.27704,-11.13245 6.03008,-4.87045 13.91556,-7.42163 8.11741,-2.55119 17.16253,-2.55119 8.58126,0 16.93059,2.31926 8.58126,2.31926 15.77097,6.72585 7.18971,4.4066 12.06015,10.43667 l -13.68363,15.07519 q -4.4066,-4.40659 -9.74089,-7.65355 -5.10237,-3.47889 -10.43667,-5.3343 -5.3343,-1.85541 -9.74089,-1.85541 -4.87045,0 -8.81319,0.9277 -3.94274,0.92771 -6.72586,2.78312 -2.55118,1.8554 -3.94274,4.63852 -1.39155,2.78311 -1.39155,6.262 0.23192,3.01504 1.39155,5.79815 1.39156,2.55118 3.71082,4.40659 2.55118,1.85541 7.65356,3.94274 5.10237,2.08734 12.98785,3.94274 11.5963,3.01504 19.01793,6.72586 7.65356,3.47889 12.06015,8.11741 4.63852,4.40659 6.49393,10.20474 1.85541,5.79815 1.85541,12.98786 0,10.43667 -6.03008,18.786 -5.79815,8.11741 -15.77096,12.75593 -9.97282,4.63852 -22.2649,4.63852 z"
56
- style="font-family:'Lexend Deca';-inkscape-font-specification:'Lexend Deca';fill:#2bc78e;fill-opacity:1"
57
- id="path16861" />
58
- <path
59
- d="M 948.99398,344.24783 V 191.4086 h 23.88838 v 152.83923 z m -25.27993,-98.56854 v -23.1926 h 77.46325 v 23.1926 z"
60
- style="font-family:'Lexend Deca';-inkscape-font-specification:'Lexend Deca';fill:#2bc78e;fill-opacity:1"
61
- id="path16863" />
62
- <path
63
- d="m 1076.5528,346.56709 q -17.8583,0 -32.0058,-8.11741 -13.9156,-8.34933 -22.033,-22.49682 -8.1174,-14.37941 -8.1174,-32.70156 0,-18.32216 8.1174,-32.46964 8.1174,-14.37941 22.033,-22.49682 14.1475,-8.34934 32.0058,-8.34934 17.6263,0 31.5419,8.34934 14.1475,8.11741 22.2649,22.49682 8.1174,14.14748 8.1174,32.46964 0,18.32215 -8.1174,32.70156 -8.1174,14.14749 -22.2649,22.49682 -13.9156,8.11741 -31.5419,8.11741 z m 0,-21.80104 q 10.9005,0 19.4818,-5.3343 8.5812,-5.56622 13.4517,-14.84326 4.8704,-9.50897 4.6385,-21.33719 0.2319,-12.06016 -4.6385,-21.33719 -4.8705,-9.50897 -13.4517,-14.84327 -8.5813,-5.3343 -19.4818,-5.3343 -10.9005,0 -19.7137,5.56623 -8.5813,5.3343 -13.4517,14.84326 -4.8705,9.27704 -4.6386,21.10527 -0.2319,11.82822 4.6386,21.33719 4.8704,9.27704 13.4517,14.84326 8.8132,5.3343 19.7137,5.3343 z"
64
- style="font-family:'Lexend Deca';-inkscape-font-specification:'Lexend Deca';fill:#2bc78e;fill-opacity:1"
65
- id="path16865" />
66
- <path
67
- d="M 1168.3954,344.24783 V 222.48669 h 23.8884 v 121.76114 z m 11.5963,-148.66456 q -7.6536,0 -11.8282,-3.94274 -4.1747,-3.94274 -4.1747,-11.13245 0,-6.72585 4.1747,-10.90052 4.4065,-4.17467 11.8282,-4.17467 7.6535,0 11.8282,3.94274 4.1747,3.94275 4.1747,11.13245 0,6.72585 -4.4066,10.90052 -4.1747,4.17467 -11.5963,4.17467 z"
68
- style="font-family:'Lexend Deca';-inkscape-font-specification:'Lexend Deca';fill:#2bc78e;fill-opacity:1"
69
- id="path16867" />
70
- <path
71
- d="M 1228.928,344.24783 V 222.48669 h 24.1203 v 38.26779 l -2.3192,-9.27704 q 2.5512,-8.81319 8.5812,-16.0029 6.262,-7.1897 14.1475,-11.36437 8.1174,-4.17467 16.6987,-4.17467 3.9427,0 7.4216,0.69578 3.7109,0.69578 5.7982,1.62348 l -6.262,25.97571 q -2.7831,-1.15963 -6.262,-1.85541 -3.247,-0.9277 -6.4939,-0.9277 -6.262,0 -12.0602,2.55119 -5.5662,2.31926 -9.9728,6.72585 -4.1747,4.17467 -6.7259,9.97282 -2.5512,5.56622 -2.5512,12.29207 v 67.25854 z"
72
- style="font-family:'Lexend Deca';-inkscape-font-specification:'Lexend Deca';fill:#2bc78e;fill-opacity:1"
73
- id="path16869" />
74
- <path
75
- d="m 1374.1134,346.56709 q -18.786,0 -33.3973,-7.88548 -14.3794,-8.11741 -22.7288,-22.03297 -8.1174,-13.91556 -8.1174,-32.00579 0,-14.37941 4.6386,-26.20763 4.6385,-11.82823 12.7559,-20.40949 8.3493,-8.81319 19.7137,-13.45171 11.5963,-4.87045 25.048,-4.87045 11.8282,0 22.033,4.63852 10.2047,4.4066 17.6263,12.29208 7.6536,7.88549 11.5963,18.78601 4.1747,10.66859 3.9428,23.42452 l -0.2319,10.20475 h -99.4963 l -5.3343,-19.01794 h 84.1891 l -3.4788,3.94275 v -5.56623 q -0.6958,-7.65355 -5.1024,-13.68363 -4.4066,-6.03008 -11.1325,-9.50897 -6.7258,-3.47889 -14.6113,-3.47889 -12.524,0 -21.1053,4.87045 -8.5812,4.63852 -12.9878,13.91556 -4.4066,9.04511 -4.4066,22.49682 0,12.75593 5.3343,22.2649 5.3343,9.27704 15.0752,14.37941 9.7409,5.10237 22.4968,5.10237 9.0451,0 16.6987,-3.01504 7.8855,-3.01504 16.9306,-10.90052 l 12.0601,16.9306 q -5.5662,5.56622 -13.6836,9.74089 -7.8855,4.17467 -16.9306,6.72585 -8.8132,2.31926 -17.3945,2.31926 z"
76
- style="font-family:'Lexend Deca';-inkscape-font-specification:'Lexend Deca';fill:#2bc78e;fill-opacity:1"
77
- id="path16871" />
78
- </g>
79
- </g>
80
- <g
81
- id="layer2"
82
- style="display:none">
83
- <path
84
- id="path1657"
85
- style="fill:#b4fae2;fill-opacity:1;stroke:#b4fae2;stroke-width:8;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
86
- d="m 296,103.98242 -135.53125,177.9668 h 88.70117 z M 262.83008,230.05078 216,408.01758 351.53125,230.05078 Z"
87
- transform="rotate(-4.156553,256,256.00691)" />
88
- </g>
89
- </svg>
@@ -1,51 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
- <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
-
4
- <svg
5
- width="512"
6
- height="512"
7
- viewBox="0 0 512 512"
8
- version="1.1"
9
- id="svg5"
10
- xmlns="http://www.w3.org/2000/svg"
11
- xmlns:svg="http://www.w3.org/2000/svg">
12
- <defs
13
- id="defs2" />
14
- <g
15
- id="layer1">
16
- <rect
17
- style="opacity:0.5;fill:#34d399;fill-opacity:1;stroke-width:1.00375"
18
- id="rect1372"
19
- width="314.30923"
20
- height="406.60901"
21
- x="-26.565063"
22
- y="134.75079"
23
- transform="rotate(-23.821262)"
24
- ry="8" />
25
- <rect
26
- style="fill:#34d399;fill-opacity:1;stroke-width:1.00375"
27
- id="rect850"
28
- width="314.30923"
29
- height="406.60901"
30
- x="77.571838"
31
- y="72.808708"
32
- ry="8"
33
- transform="rotate(-4.5744534)" />
34
- </g>
35
- <g
36
- id="layer3">
37
- <path
38
- id="path1657-3"
39
- style="display:inline;fill:#b4fae2;fill-opacity:1;stroke:#b4fae2;stroke-width:8.34923;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
40
- d="M 359.38947,355.95134 320.72935,176.52942 238.34613,238.94118 Z M 273.64124,273.06608 152.59788,156.05591 191.25804,335.47786 Z" />
41
- </g>
42
- <g
43
- id="layer2"
44
- style="display:none">
45
- <path
46
- id="path1657"
47
- style="fill:#b4fae2;fill-opacity:1;stroke:#b4fae2;stroke-width:8;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
48
- d="m 296,103.98242 -135.53125,177.9668 h 88.70117 z M 262.83008,230.05078 216,408.01758 351.53125,230.05078 Z"
49
- transform="rotate(-4.156553,256,256.00691)" />
50
- </g>
51
- </svg>
@@ -1,34 +0,0 @@
1
- /* @TODO custom themes */
2
-
3
- .v-popper {
4
- line-height: 0;
5
- }
6
-
7
- .v-popper--theme-dropdown {
8
- .htw-dark & {
9
- .v-popper__inner {
10
- @apply htw-bg-gray-700 htw-border-gray-850 htw-text-gray-100;
11
- }
12
-
13
- .v-popper__arrow-inner {
14
- @apply htw-border-gray-700;
15
- }
16
-
17
- .v-popper__arrow-outer {
18
- @apply htw-border-gray-850;
19
- }
20
- }
21
-
22
- &.v-popper__popper--show-from .v-popper__wrapper {
23
- transform: scale(.75);
24
- }
25
-
26
- &.v-popper__popper--show-to .v-popper__wrapper {
27
- transform: none;
28
- transition: transform .15s cubic-bezier(0, 1, .5, 1);
29
- }
30
- }
31
-
32
- .v-popper__popper:focus-visible {
33
- outline: none;
34
- }