Upgrade to Pro — share decks privately, control downloads, hide ads and more …

理想のカラーパレットをもとめて / color-palette-name-convention

hiloki
April 26, 2019

理想のカラーパレットをもとめて / color-palette-name-convention

DIST.26 「Webサービスの個性を支えるデザイン」LT

hiloki

April 26, 2019
Tweet

More Decks by hiloki

Other Decks in Design

Transcript

  1. @mixin button_primary_color { background-color: $button_primary; color: $button_primary_text; &:hover { background-color:

    $button_primary_hover; } &:active { background-color: $button_primary_active; } } Sass
  2. .button { background-color: #155AEE; color: #FCFDFD; } .button:hover { background-color:

    #4D82F3; } .button:active { background-color: #114CCA; } CSS