Skip to content

Commit

Permalink
refactor: use design system windicss config (#21503)
Browse files Browse the repository at this point in the history
* chore: use design system windi config

* fix: windi config should have colors in the right place

* fix: remove direct dependencies to old windi

* upgrade css plugin for types

* update windi plugin

* refactor: update without the safelist

Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
  • Loading branch information
elevatebart and ZachJW34 committed Jun 22, 2022
1 parent 2603f01 commit a8f5e59
Show file tree
Hide file tree
Showing 13 changed files with 117 additions and 493 deletions.
2 changes: 0 additions & 2 deletions packages/app/package.json
Expand Up @@ -34,7 +34,6 @@
"@vitejs/plugin-vue": "2.2.4",
"@vitejs/plugin-vue-jsx": "1.3.8",
"@vueuse/core": "7.2.2",
"@windicss/plugin-interaction-variants": "1.0.0",
"ansi-to-html": "0.6.14",
"bluebird": "3.5.3",
"classnames": "2.3.1",
Expand Down Expand Up @@ -69,7 +68,6 @@
"vue-i18n": "9.2.0-beta.7",
"vue-router": "4",
"vue-tsc": "^0.3.0",
"windicss": "3.1.4",
"wonka": "^4.0.15"
},
"files": [
Expand Down
7 changes: 4 additions & 3 deletions packages/app/windi.config.ts
@@ -1,4 +1,5 @@
import { defaultConfig } from '@packages/frontend-shared/windi.config'
import { defineConfig } from 'windicss/helpers'
/**
* This file is used for vscode plugin autocompletion of windi colors
*/

export default defineConfig(defaultConfig)
export { default } from '@packages/frontend-shared/windi.config'
195 changes: 0 additions & 195 deletions packages/frontend-shared/.windicss/colors.ts

This file was deleted.

141 changes: 0 additions & 141 deletions packages/frontend-shared/.windicss/icon-color-plugins.ts

This file was deleted.

27 changes: 0 additions & 27 deletions packages/frontend-shared/.windicss/safelist.ts

This file was deleted.

5 comments on commit a8f5e59

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on a8f5e59 Jun 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the linux x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/10.2.1/linux-x64/develop-a8f5e59b7dfabebb17c8be5f0f226d3982043f68/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on a8f5e59 Jun 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the darwin arm64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/10.2.1/darwin-arm64/develop-a8f5e59b7dfabebb17c8be5f0f226d3982043f68/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on a8f5e59 Jun 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the linux arm64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/10.2.1/linux-arm64/develop-a8f5e59b7dfabebb17c8be5f0f226d3982043f68/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on a8f5e59 Jun 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the win32 x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/10.2.1/win32-x64/develop-a8f5e59b7dfabebb17c8be5f0f226d3982043f68/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on a8f5e59 Jun 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the darwin x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/10.2.1/darwin-x64/develop-a8f5e59b7dfabebb17c8be5f0f226d3982043f68/cypress.tgz

Please sign in to comment.