@enhance/styles
Advanced tools
Comparing version 1.1.3 to 1.1.4
{ | ||
"name": "@enhance/styles", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "Functional utility classes", | ||
@@ -5,0 +5,0 @@ "main": "index.mjs", |
@@ -79,7 +79,14 @@ # enhance-styles | ||
### theme | ||
`theme` is the set of theme colors. Colors must be hexidecimal. Colors can be named however you like. Colors included in the theme block will have a color scale based on lightness generate from it. It is recommended to pick a color then choose a middle lightness as the basis of the scale so as to maximize the amount of steps in the scale that are not whit or black. | ||
You can choose your naming convention. Bootstrap like themes will use generic names such as "primary" etc. Material like themes will choose a theme color name i.e. 'indigo' | ||
`theme` is the set of theme colors. | ||
Colors must be hexidecimal. | ||
Colors can be named however you like. | ||
Colors included in the theme seting will have a color scale generated. | ||
It is recommended to pick a color, then choose a middle lightness as the basis of the scale so as to maximize the amount of steps in the scale that are not white or black. | ||
You can choose your naming convention. | ||
Bootstrap like themes will use generic names such as "primary" | ||
Material like themes will choose a theme color name i.e. 'indigo' | ||
There are two special names, light and dark. These will not have a scale generated. | ||
- `light` is meant to be used as a light text color | ||
- `dark` is meant to be used as a dark text color | ||
The default theme uses a Boostrap like naming convention | ||
@@ -86,0 +93,0 @@ - light "#fff" |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
124
45264