Skip to content

Commit

Permalink
feat(styles): add typography coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Westbrook committed Nov 19, 2019
1 parent bfedd73 commit e8ab4dd
Show file tree
Hide file tree
Showing 12 changed files with 6,937 additions and 15 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@
"@spectrum-css/link": "^2.0.2",
"@spectrum-css/rule": "^2.0.2",
"@spectrum-css/table": "^2.0.2",
"@spectrum-css/typography": "^2.0.2",
"@storybook/addon-a11y": "5.2.1",
"@storybook/addon-actions": "5.2.1",
"@storybook/addon-knobs": "5.2.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/styles/core-global.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ OF ANY KIND, either express or implied. See the License for the specific languag
governing permissions and limitations under the License.
*/

/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
:root,
:host {
/* spectrum-animationGlobals.css */
Expand Down Expand Up @@ -881,4 +881,4 @@ governing permissions and limitations under the License.
);
}

/* stylelint-enable no-duplicate-selectors */
/* stylelint-enable */
1 change: 1 addition & 0 deletions packages/styles/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"lit-html": "^1.0.0"
},
"devDependencies": {
"@spectrum-css/typography": "^2.0.2",
"@spectrum-css/vars": "^2.0.2"
}
}
4 changes: 2 additions & 2 deletions packages/styles/scale-large.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ OF ANY KIND, either express or implied. See the License for the specific languag
governing permissions and limitations under the License.
*/

/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
:root,
:host {
--spectrum-global-dimension-scale-factor: 1.25;
Expand Down Expand Up @@ -778,4 +778,4 @@ governing permissions and limitations under the License.
--spectrum-tooltip-positive-content-max-width: 126px;
}

/* stylelint-enable no-duplicate-selectors */
/* stylelint-enable */
4 changes: 2 additions & 2 deletions packages/styles/scale-medium.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ OF ANY KIND, either express or implied. See the License for the specific languag
governing permissions and limitations under the License.
*/

/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
:root,
:host {
--spectrum-global-dimension-scale-factor: 1;
Expand Down Expand Up @@ -828,4 +828,4 @@ governing permissions and limitations under the License.
--spectrum-tooltip-positive-content-max-width: 101px;
}

/* stylelint-enable no-duplicate-selectors */
/* stylelint-enable */
4 changes: 2 additions & 2 deletions packages/styles/theme-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ OF ANY KIND, either express or implied. See the License for the specific languag
governing permissions and limitations under the License.
*/

/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
:root,
:host {
--spectrum-global-color-celery-400: rgb(68, 181, 86);
Expand Down Expand Up @@ -160,4 +160,4 @@ governing permissions and limitations under the License.
--spectrum-well-border-color: rgba(255, 255, 255, 0.05);
}

/* stylelint-enable no-duplicate-selectors */
/* stylelint-enable */
4 changes: 2 additions & 2 deletions packages/styles/theme-light.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ OF ANY KIND, either express or implied. See the License for the specific languag
governing permissions and limitations under the License.
*/

/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
:root,
:host {
--spectrum-global-color-celery-400: rgb(68, 181, 86);
Expand Down Expand Up @@ -155,4 +155,4 @@ governing permissions and limitations under the License.
--spectrum-well-border-color: rgba(44, 44, 44, 0.05);
}

/* stylelint-enable no-duplicate-selectors */
/* stylelint-enable */
4 changes: 2 additions & 2 deletions packages/styles/theme-lightest.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ OF ANY KIND, either express or implied. See the License for the specific languag
governing permissions and limitations under the License.
*/

/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
:root,
:host {
--spectrum-global-color-celery-400: rgb(75, 195, 95);
Expand Down Expand Up @@ -155,4 +155,4 @@ governing permissions and limitations under the License.
--spectrum-well-border-color: rgba(50, 50, 50, 0.05);
}

/* stylelint-enable no-duplicate-selectors */
/* stylelint-enable */
Loading

0 comments on commit e8ab4dd

Please sign in to comment.