sdga-ui 1.0.2 → 1.0.4

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.
Files changed (119) hide show
  1. package/.editorconfig +23 -23
  2. package/.github/workflows/deploy.yml +57 -0
  3. package/.github/workflows/publish.yml +36 -33
  4. package/.prettierignore +73 -73
  5. package/.prettierrc +17 -17
  6. package/LICENSE +21 -21
  7. package/README.md +175 -167
  8. package/css/dga-ui.css +60 -30
  9. package/css/dga-ui.css.map +1 -1
  10. package/demo-angular/.editorconfig +17 -0
  11. package/demo-angular/.vscode/extensions.json +4 -0
  12. package/demo-angular/.vscode/launch.json +20 -0
  13. package/demo-angular/.vscode/tasks.json +42 -0
  14. package/demo-angular/README.md +59 -0
  15. package/demo-angular/angular.json +90 -0
  16. package/demo-angular/package-lock.json +10459 -0
  17. package/demo-angular/package.json +50 -0
  18. package/demo-angular/public/.nojekyll +0 -0
  19. package/demo-angular/public/favicon.ico +0 -0
  20. package/demo-angular/public/i18n/ar.json +239 -0
  21. package/demo-angular/public/i18n/en.json +239 -0
  22. package/demo-angular/src/app/app.config.ts +20 -0
  23. package/demo-angular/src/app/app.html +52 -0
  24. package/demo-angular/src/app/app.routes.ts +45 -0
  25. package/demo-angular/src/app/app.scss +430 -0
  26. package/demo-angular/src/app/app.spec.ts +23 -0
  27. package/demo-angular/src/app/app.ts +88 -0
  28. package/demo-angular/src/app/shared/code-example/code-example.component.html +30 -0
  29. package/demo-angular/src/app/shared/code-example/code-example.component.scss +183 -0
  30. package/demo-angular/src/app/shared/code-example/code-example.component.ts +78 -0
  31. package/demo-angular/src/app/views/alerts/alerts.component.html +155 -0
  32. package/demo-angular/src/app/views/alerts/alerts.component.scss +3 -0
  33. package/demo-angular/src/app/views/alerts/alerts.component.ts +134 -0
  34. package/demo-angular/src/app/views/bootstrap/bootstrap.component.html +14 -0
  35. package/demo-angular/src/app/views/bootstrap/bootstrap.component.scss +91 -0
  36. package/demo-angular/src/app/views/bootstrap/bootstrap.component.ts +23 -0
  37. package/demo-angular/src/app/views/buttons/buttons.component.html +289 -0
  38. package/demo-angular/src/app/views/buttons/buttons.component.scss +14 -0
  39. package/demo-angular/src/app/views/buttons/buttons.component.ts +155 -0
  40. package/demo-angular/src/app/views/cards/cards.component.html +156 -0
  41. package/demo-angular/src/app/views/cards/cards.component.html.backup +156 -0
  42. package/demo-angular/src/app/views/cards/cards.component.scss +11 -0
  43. package/demo-angular/src/app/views/cards/cards.component.ts +194 -0
  44. package/demo-angular/src/app/views/forms/forms.component.html +347 -0
  45. package/demo-angular/src/app/views/forms/forms.component.scss +3 -0
  46. package/demo-angular/src/app/views/forms/forms.component.ts +222 -0
  47. package/demo-angular/src/app/views/home/home.component.html +38 -0
  48. package/demo-angular/src/app/views/home/home.component.scss +35 -0
  49. package/demo-angular/src/app/views/home/home.component.ts +12 -0
  50. package/demo-angular/src/app/views/links/links.component.html +140 -0
  51. package/demo-angular/src/app/views/links/links.component.scss +60 -0
  52. package/demo-angular/src/app/views/links/links.component.ts +123 -0
  53. package/demo-angular/src/app/views/tables/tables.component.html +289 -0
  54. package/demo-angular/src/app/views/tables/tables.component.scss +3 -0
  55. package/demo-angular/src/app/views/tables/tables.component.ts +278 -0
  56. package/demo-angular/src/app/views/toasts/toasts.component.html +201 -0
  57. package/demo-angular/src/app/views/toasts/toasts.component.scss +0 -0
  58. package/demo-angular/src/app/views/toasts/toasts.component.ts +182 -0
  59. package/demo-angular/src/index.html +14 -0
  60. package/demo-angular/src/main.ts +6 -0
  61. package/demo-angular/src/styles.scss +4 -0
  62. package/demo-angular/tsconfig.app.json +15 -0
  63. package/demo-angular/tsconfig.json +33 -0
  64. package/demo-angular/tsconfig.spec.json +15 -0
  65. package/fonts/IBM_Plex_Sans_Arabic/OFL.txt +93 -93
  66. package/package.json +50 -47
  67. package/theme/_fonts.scss +58 -58
  68. package/theme/_functions.scss +11 -11
  69. package/theme/_variables.scss +50 -50
  70. package/theme/components/_accordion.scss +35 -35
  71. package/theme/components/_alerts.scss +11 -11
  72. package/theme/components/_badges.scss +8 -8
  73. package/theme/components/_breadcrumb.scss +13 -13
  74. package/theme/components/_buttons.scss +270 -270
  75. package/theme/components/_cards.scss +21 -21
  76. package/theme/components/_carousel.scss +33 -33
  77. package/theme/components/_content.scss +211 -211
  78. package/theme/components/_dropdowns.scss +45 -45
  79. package/theme/components/_forms-check.scss +124 -124
  80. package/theme/components/_forms-floating.scss +17 -17
  81. package/theme/components/_forms-inputs.scss +70 -70
  82. package/theme/components/_forms-range.scss +26 -26
  83. package/theme/components/_forms-select.scss +47 -47
  84. package/theme/components/_forms-switch.scss +63 -63
  85. package/theme/components/_forms-validation.scss +16 -16
  86. package/theme/components/_forms.scss +14 -14
  87. package/theme/components/_list-group.scss +26 -26
  88. package/theme/components/_modals.scss +42 -42
  89. package/theme/components/_navbar.scss +40 -40
  90. package/theme/components/_navigation.scss +151 -151
  91. package/theme/components/_offcanvas.scss +15 -15
  92. package/theme/components/_overlays.scss +112 -112
  93. package/theme/components/_pagination.scss +39 -39
  94. package/theme/components/_popovers.scss +26 -26
  95. package/theme/components/_progress.scss +11 -11
  96. package/theme/components/_spinners.scss +11 -11
  97. package/theme/components/_tables.scss +47 -47
  98. package/theme/components/_toasts.scss +16 -16
  99. package/theme/components/_tooltips.scss +15 -15
  100. package/theme/config/_base.scss +111 -111
  101. package/theme/config/_colors.scss +303 -303
  102. package/theme/config/_effects.scss +227 -227
  103. package/theme/config/_radius.scss +78 -78
  104. package/theme/config/_spacing.scss +155 -155
  105. package/theme/config/_typography.scss +118 -118
  106. package/theme/customizations/_alerts.scss +242 -242
  107. package/theme/customizations/_badges.scss +15 -15
  108. package/theme/customizations/_buttons.scss +209 -209
  109. package/theme/customizations/_cards.scss +117 -117
  110. package/theme/customizations/_forms-check.scss +278 -278
  111. package/theme/customizations/_forms-inputs.scss +9 -9
  112. package/theme/customizations/_forms-switch.scss +91 -91
  113. package/theme/customizations/_forms.scss +5 -5
  114. package/theme/customizations/_global.scss +25 -25
  115. package/theme/customizations/_links.scss +94 -46
  116. package/theme/customizations/_tables.scss +67 -67
  117. package/theme/customizations/_toasts.scss +221 -221
  118. package/theme/customizations/_utilities.scss +138 -138
  119. package/theme/dga-ui.scss +28 -28
