Skip to content

Commit

Permalink
Merge pull request #1812 from adevinta/feat-bump-tcv-2
Browse files Browse the repository at this point in the history
feat: bump TCV to 2.0.0
  • Loading branch information
acd02 authored Jan 15, 2024
2 parents 0fa6b03 + 7480654 commit 09e7c4b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
9 changes: 5 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"selenium-webdriver": "^4.10.0"
},
"devDependencies": {
"@adevinta/tailwind-config-viewer": "1.11.0",
"@adevinta/tailwind-config-viewer": "2.0.0",
"@babel/core": "7.23.0",
"@commitlint/cli": "17.8.1",
"@commitlint/config-conventional": "17.8.1",
Expand Down
4 changes: 1 addition & 3 deletions tailwind.config.viewer.cjs
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
const sparkPlugins = require('@spark-ui/tailwind-plugins')
const themeUtils = require('@spark-ui/theme-utils')

const { toTailwindConfigViewer } = sparkPlugins.tailwindConfigViewerUtils

module.exports = {
theme: {
configViewer: {
baseFontSize: 16,
themeReplacements: toTailwindConfigViewer(themeUtils.defaultTheme),
misc: sparkPlugins.tailwindConfigViewerMisc,
},
},
plugins: [
...sparkPlugins.sparkConfig({
themes: {
default: themeUtils.defaultTheme,
dark: themeUtils.defaultThemeDark
},
}),
],
Expand Down

0 comments on commit 09e7c4b

Please sign in to comment.