-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/develop' into sidv/fixE2Edev
* upstream/develop: (33 commits) Updated lockfile chore(deps-dev): update vite requirement from ^3.0.9 to ^3.1.4 chore(deps-dev): update typescript requirement from ^4.8.3 to ^4.8.4 chore(deps-dev): update @vitest/coverage-c8 requirement chore(deps-dev): update @typescript-eslint/eslint-plugin requirement chore(deps-dev): update esbuild requirement from ^0.15.8 to ^0.15.10 chore(deps-dev): update @commitlint/config-conventional requirement chore(deps-dev): update eslint-plugin-jest requirement chore(deps-dev): update @applitools/eyes-cypress requirement chore(deps-dev): update jsdom requirement from ^20.0.0 to ^20.0.1 chore(deps-dev): update vitest requirement from ^0.23.1 to ^0.23.4 chore(deps-dev): update lint-staged requirement from ^13.0.0 to ^13.0.3 chore(deps): update @types/node requirement from ^18.7.21 to ^18.8.1 chore(deps-dev): update @typescript-eslint/parser requirement Fix postbuild script #3561 Adding cScale0-11 etc and usage of the colors from the mindmap diagram Fix for broken test Mindmap cleanup Using cose-bilkent layout algorithm for mindmaps chore(deps-dev): update husky requirement from ^8.0.0 to ^8.0.1 ...
- Loading branch information
Showing
80 changed files
with
12,358 additions
and
698 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,29 @@ | ||
const getStyles = () => ``; | ||
import { darken, lighten, isDark } from 'khroma'; | ||
|
||
const genSections = (options) => { | ||
let sections = ''; | ||
|
||
for (let i = 0; i < options.THEME_COLOR_LIMIT; i++) { | ||
sections += ` | ||
.section-${i} rect { | ||
fill: ${options['cScale' + i]}; | ||
stroke: ${options['cScalePeer' + i]}; | ||
stroke-width: 4; | ||
} | ||
.section-${i} rect.inverted { | ||
fill: ${options['cScaleInv' + i]}; | ||
} | ||
.section-${i} text { | ||
fill: ${options['cScaleLabel' + i]}; | ||
} | ||
`; | ||
} | ||
return sections; | ||
}; | ||
|
||
const getStyles = (options) => | ||
` | ||
${genSections(options)} | ||
`; | ||
export default getStyles; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.