Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/theme demo #544

Open
wants to merge 52 commits into
base: next
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
c9a2747
feat(theme): added css variables based on color palette
kishore-kumar-E3682 Apr 4, 2022
61b1bfa
feat(theme): color standardization
kishore-kumar-E3682 Apr 5, 2022
fa348d1
feat(theme): moved colors from button to theme
kishore-kumar-E3682 Apr 5, 2022
21935ef
feat(theme): modfied color coding
kishore-kumar-E3682 Apr 5, 2022
7fb0028
feat(tabs): adding necessary css variables to theme tabs (#545)
Vignesh-Manogar-E3433 Apr 5, 2022
912dece
fix(theme): updated the correct info color in tab
kishore-kumar-E3682 Apr 5, 2022
b0520d7
feat(theme): add typo
kishore-kumar-E3682 Apr 7, 2022
7793bd4
feat(theme): moved colors to theme.scss
kishore-kumar-E3682 Apr 13, 2022
6466fc8
docs(theme): update docs for theme
kishore-kumar-E3682 Apr 20, 2022
edf1fbe
fix(theme): typo fix
kishore-kumar-E3682 Apr 20, 2022
0a3dd74
feat(theme): updated docs
kishore-kumar-E3682 Apr 21, 2022
1d9f2ca
docs: added elevtion in docs
kishore-kumar-E3682 Apr 21, 2022
3a5e53e
feat(theme): replaced palette with color
kishore-kumar-E3682 Apr 28, 2022
d7d29e8
docs(theme): updated the docs
kishore-kumar-E3682 May 2, 2022
8d1d109
feat(theming): adding color-secondary-10 to sass variables
Vignesh-Manogar-E3433 May 9, 2022
0e54838
feat(theme): update button typography
kishore-kumar-E3682 May 9, 2022
f5651f7
Merge branch 'next' into feat/theme-demo
kishore-kumar-E3682 May 9, 2022
ee8eb12
fix(theming): removing color-sercondary-10
Vignesh-Manogar-E3433 May 9, 2022
cc52fa7
Merge branch 'feat/theme-demo-4' into feat/theme-demo
kishore-kumar-E3682 May 9, 2022
939d8d1
Theming: Update color, font-size, font-weight & line-height variables
srivalli-sivaramasankaran May 9, 2022
9dff3aa
feat(theming): Revert font-size and box shadow values
srivalli-sivaramasankaran May 10, 2022
60b69db
feat(theming): Update comments and fix typo
srivalli-sivaramasankaran May 10, 2022
6bcbf9f
feat(theming): add necessary comments
srivalli-sivaramasankaran May 11, 2022
4e4517a
feat(theming): remove css custom variables for checkbox and avatar
srivalli-sivaramasankaran May 12, 2022
cf89fc9
feat(theming): fix linters
srivalli-sivaramasankaran May 12, 2022
ac9bb09
feat(theming): updating size, color on data-table, datepicker, drag-i…
Vignesh-Manogar-E3433 May 12, 2022
fcbaa61
feat(theming): updating size, color variables on file-uploader, icon,…
Vignesh-Manogar-E3433 May 12, 2022
b96f523
feat(theming): updating size, color variables on input, menu, select,…
Vignesh-Manogar-E3433 May 12, 2022
3f3bf9e
feat(theming): updating font-size and color variables on modal, pagin…
Vignesh-Manogar-E3433 May 12, 2022
b2e3dde
feat(theming): updating font-size and color variables on skeleton, sp…
Vignesh-Manogar-E3433 May 12, 2022
e440ab2
Merge pull request #588 from freshworks/feat/component-theming
srivalli-sivaramasankaran May 12, 2022
17889e5
feat(theming): update color codes of components
srivalli-sivaramasankaran May 13, 2022
852b591
Merge pull request #603 from freshworks/feat/theme-updates
srivalli-sivaramasankaran May 16, 2022
532c804
fix(theming): fixing file uploader hint size (#608)
Vignesh-Manogar-E3433 May 24, 2022
5f0fdc0
feat(design tokens): converting design tokens to css variables (#614)
kishore-kumar-E3682 Jun 6, 2022
fa62011
feat(theming): update components with css custom variables - CRM theme
srivalli-sivaramasankaran Jun 1, 2022
d9c4725
feat(theming): update components with custom css variables - CRM theme
srivalli-sivaramasankaran Jun 6, 2022
53f7966
feat(theming): update index.html and remove unwanted code
srivalli-sivaramasankaran Jun 9, 2022
7b17e16
feat(token builder): selector based tokens (#628)
kishore-kumar-E3682 Jun 21, 2022
cb0ba04
feat: added date-theme attribute for theming
kishore-kumar-E3682 Jun 21, 2022
a3f5191
feat(theming): update components with css custom variables - CRM theme
srivalli-sivaramasankaran Jun 1, 2022
6da6e7a
feat(theming): update components with custom css variables - CRM theme
srivalli-sivaramasankaran Jun 6, 2022
500da0f
feat(theming): update index.html and remove unwanted code
srivalli-sivaramasankaran Jun 9, 2022
8fd0acf
feat(theming): update radio, checkbox and toggle - crm theme
srivalli-sivaramasankaran Jun 23, 2022
718e866
feat(theming): update checkbox, toggle and radio button
srivalli-sivaramasankaran Jun 23, 2022
ef313cb
Merge branch 'feat/theming-crm' of https://github.com/freshworks/cray…
srivalli-sivaramasankaran Jun 23, 2022
d798b32
feat(theming): update design tokens - freshsales
srivalli-sivaramasankaran Jun 28, 2022
2531c6f
feat(theming): update freshsales.json
srivalli-sivaramasankaran Jun 28, 2022
441c635
feat(theming): fix review comments
srivalli-sivaramasankaran Jun 29, 2022
f054e76
Merge pull request #617 from freshworks/feat/theming-crm
srivalli-sivaramasankaran Jul 7, 2022
5c403bb
feat(theming): update inline banner component
srivalli-sivaramasankaran Jul 7, 2022
7bf884f
Merge pull request #637 from freshworks/feat/theming-fsales
srivalli-sivaramasankaran Jul 20, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat(theme): update button typography
kishore-kumar-E3682 committed May 9, 2022
commit 0e548380c0cfb0eb95956e08da526b74f7d7b456
10 changes: 5 additions & 5 deletions packages/crayons-core/src/components/button/button.scss
Original file line number Diff line number Diff line change
@@ -44,14 +44,14 @@ $active-box-shadow: inset 0 0 4px 0 rgba(0, 0, 0, 0.25);

$btn-lg-focus-border: $color-info-800;

$btn-default-font-size: var(--fw-button-font-size, $font-size-14);
$btn-small-font-size: var(--fw-button-small-font-size, $font-size-12);
$btn-mini-font-size: $font-size-10;
$btn-default-font-size: var(--fw-button-font-size, $font-sm);
$btn-small-font-size: var(--fw-button-small-font-size, $font-xs);
$btn-mini-font-size: $font-2xs;

$btn-font-weight: var(--fw-button-font-weight, $font-weight-600);

$btn-border-width: 1px;
$input-height-small: var(--fw-button-small-height, 24px);
$input-height-small: var(--fw-button-small-height, $font-lh-base);
$input-height-normal: var(--fw-button-height, 32px);
$input-height-mini: 16px;

@@ -373,7 +373,7 @@ $sizes: 'normal' 12px 8px, 'small' 8px 6px, 'mini' 6px 4px;
.fw-btn--loader {
opacity: 0;
position: absolute;
font-size: 1em;
font-size: $font-base;
height: 1em;
width: 1em;
top: calc(50% - 0.5em);