Skip to content

Commit

Permalink
Merge commit 'c7b06664121c25435f92c398a620b2845ddf21fd' into update-swc
Browse files Browse the repository at this point in the history
  • Loading branch information
tjcouch-sil committed Oct 21, 2024
2 parents 3f893ad + c7b0666 commit b1119f9
Show file tree
Hide file tree
Showing 14 changed files with 3,811 additions and 1,573 deletions.
185 changes: 34 additions & 151 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 src/paratext-bible-text-collection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
},
"dependencies": {
"@sillsdev/scripture": "^2.0.2",
"platform-bible-utils": "file:../paranext-core/lib/platform-bible-utils"
"platform-bible-utils": "file:../../../paranext-core/lib/platform-bible-utils"
},
"devDependencies": {
"@biblionexus-foundation/platform-editor": "^0.6.1",
Expand Down
6 changes: 5 additions & 1 deletion src/paratext-bible-word-list/.stylelintrc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
// #region shared with https://github.com/paranext/paranext-core/blob/main/.stylelintrc.js and https://github.com/paranext/paranext-multi-extension-template/blob/main/.stylelintrc.cjs

module.exports = {
extends: ['stylelint-config-recommended', 'stylelint-config-sass-guidelines'],
extends: [
'stylelint-config-recommended',
'stylelint-config-sass-guidelines',
'stylelint-config-tailwindcss/scss',
],
overrides: [
{
files: ['**/*.scss'],
Expand Down
2 changes: 2 additions & 0 deletions src/paratext-bible-word-list/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"css.customData": [".vscode/tailwindcss.json"],

"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.rulers": [100],
Expand Down
56 changes: 56 additions & 0 deletions src/paratext-bible-word-list/.vscode/tailwindcss.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"version": 1.1,
"credit": "https://duncanleung.com/tailwind-css-unknown-at-rule/",
"atDirectives": [
{
"name": "@tailwind",
"description": "Use the `@tailwind` directive to insert Tailwind's `base`, `components`, `utilities` and `screens` styles into your CSS.",
"references": [
{
"name": "Tailwind Documentation",
"url": "https://tailwindcss.com/docs/functions-and-directives#tailwind"
}
]
},
{
"name": "@apply",
"description": "Use the `@apply` directive to inline any existing utility classes into your own custom CSS. This is useful when you find a common utility pattern in your HTML that you’d like to extract to a new component.",
"references": [
{
"name": "Tailwind Documentation",
"url": "https://tailwindcss.com/docs/functions-and-directives#apply"
}
]
},
{
"name": "@responsive",
"description": "You can generate responsive variants of your own classes by wrapping their definitions in the `@responsive` directive:\n```css\n@responsive {\n .alert {\n background-color: #E53E3E;\n }\n}\n```\n",
"references": [
{
"name": "Tailwind Documentation",
"url": "https://tailwindcss.com/docs/functions-and-directives#responsive"
}
]
},
{
"name": "@screen",
"description": "The `@screen` directive allows you to create media queries that reference your breakpoints by **name** instead of duplicating their values in your own CSS:\n```css\n@screen sm {\n /* ... */\n}\n```\n…gets transformed into this:\n```css\n@media (min-width: 640px) {\n /* ... */\n}\n```\n",
"references": [
{
"name": "Tailwind Documentation",
"url": "https://tailwindcss.com/docs/functions-and-directives#screen"
}
]
},
{
"name": "@variants",
"description": "Generate `hover`, `focus`, `active` and other **variants** of your own utilities by wrapping their definitions in the `@variants` directive:\n```css\n@variants hover, focus {\n .btn-brand {\n background-color: #3182CE;\n }\n}\n```\n",
"references": [
{
"name": "Tailwind Documentation",
"url": "https://tailwindcss.com/docs/functions-and-directives#variants"
}
]
}
]
}
Loading

0 comments on commit b1119f9

Please sign in to comment.