mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-05-07 03:26:32 +02:00
Integrate tailwind css and create new button library (#2098)
Introduce tailwind as new frontend styling library to replace bulma in the longer run. Also create the first new ui library `ui-buttons` which will be the new standard for buttons ins SCM-Manager. In this library we reconsidered which types of buttons should be used to create a clean and consistent ui. Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
This commit is contained in:
committed by
GitHub
parent
09beb8cd3b
commit
27dbcbf28d
@@ -40,6 +40,7 @@ import type {
|
||||
TokenizeSuccessResponse,
|
||||
} from "../types";
|
||||
import { isRefractorElement } from "../types";
|
||||
import type { RefractorElement } from "refractor";
|
||||
|
||||
// the WorkerGlobalScope is assigned to self
|
||||
// see https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/self
|
||||
@@ -91,7 +92,7 @@ const countChildrenAndApplyMarkers = (node: RefractorNode, markedTexts?: string[
|
||||
}
|
||||
|
||||
if (newChildren.length > 0) {
|
||||
const el = node as RefractorNode;
|
||||
const el = node as unknown as RefractorElement;
|
||||
el.type = "element";
|
||||
el.tagName = "span";
|
||||
el.children = newChildren;
|
||||
|
||||
Reference in New Issue
Block a user