@@ -0,0 +1,14 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title>DemoAngular</title>
6
+ <base href="/">
7
+ <meta name="viewport" content="width=device-width, initial-scale=1">
8
+ <link rel="stylesheet" href="https://cdn.hugeicons.com/font/hgi-stroke-rounded.css" />
9
+ <link rel="icon" type="image/x-icon" href="favicon.ico">
10
+ </head>
11
+ <body>
12
+ <app-root></app-root>
13
+ </body>
14
+ </html>
@@ -0,0 +1,6 @@
1
+ import { bootstrapApplication } from '@angular/platform-browser';
2
+ import { appConfig } from './app/app.config';
3
+ import { App } from './app/app';
4
+
5
+ bootstrapApplication(App, appConfig)
6
+ .catch((err) => console.error(err));
@@ -0,0 +1,4 @@
1
+ /* You can add global styles to this file, and also import other style files */
2
+ @use 'sdga-ui/theme/dga-ui.scss';
3
+ // @import 'sdga-ui/css/dga-ui.css';
4
+ // @import '../../theme/dga-ui.scss'
@@ -0,0 +1,15 @@
1
+ /* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
2
+ /* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
3
+ {
4
+ "extends": "./tsconfig.json",
5
+ "compilerOptions": {
6
+ "outDir": "./out-tsc/app",
7
+ "types": []
8
+ },
9
+ "include": [
10
+ "src/**/*.ts"
11
+ ],
12
+ "exclude": [
13
+ "src/**/*.spec.ts"
14
+ ]
15
+ }
@@ -0,0 +1,33 @@
1
+ /* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
2
+ /* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
3
+ {
4
+ "compileOnSave": false,
5
+ "compilerOptions": {
6
+ "strict": true,
7
+ "noImplicitOverride": true,
8
+ "noPropertyAccessFromIndexSignature": true,
9
+ "noImplicitReturns": true,
10
+ "noFallthroughCasesInSwitch": true,
11
+ "skipLibCheck": true,
12
+ "isolatedModules": true,
13
+ "experimentalDecorators": true,
14
+ "importHelpers": true,
15
+ "target": "ES2022",
16
+ "module": "preserve"
17
+ },
18
+ "angularCompilerOptions": {
19
+ "enableI18nLegacyMessageIdFormat": false,
20
+ "strictInjectionParameters": true,
21
+ "strictInputAccessModifiers": true,
22
+ "strictTemplates": true
23
+ },
24
+ "files": [],
25
+ "references": [
26
+ {
27
+ "path": "./tsconfig.app.json"
28
+ },
29
+ {
30
+ "path": "./tsconfig.spec.json"
31
+ }
32
+ ]
33
+ }
@@ -0,0 +1,15 @@
1
+ /* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
2
+ /* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
3
+ {
4
+ "extends": "./tsconfig.json",
5
+ "compilerOptions": {
6
+ "outDir": "./out-tsc/spec",
7
+ "types": [
8
+ "vitest/globals"
9
+ ]
10
+ },
11
+ "include": [
12
+ "src/**/*.d.ts",
13
+ "src/**/*.spec.ts"
14
+ ]
15
+ }
@@ -1,93 +1,93 @@
1
- Copyright © 2017 IBM Corp. with Reserved Font Name "Plex"
2
-
3
- This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
- This license is copied below, and is also available with a FAQ at:
5
- https://openfontlicense.org
6
-
7
-
8
- -----------------------------------------------------------
9
- SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
- -----------------------------------------------------------
11
-
12
- PREAMBLE
13
- The goals of the Open Font License (OFL) are to stimulate worldwide
14
- development of collaborative font projects, to support the font creation
15
- efforts of academic and linguistic communities, and to provide a free and
16
- open framework in which fonts may be shared and improved in partnership
17
- with others.
18
-
19
- The OFL allows the licensed fonts to be used, studied, modified and
20
- redistributed freely as long as they are not sold by themselves. The
21
- fonts, including any derivative works, can be bundled, embedded,
22
- redistributed and/or sold with any software provided that any reserved
23
- names are not used by derivative works. The fonts and derivatives,
24
- however, cannot be released under any other type of license. The
25
- requirement for fonts to remain under this license does not apply
26
- to any document created using the fonts or their derivatives.
27
-
28
- DEFINITIONS
29
- "Font Software" refers to the set of files released by the Copyright
30
- Holder(s) under this license and clearly marked as such. This may
31
- include source files, build scripts and documentation.
32
-
33
- "Reserved Font Name" refers to any names specified as such after the
34
- copyright statement(s).
35
-
36
- "Original Version" refers to the collection of Font Software components as
37
- distributed by the Copyright Holder(s).
38
-
39
- "Modified Version" refers to any derivative made by adding to, deleting,
40
- or substituting -- in part or in whole -- any of the components of the
41
- Original Version, by changing formats or by porting the Font Software to a
42
- new environment.
43
-
44
- "Author" refers to any designer, engineer, programmer, technical
45
- writer or other person who contributed to the Font Software.
46
-
47
- PERMISSION & CONDITIONS
48
- Permission is hereby granted, free of charge, to any person obtaining
49
- a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
- redistribute, and sell modified and unmodified copies of the Font
51
- Software, subject to the following conditions:
52
-
53
- 1) Neither the Font Software nor any of its individual components,
54
- in Original or Modified Versions, may be sold by itself.
55
-
56
- 2) Original or Modified Versions of the Font Software may be bundled,
57
- redistributed and/or sold with any software, provided that each copy
58
- contains the above copyright notice and this license. These can be
59
- included either as stand-alone text files, human-readable headers or
60
- in the appropriate machine-readable metadata fields within text or
61
- binary files as long as those fields can be easily viewed by the user.
62
-
63
- 3) No Modified Version of the Font Software may use the Reserved Font
64
- Name(s) unless explicit written permission is granted by the corresponding
65
- Copyright Holder. This restriction only applies to the primary font name as
66
- presented to the users.
67
-
68
- 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
- Software shall not be used to promote, endorse or advertise any
70
- Modified Version, except to acknowledge the contribution(s) of the
71
- Copyright Holder(s) and the Author(s) or with their explicit written
72
- permission.
73
-
74
- 5) The Font Software, modified or unmodified, in part or in whole,
75
- must be distributed entirely under this license, and must not be
76
- distributed under any other license. The requirement for fonts to
77
- remain under this license does not apply to any document created
78
- using the Font Software.
79
-
80
- TERMINATION
81
- This license becomes null and void if any of the above conditions are
82
- not met.
83
-
84
- DISCLAIMER
85
- THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
- OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
- COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
- INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
- DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
- FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
- OTHER DEALINGS IN THE FONT SOFTWARE.
1
+ Copyright © 2017 IBM Corp. with Reserved Font Name "Plex"
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ https://openfontlicense.org
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.
package/package.json CHANGED
@@ -1,47 +1,50 @@
1
- {
2
- "name": "sdga-ui",
3
- "version": "1.0.2",
4
- "description": "DGA UI - Government-Style Bootstrap Theme",
5
- "keywords": [
6
- "sdga",
7
- "sdga-ui",
8
- "dga",
9
- "dga-ui",
10
- "saudi government design",
11
- "bootstrap",
12
- "theme",
13
- "government",
14
- "design",
15
- "template"
16
- ],
17
- "homepage": "https://github.com/MahmoudAdel1996/dga-ui#readme",
18
- "bugs": {
19
- "url": "https://github.com/MahmoudAdel1996/dga-ui/issues"
20
- },
21
- "repository": {
22
- "type": "git",
23
- "url": "git+https://github.com/MahmoudAdel1996/dga-ui.git"
24
- },
25
- "license": "MIT",
26
- "author": "Mahmoud Adel",
27
- "type": "module",
28
- "main": "index.js",
29
- "scripts": {
30
- "test": "echo \"No tests yet\" && exit 0",
31
- "format": "prettier --write \"**/*.{js,json,md,css,scss}\"",
32
- "format:check": "prettier --check \"**/*.{js,json,md,css,scss}\"",
33
- "build-css": "sass --load-path=node_modules theme/dga-ui.scss css/dga-ui.css",
34
- "watch-css": "sass --load-path=node_modules --watch theme/dga-ui.scss css/dga-ui.css",
35
- "prepublishOnly": "npm run build-css"
36
- },
37
- "peerDependencies": {
38
- "bootstrap": "^5.3.8"
39
- },
40
- "devDependencies": {
41
- "bootstrap": "^5.3.8",
42
- "sass": "^1.69.5",
43
- "postcss": "^8.4.38",
44
- "autoprefixer": "^10.4.19",
45
- "prettier": "^3.2.0"
46
- }
47
- }
1
+ {
2
+ "name": "sdga-ui",
3
+ "version": "1.0.4",
4
+ "description": "DGA UI - Government-Style Bootstrap Theme",
5
+ "keywords": [
6
+ "sdga",
7
+ "sdga-ui",
8
+ "dga",
9
+ "dga-ui",
10
+ "saudi government design",
11
+ "bootstrap",
12
+ "theme",
13
+ "government",
14
+ "design",
15
+ "template"
16
+ ],
17
+ "homepage": "https://github.com/MahmoudAdel1996/dga-ui#readme",
18
+ "bugs": {
19
+ "url": "https://github.com/MahmoudAdel1996/dga-ui/issues"
20
+ },
21
+ "repository": {
22
+ "type": "git",
23
+ "url": "git+https://github.com/MahmoudAdel1996/dga-ui.git"
24
+ },
25
+ "license": "MIT",
26
+ "author": "Mahmoud Adel",
27
+ "type": "module",
28
+ "main": "index.js",
29
+ "scripts": {
30
+ "test": "echo \"No tests yet\" && exit 0",
31
+ "format": "prettier --write \"**/*.{js,json,md,css,scss}\"",
32
+ "format:check": "prettier --check \"**/*.{js,json,md,css,scss}\"",
33
+ "build-css": "sass --load-path=node_modules theme/dga-ui.scss css/dga-ui.css",
34
+ "watch-css": "sass --load-path=node_modules --watch theme/dga-ui.scss css/dga-ui.css",
35
+ "prepublishOnly": "npm run build-css",
36
+ "preversion": "npm run build-css",
37
+ "version": "git add .",
38
+ "postversion": "git push --follow-tags"
39
+ },
40
+ "peerDependencies": {
41
+ "bootstrap": "^5.3.8"
42
+ },
43
+ "devDependencies": {
44
+ "autoprefixer": "^10.4.19",
45
+ "bootstrap": "^5.3.8",
46
+ "postcss": "^8.4.38",
47
+ "prettier": "^3.7.3",
48
+ "sass": "^1.69.5"
49
+ }
50
+ }
package/theme/_fonts.scss CHANGED
@@ -1,58 +1,58 @@
1
- /* IBM Plex Sans Arabic Font Import */
2
- /* Self-hosted fonts from local fonts folder */
3
-
4
- @font-face {
5
- font-family: 'IBM Plex Sans Arabic';
6
- src: url('../fonts/IBM_Plex_Sans_Arabic/IBMPlexSansArabic-Thin.ttf') format('truetype');
7
- font-weight: 100;
8
- font-style: normal;
9
- font-display: swap;
10
- }
11
-
12
- @font-face {
13
- font-family: 'IBM Plex Sans Arabic';
14
- src: url('../fonts/IBM_Plex_Sans_Arabic/IBMPlexSansArabic-ExtraLight.ttf') format('truetype');
15
- font-weight: 200;
16
- font-style: normal;
17
- font-display: swap;
18
- }
19
-
20
- @font-face {
21
- font-family: 'IBM Plex Sans Arabic';
22
- src: url('../fonts/IBM_Plex_Sans_Arabic/IBMPlexSansArabic-Light.ttf') format('truetype');
23
- font-weight: 300;
24
- font-style: normal;
25
- font-display: swap;
26
- }
27
-
28
- @font-face {
29
- font-family: 'IBM Plex Sans Arabic';
30
- src: url('../fonts/IBM_Plex_Sans_Arabic/IBMPlexSansArabic-Regular.ttf') format('truetype');
31
- font-weight: 400;
32
- font-style: normal;
33
- font-display: swap;
34
- }
35
-
36
- @font-face {
37
- font-family: 'IBM Plex Sans Arabic';
38
- src: url('../fonts/IBM_Plex_Sans_Arabic/IBMPlexSansArabic-Medium.ttf') format('truetype');
39
- font-weight: 500;
40
- font-style: normal;
41
- font-display: swap;
42
- }
43
-
44
- @font-face {
45
- font-family: 'IBM Plex Sans Arabic';
46
- src: url('../fonts/IBM_Plex_Sans_Arabic/IBMPlexSansArabic-SemiBold.ttf') format('truetype');
47
- font-weight: 600;
48
- font-style: normal;
49
- font-display: swap;
50
- }
51
-
52
- @font-face {
53
- font-family: 'IBM Plex Sans Arabic';
54
- src: url('../fonts/IBM_Plex_Sans_Arabic/IBMPlexSansArabic-Bold.ttf') format('truetype');
55
- font-weight: 700;
56
- font-style: normal;
57
- font-display: swap;
58
- }
1
+ /* IBM Plex Sans Arabic Font Import */
2
+ /* Self-hosted fonts from local fonts folder */
3
+
4
+ @font-face {
5
+ font-family: 'IBM Plex Sans Arabic';
6
+ src: url('../fonts/IBM_Plex_Sans_Arabic/IBMPlexSansArabic-Thin.ttf') format('truetype');
7
+ font-weight: 100;
8
+ font-style: normal;
9
+ font-display: swap;
10
+ }
11
+
12
+ @font-face {
13
+ font-family: 'IBM Plex Sans Arabic';
14
+ src: url('../fonts/IBM_Plex_Sans_Arabic/IBMPlexSansArabic-ExtraLight.ttf') format('truetype');
15
+ font-weight: 200;
16
+ font-style: normal;
17
+ font-display: swap;
18
+ }
19
+
20
+ @font-face {
21
+ font-family: 'IBM Plex Sans Arabic';
22
+ src: url('../fonts/IBM_Plex_Sans_Arabic/IBMPlexSansArabic-Light.ttf') format('truetype');
23
+ font-weight: 300;
24
+ font-style: normal;
25
+ font-display: swap;
26
+ }
27
+
28
+ @font-face {
29
+ font-family: 'IBM Plex Sans Arabic';
30
+ src: url('../fonts/IBM_Plex_Sans_Arabic/IBMPlexSansArabic-Regular.ttf') format('truetype');
31
+ font-weight: 400;
32
+ font-style: normal;
33
+ font-display: swap;
34
+ }
35
+
36
+ @font-face {
37
+ font-family: 'IBM Plex Sans Arabic';
38
+ src: url('../fonts/IBM_Plex_Sans_Arabic/IBMPlexSansArabic-Medium.ttf') format('truetype');
39
+ font-weight: 500;
40
+ font-style: normal;
41
+ font-display: swap;
42
+ }
43
+
44
+ @font-face {
45
+ font-family: 'IBM Plex Sans Arabic';
46
+ src: url('../fonts/IBM_Plex_Sans_Arabic/IBMPlexSansArabic-SemiBold.ttf') format('truetype');
47
+ font-weight: 600;
48
+ font-style: normal;
49
+ font-display: swap;
50
+ }
51
+
52
+ @font-face {
53
+ font-family: 'IBM Plex Sans Arabic';
54
+ src: url('../fonts/IBM_Plex_Sans_Arabic/IBMPlexSansArabic-Bold.ttf') format('truetype');
55
+ font-weight: 700;
56
+ font-style: normal;
57
+ font-display: swap;
58
+ }
@@ -1,12 +1,12 @@
1
- // Shared SCSS Functions
2
-
3
- // Helper function to escape color for SVG use in data URLs
4
- @function svg-encode-color($color) {
5
- @return '%23' + str-slice(inspect($color), 2);
6
- }
7
-
8
-
9
- // Shadow helper function
10
- @function shadow-rgba($opacity) {
11
- @return rgba($shadow-color, $opacity);
1
+ // Shared SCSS Functions
2
+
3
+ // Helper function to escape color for SVG use in data URLs
4
+ @function svg-encode-color($color) {
5
+ @return '%23' + str-slice(inspect($color), 2);
6
+ }
7
+
8
+
9
+ // Shadow helper function
10
+ @function shadow-rgba($opacity) {
11
+ @return rgba($shadow-color, $opacity);
12
12
  }
@@ -1,50 +1,50 @@
1
- // Bootstrap 5.3 Custom Variables - Master Import File
2
- // Fully customized Bootstrap theme using SDGA Palette System
3
- // This file should be imported BEFORE Bootstrap's main SCSS
4
- //
5
- // Structure:
6
- // Config Variables (foundational settings):
7
- // 1. Colors (primary, secondary, theme colors, grays)
8
- // 2. Typography (fonts, sizes, weights, headings)
9
- // 3. Spacing (spacer map)
10
- // 4. Base (body, links, borders, shadows, focus, layout, z-index)
11
- // 5. Effects (elevation shadows, backdrop blur)
12
- // 6. Radius (border radius utilities)
13
- // 7. Responsive (typography overrides)
14
- //
15
- // Component Variables (UI component customizations):
16
- // 8. Buttons (sizes, states, variants)
17
- // 9. Forms (inputs, labels, checkboxes, selects, validation)
18
- // 10. Navigation (navbar, dropdowns, pagination, breadcrumb)
19
- // 11. Overlays (modals, tooltips, popovers, toasts, offcanvas)
20
- // 12. Content (cards, tables, lists, accordion, alerts, badges, progress, spinners, carousel)
21
-
22
- // Config Variables
23
- @import 'config/colors';
24
- @import 'config/typography';
25
- @import 'config/spacing';
26
- @import 'config/base';
27
- @import 'config/effects';
28
- @import 'config/radius';
29
-
30
- // Component Variables
31
- @import 'components/buttons';
32
- @import 'components/alerts';
33
- @import 'components/toasts';
34
- @import 'components/modals';
35
- @import 'components/tooltips';
36
- @import 'components/popovers';
37
- @import 'components/offcanvas';
38
- @import 'components/forms';
39
- @import 'components/navbar';
40
- @import 'components/dropdowns';
41
- @import 'components/pagination';
42
- @import 'components/breadcrumb';
43
- @import 'components/cards';
44
- @import 'components/tables';
45
- @import 'components/list-group';
46
- @import 'components/accordion';
47
- @import 'components/badges';
48
- @import 'components/progress';
49
- @import 'components/spinners';
50
- @import 'components/carousel';
1
+ // Bootstrap 5.3 Custom Variables - Master Import File
2
+ // Fully customized Bootstrap theme using SDGA Palette System
3
+ // This file should be imported BEFORE Bootstrap's main SCSS
4
+ //
5
+ // Structure:
6
+ // Config Variables (foundational settings):
7
+ // 1. Colors (primary, secondary, theme colors, grays)
8
+ // 2. Typography (fonts, sizes, weights, headings)
9
+ // 3. Spacing (spacer map)
10
+ // 4. Base (body, links, borders, shadows, focus, layout, z-index)
11
+ // 5. Effects (elevation shadows, backdrop blur)
12
+ // 6. Radius (border radius utilities)
13
+ // 7. Responsive (typography overrides)
14
+ //
15
+ // Component Variables (UI component customizations):
16
+ // 8. Buttons (sizes, states, variants)
17
+ // 9. Forms (inputs, labels, checkboxes, selects, validation)
18
+ // 10. Navigation (navbar, dropdowns, pagination, breadcrumb)
19
+ // 11. Overlays (modals, tooltips, popovers, toasts, offcanvas)
20
+ // 12. Content (cards, tables, lists, accordion, alerts, badges, progress, spinners, carousel)
21
+
22
+ // Config Variables
23
+ @import 'config/colors';
24
+ @import 'config/typography';
25
+ @import 'config/spacing';
26
+ @import 'config/base';
27
+ @import 'config/effects';
28
+ @import 'config/radius';
29
+
30
+ // Component Variables
31
+ @import 'components/buttons';
32
+ @import 'components/alerts';
33
+ @import 'components/toasts';
34
+ @import 'components/modals';
35
+ @import 'components/tooltips';
36
+ @import 'components/popovers';
37
+ @import 'components/offcanvas';
38
+ @import 'components/forms';
39
+ @import 'components/navbar';
40
+ @import 'components/dropdowns';
41
+ @import 'components/pagination';
42
+ @import 'components/breadcrumb';
43
+ @import 'components/cards';
44
+ @import 'components/tables';
45
+ @import 'components/list-group';
46
+ @import 'components/accordion';
47
+ @import 'components/badges';
48
+ @import 'components/progress';
49
+ @import 'components/spinners';
50
+ @import 'components/carousel';