osl-base-extended 0.0.7 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "osl-base-extended",
3
- "version": "0.0.7",
3
+ "version": "0.0.9",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.2.0",
6
6
  "@angular/core": "^21.2.0"
@@ -10,11 +10,8 @@
10
10
  },
11
11
  "sideEffects": false,
12
12
  "description": "This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 21.2.0.",
13
- "author": "Bilal Raza",
14
- "license": "ISC",
15
- "module": "fesm2022/osl-base-extended.mjs",
16
- "typings": "types/osl-base-extended.d.ts",
17
13
  "exports": {
14
+ "./styles": "./styles/_osl-theme.scss",
18
15
  "./package.json": {
19
16
  "default": "./package.json"
20
17
  },
@@ -23,5 +20,9 @@
23
20
  "default": "./fesm2022/osl-base-extended.mjs"
24
21
  }
25
22
  },
23
+ "author": "Bilal Raza",
24
+ "license": "ISC",
25
+ "module": "fesm2022/osl-base-extended.mjs",
26
+ "typings": "types/osl-base-extended.d.ts",
26
27
  "type": "module"
27
28
  }
@@ -0,0 +1,59 @@
1
+ // ─────────────────────────────────────────────
2
+ // OSL Component Library – Theme Variables
3
+ // Override any variable in your own styles.scss:
4
+ // :root { --osl-primary: #7c3aed; }
5
+ // ─────────────────────────────────────────────
6
+ :root {
7
+ // ── Button / Brand palette ──────────────────
8
+ --osl-primary: #2563eb;
9
+ --osl-primary-hover: #1d4ed8;
10
+ --osl-primary-text: #ffffff;
11
+
12
+ --osl-secondary: #6b7280;
13
+ --osl-secondary-hover: #4b5563;
14
+ --osl-secondary-text: #ffffff;
15
+
16
+ --osl-success: #16a34a;
17
+ --osl-success-hover: #15803d;
18
+ --osl-success-text: #ffffff;
19
+
20
+ --osl-danger: #dc2626;
21
+ --osl-danger-hover: #b91c1c;
22
+ --osl-danger-text: #ffffff;
23
+
24
+ --osl-warning: #d97706;
25
+ --osl-warning-hover: #b45309;
26
+ --osl-warning-text: #ffffff;
27
+
28
+ --osl-info: #0891b2;
29
+ --osl-info-hover: #0e7490;
30
+ --osl-info-text: #ffffff;
31
+
32
+ // ── Form controls ───────────────────────────
33
+ --osl-border-color: #d1d5db;
34
+ --osl-border-radius: 4px;
35
+ --osl-focus-border-color: #111827;
36
+ --osl-control-height: 35px;
37
+ --osl-control-padding: 5px;
38
+ --osl-label-font-size: 14px;
39
+ --osl-hint-font-size: 12px;
40
+ --osl-text-font-size: 13px;
41
+ --osl-disabled-bg: #f5f5f5;
42
+ --osl-disabled-opacity: 0.65;
43
+
44
+ // ── Validation ──────────────────────────────
45
+ --osl-error-color: #dc2626;
46
+
47
+ // ── Toggle ──────────────────────────────────
48
+ --osl-toggle-active-bg: #2563eb;
49
+ --osl-toggle-inactive-bg: #d1d5db;
50
+
51
+ // ── Checkbox / Radio accent ──────────────────
52
+ --osl-accent-color: #2563eb;
53
+
54
+ // ── Autocomplete dropdown ────────────────────
55
+ --osl-dropdown-hover-bg: #f3f4f6;
56
+
57
+ // ── File upload ──────────────────────────────
58
+ --osl-file-browse-bg: #f5f5f5;
59
+ }