12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- .rr-diagram {
- margin: rem(1.5) 0;
- overflow: auto;
- .line {
- fill: none;
- stroke: var(--sub);
- }
- .bold-line {
- stroke: var(--important);
- shape-rendering: crispEdges;
- stroke-width: 2;
- }
- .thin-line {
- stroke: var(--important);
- shape-rendering: crispEdges;
- }
- .filled {
- fill: var(--sub);
- stroke: none;
- }
- text.terminal,
- text.nonterminal,
- text.regexp {
- font-family: "Inter", sans-serif;
- font-size: 14px;
- fill: $black;
- }
- text.terminal {
- font-weight: bold;
- }
- rect,
- circle,
- polygon {
- fill: var(--sub);
- stroke: var(--sub);
- }
- rect.terminal {
- fill: #ab96e0;
- stroke: var(--sub);
- }
- rect.nonterminal {
- fill: scale-color($purple-20, $saturation: -50%);
- stroke: var(--sub);
- }
- rect.text {
- fill: none;
- stroke: none;
- }
- polygon.regexp {
- fill: scale-color($purple-10, $saturation: -50%);
- stroke: var(--sub);
- }
- }
|