You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(theme): Better Contrast Colors by Default and dev-utils refactor (#955)
* chore(docs): updated demo sandboxes to include filetype icons
* feat(theme): choose best contrast ratio color by default
This adds a new `function` that is used for default variables within
react-md that tried to guess if the text color should be white or black.
Going forward, this one will use the color that has the biggest contrast
ratio instead of always choosing white if it met the minimum ratio.
* chore: removed unneeded scripts from package.jsons
* temp move
* chore(docs): updated sandboxes
* chore(dev-utils): strict tsconfig
* chore(dev-utils): refactored the dev-utils code and removed unneeded scripts
* chore(tsconfig): simplified tsconfig since strict was enabled
* chore(dev-utils): copied over indexer stuff
* chore(dev-utils): removed the old_src
* chore(dev-utils): cleanup and lint fixes
* chore(sandbox): fixed html comment
Copy file name to clipboardExpand all lines: packages/button/package.json
-4Lines changed: 0 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,6 @@
2
2
"name": "@react-md/button",
3
3
"version": "2.3.1",
4
4
"description": "This package is used to create buttons with the material design spec. There is built-in support to be able to render accessible clickable divs that look like buttons, or even apply button styles to any element.",
Copy file name to clipboardExpand all lines: packages/dev-utils/README.md
+25Lines changed: 25 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,3 +6,28 @@ re-installing dev dependencies in each project and all the tsconfig files. All
6
6
of it will be handled automatically behind the scenes.
7
7
8
8
For more info, run `yarn dev-utils --help`.
9
+
10
+
```sh
11
+
Usage: dev-utils [options] [command]
12
+
13
+
Options:
14
+
-h, --help display helpforcommand
15
+
16
+
Commands:
17
+
clean [options] Cleans all the distributables for all publishable packages.
18
+
styles [options] Copies all the SCSS files into the dist folder as well as creating non-webpack specific versions.
19
+
sassdoc [options] Creates the sassdoc forthe documentation sitein all scoped packages.
20
+
variables [options] Creates the `src/scssVariables` file in all scoped packages.
21
+
changelogs [options] Updates the changelogs to be a bit prettier.
22
+
configs [options] Re-generates all the `tsconfig.*` files for the Typescript project references.
23
+
copy-shared [options] Copies all the shared markdown files and utils throughout the repo into the documentation folder.
24
+
doc-index [options] Indexes (terribly) metadata throughout react-md for the documentation site.
25
+
release [options] Goes through the steps of releasing a new version of react-md.
26
+
sandbox [options] Creates the `*-Sandbox.json` files in the documentation site.
27
+
libsize [options] Prints the gzpped size for the entire library based on the UMD bundles and the pre-compiled themes.
28
+
themes [options] Creates all the pre-compiled css themes in the root `/themes` folder. This really shouldn't be run other than during the release script since`the
29
+
`/themes` folder is ignored by git until a release is tagged.
30
+
umd [options] Compiles the UMD bundles for `react-md`. This really shouldn't be used as it's handled by the `release` script automatically.
31
+
watch [options] A custom watch script that handles copying all changed scss files as well as starting tsc watchers.
0 commit comments