76cbcef4e6
* WIP Developer Settings * Access Tokens * scopes load fix * mapping to correct struct * Updates to Application * Update to apps.js to fix scopes error * Application table done * Token confirmation done. * Application Success * Fix ts * Darkmode fixes * Responsive fix * Fixes for PR * Pass size prop to Editable Avatar * Updates from PR comments * Section Header - TS Types * Add Typeguard to Delete Dialog * Add Description to scopes query * minor type guard fix * edit application cache update fix * Fix Dialog Expansion * Rename mutations to correct casing * Remove unneeded import for defineProps --------- Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
tailwind-theme
Tailwind theme used in frontend 2 and other apps.
Setup
- Install the package
- In your tailwind config import
@speckle/tailwind-themeand@tailwindcss/formsand add them to yourpluginsarray - Import
tailwindContentEntryfrom@speckle/tailwind-theme/tailwind-configureand invoke it in thecontentsfield in your Tailwind config to ensure PurgeCSS is configured correctly. It requires the CJSrequireobject as its only parameter. If it isn't available (in an ESM environment), you can use node'screateRequire().
Development
- Link this repo to wherever you're using this package. Unnecessary if you're using this package somewhere inside this monorepo.
- Run
yarn buildto re-build
Viewer
Run yarn viewer to open the Tailwind Config Viewer in the browser.
Note 1: The project must be built first for this to work! Note 2: All of the custom colors that rely on CSS variables will only show the light mode version irregardless of the "Dark Mode" toggle. This is because of a limitation of Tailwind Config Viewer.