mirror of
https://github.com/zulip/zulip.git
synced 2026-06-30 21:11:04 +08:00
This commit adds the redesigned button styles to the codebase along with with a storybook-style page in `/devtools/buttons` to view and test the redesigned button component. The redesigned button component, uses the `action-button` class to follow Zulip's no-abbreviation policy, and to avoid conflicts with the pre-existing `button` and bootstrap `btn` classes. A button using the new redesigned styles, required two classes, - First, the base `action-button` class which defines the structure and behavior of the button. - Second, a modifier class like `action-button-primary-neutral` which defines the styles for the particular action button type.
29 lines
910 B
JSON
29 lines
910 B
JSON
{
|
|
"dev-login": ["./src/bundles/portico.ts", "./src/portico/dev-login.ts"],
|
|
"dev-integrations-panel": [
|
|
"./src/bundles/portico.ts",
|
|
"./src/portico/integrations_dev_panel.ts",
|
|
"./styles/portico/integrations_dev_panel.css",
|
|
"./src/reload_state.ts",
|
|
"./src/channel.ts"
|
|
],
|
|
"dev-email-log": [
|
|
"./src/bundles/common.ts",
|
|
"./src/portico/email_log.ts",
|
|
"./src/portico/portico_modals.ts",
|
|
"./styles/portico/email_log.css",
|
|
"./src/reload_state.ts",
|
|
"./src/channel.ts"
|
|
],
|
|
"dev-buttons": [
|
|
"./src/bundles/common.ts",
|
|
"./src//portico/header.ts",
|
|
"./src/portico/design-testing.ts",
|
|
"./styles/portico/portico_styles.css",
|
|
"./styles/portico/dev-buttons.css",
|
|
"./styles/app_variables.css",
|
|
"./styles/app_components.css",
|
|
"./styles/buttons.css"
|
|
]
|
|
}
|