Skip to content

Commit

Permalink
feat(lib): add style file for users
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickjahr committed Apr 19, 2024
1 parent c13d8b5 commit 1d5f970
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
14 changes: 7 additions & 7 deletions apps/demo-app/src/styles.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/* TODO: move to lib component*/
@import '@angular/cdk/overlay-prebuilt.css';
/* TODO: move to lib component */
@import url('libs/sketch/src/lib/styles/styles.css');

/* You can add global styles to this file, and also import other style files */
:root {
--sk-top-bar-height: 84px;
--sk-font-family: Montserrat, 'Helevetika Neue', sans-serif;
--sk-font-family: montserrat, 'Helevetika Neue', sans-serif;
--sk-primary-color-rgb: 252, 0, 84;
--sk-primary-color: rgb(var(--sk-primary-color-rgb));
--sk-secondary-color-rgb: 59, 61, 64;
Expand All @@ -20,12 +20,12 @@
html,
body {
font-family: var(--sk-font-family);
color: rgb(255, 255, 255);
background: rgb(59, 61, 64);
color: rgb(255 255 255);
background: rgb(59 61 64);
background: linear-gradient(
149deg,
rgba(var(--sk-secondary-color-rgb), 1) 0%,
rgba(var(--sk-primary-color-rgb), 1) 100%
rgb(var(--sk-secondary-color-rgb) 1) 0%,
rgb(var(--sk-primary-color-rgb) 1) 100%
);
background-repeat: no-repeat;
height: 100svh;
Expand Down
1 change: 1 addition & 0 deletions libs/sketch/ng-package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
"dest": "../../dist/libs/sketch",
"assets": ["src/styles/styles.css"],
"lib": {
"entryFile": "src/index.ts"
}
Expand Down
1 change: 1 addition & 0 deletions libs/sketch/src/lib/styles/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import url('@angular/cdk/overlay-prebuilt.css');

0 comments on commit 1d5f970

Please sign in to comment.