-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #142 from ConductionNL/feature/PC108-152/personen-…
…actie-menu finished klant actions
- Loading branch information
Showing
10 changed files
with
193 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,8 @@ name: Lint Check | |
on: | ||
pull_request: | ||
branches: | ||
- develop | ||
- development | ||
- main | ||
|
||
jobs: | ||
lint-check: | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { getTheme } from '../../getTheme.js' | ||
|
||
/** | ||
* Returns the correct 'briefcase account outline' icon based on the theme as a class name. | ||
* | ||
* this class name can be put into a component that accepts an 'icon' prop | ||
* @return {string} | ||
*/ | ||
export function iconBriefcaseAccountOutline() { | ||
const theme = getTheme() | ||
|
||
return theme === 'light' ? 'icon-briefcase-account-outline-dark' : 'icon-briefcase-account-outline-light' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { getTheme } from '../../getTheme.js' | ||
|
||
/** | ||
* Returns the correct 'calendar month outline' icon based on the theme as a class name. | ||
* | ||
* this class name can be put into a component that accepts an 'icon' prop | ||
* @return {string} | ||
*/ | ||
export function iconCalendarMonthOutline() { | ||
const theme = getTheme() | ||
|
||
return theme === 'light' ? 'icon-calendar-month-outline-dark' : 'icon-calendar-month-outline-light' | ||
} |
13 changes: 13 additions & 0 deletions
13
src/services/icons/icon/icon-card-account-phone-outline.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { getTheme } from '../../getTheme.js' | ||
|
||
/** | ||
* Returns the correct 'card account phone outline' icon based on the theme as a class name. | ||
* | ||
* this class name can be put into a component that accepts an 'icon' prop | ||
* @return {string} | ||
*/ | ||
export function iconCardAccountPhoneOutline() { | ||
const theme = getTheme() | ||
|
||
return theme === 'light' ? 'icon-card-account-phone-outline-dark' : 'icon-card-account-phone-outline-light' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,28 @@ | ||
/* | ||
* This file serves as a central hub for CSS based icon management in the application. | ||
* It exports functions that return the appropriate icon class names based on the current theme. | ||
* | ||
* The actual icon definitions (CSS classes) are located in '/css/icons.css'. | ||
* To add new icons: | ||
* 1. Add the icon definitions to '/css/icons.css' | ||
* 2. Create a new icon function file in './icon/' directory | ||
* 3. Import and export the icon function here | ||
* | ||
* Each icon function returns a class name string that can be used in components | ||
* that accept an 'icon' prop. The returned class name will automatically handle | ||
* light/dark theme variants. | ||
*/ | ||
|
||
import { iconProgressClose as _iconProgressClose } from './icon/icon-progress-close.js' | ||
import { iconPencil as _iconPencil } from './icon/icon-pencil.js' | ||
import { iconCalendarCheckOutline as _iconCalendarCheckOutline } from './icon/icon-calendar-check-outline.js' | ||
import { iconCalendarMonthOutline as _iconCalendarMonthOutline } from './icon/icon-calendar-month-outline.js' | ||
import { iconCardAccountPhoneOutline as _iconCardAccountPhoneOutline } from './icon/icon-card-account-phone-outline.js' | ||
import { iconBriefcaseAccountOutline as _iconBriefcaseAccountOutline } from './icon/icon-briefcase-account-outline.js' | ||
|
||
export const iconProgressClose = _iconProgressClose() | ||
export const iconPencil = _iconPencil() | ||
export const iconCalendarCheckOutline = _iconCalendarCheckOutline() | ||
export const iconCalendarMonthOutline = _iconCalendarMonthOutline() | ||
export const iconCardAccountPhoneOutline = _iconCardAccountPhoneOutline() | ||
export const iconBriefcaseAccountOutline = _iconBriefcaseAccountOutline() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters