$ git clone git@github.com:sanographix/rin.git test-repo $ cd test-repo $ npm install $ npm start
#ããã¾ã å¥ã®æ¥è ãæ§ç¯ããã¨ãã客å ã®ãã¼ã ãã¼ã¸ã®cssãé常ã«èªã¿ã¥ããã 誰ãæãä»ãããã¦ãªãç¶æ ã§ã¤ããï¼compactã®ç¶æ ã§ç´350è¡ï¼ã ããã§ãªãã¡ã¯ã¿ãªã³ã°ããããã¨æã£ãéã«ãèããã ãã©ãããªãsass/scss対å¿ã«ããæ¹ãå¯èªæ§ãå¯ç¨æ§ãä¸ããï¼ã¤ããï¼ã sass/scss â css ã¯å½ããåã¨ãã¦ã css â sass/scss ã£ã¦åºæ¥ãã®ãããã¨æã調ã¹ã¦ã¿ãã¨ãæ°åçºè¦ããã ãã®ãã¡ã®ï¼ã¤ãä»åãç´¹ä»ãããcss2scssããé常ã«ã¨ã¬ã¬ã³ãã ã£ãã å®éã«ä½¿ç¨ãã¦ææ¿ãã¦è½èãããã¤ã³ãããããããï¼ã¤ã«çµã£ã¦ãç´¹ä»ã css2scss sass/scssã«ã¤ãã¦ã¯ãã¾ãã¯ã¢ã¬ãªcssãçªã£è¾¼ãã§ã¿ã¦æåã確èªãã¦é ããã°å¹¸ãã ã¾ããä¸è¨ã®ãªãã¡ã¬ã³ã¹ãç·æ¬çã§è§£ããããããä¸èªããã Sass 3.2 ãªã¬ãªã¬ãªãã¡ã¬ã³ã¹ ã¤ããã
SPACEBASEã¯SASSãã¼ã¹ã®ã¬ã¹ãã³ã·ãWebãã¶ã¤ã³å¯¾å¿CSSãã¬ã¼ã ã¯ã¼ã¯ã§ããæä½éå¿ è¦ãªUIã³ã³ãã¼ãã³ãã¯ç¨æããã¦ããããªã¼ã«ããã©ã¦ã¶ã«ã対å¿ãã¦ããã¨ã®äºããã£ãã触ã£ã¦ãªãã®ã§ä½ã¨ãè¨ãã¾ããããã±ã£ã¨è¦ã¯è¯ããæªãããã¼ã·ãã¯ãªæãã§ãããã©ã¤ã»ã³ã¹ã¯MITã SPACEBASE
2014å¹´12æ24æ¥ Webãµã¤ãå¶ä½, 便å©ãã¼ã« ã¿ãªãããã¿ã¹ã¯ã©ã³ãã¼ã使ã£ã¦ãã¾ããï¼ã¿ã¹ã¯ã©ã³ãã¼ã¨ã¯ãã¡ã¤ã«ã®å§ç¸®ãSassã®ã³ã³ãã¤ã«ãªãããããã¡ã¤ã«ãä¿åããã¨åæã«èªåã§è¡ãªã£ã¦ãããç´ æµãã¼ã«ã§ããå¶ä½ã®ã¹ãã¼ãã¢ãããééããªãï¼ä»åã¯ãããªã¿ã¹ã¯èªååãã¼ã«ã®ã²ã¨ã¤ãgulpãç´¹ä»ãã¾ãã âç§ã10年以ä¸å©ç¨ãã¦ããä¼è¨ã½ããï¼ gulpã¨ã¯ gulpã¨ã¯ãNode.jsã使ã£ãã¿ã¹ã¯èªååãã¼ã«ã§ããCSSãJavaScriptãã¡ã¤ã«ã®å§ç¸®ãçµåãSassã®ã³ã³ãã¤ã«ãªãããèªååã§ããã®ã§ããããã³ãã¨ã³ãããããããªããï¼ãã¨ããWebãã¶ã¤ãã¼ããã§ãã使ããããã«ãªãã¨ä½æ¥ãããªãã¯ãã©ãã¾ãããä¸åº¦gulpã§ããã¸ã§ã¯ããã¡ã¤ã«ãä½æãã¦ããã¨ãèªååã®æé ãä»ã®äººã¨å ±æã§ããã®ã§ããã¼ã ã§éçºããæã«ãåãçºæ®ãã¦ããã¾ãï¼ Gruntã¨ã®é
ãç²ããã¾ã§ãããããã§ãã å æ¥çºå£²ãããGE2ã®ãã¬ã¤æéã確ä¿ããçºã«ãä½æ¥ã®æçã¯éè¦ãªä»»åã§ãã ä»åã¯Sassã§ã¢ã¤ã³ã³ãã©ã³ããæ軽ã«ä½¿ããæ¹æ³ããç´¹ä»ãã¾ãï¼ ã¢ã¤ã³ã³ãã©ã³ãã使ã£ã¦ã¿ãããã©å°å ¥æ¹æ³ãé£ãããâ¦ã¨ããæ¹ã«ãªã¹ã¹ã¡ã§ãã ã¢ã¤ã³ã³ãã©ã³ãã®ç¨æããã ã¾ãã¯ã¢ã¤ã³ã³ãã©ã³ããç¨æãã¾ãã éå»è¨äºã«ã¢ã¤ã³ã³ãã©ã³ãã®ç´¹ä»ãããã¾ãã®ã§ãå®ãããã°ãåèãã ããã ãRetinaã§ããã±ãªããã·ã³ãã«ã¢ã¤ã³ã³ãã使ãããªããï¼ã ãç¡æã§åºæ¥ãï¼ãªãªã¸ãã«ã¢ã¤ã³ã³ãã©ã³ããä½ã£ã¦ã¿ããã ä»åã¯ãFontelloãããå¯æãã¢ã¤ã³ã³ãã©ã³ãããã¦ã³ãã¼ããã¾ããã cssãã©ã«ãã¨åé層ã«ãfontsããã©ã«ããä½ãããã®ä¸ã«ãã©ã³ããã¼ã¿ãå ¥ãã¦ãã ããã ã¢ã¤ã³ã³ãã©ã³ãã®èªã¿è¾¼ã¿ æ©éSassã«ãã©ã³ããèªã¿è¾¼ã¾ãã¾ãã LIGããã°ã§ãã³ãã³ç»å ´ãã
ããã«ã¡ã¯ããã¶ã¤ãã¼ã®ã¯ããã§ãã ã¬ã¹ãã³ã·ãWebãµã¤ããä½æããéã«éå®ããã¦ããCSSãã¬ã¼ã ã¯ã¼ã¯ã§ããããèªç±åº¦ãä½ããã使ããªãUIãã¼ãã¯éªéã«ãªãããã«ã¹ã¿ãã¤ãºããã®ã«æéããããããçµæCSSãã¡ã¤ã«ãè¥å¤§åãã¦ãã¾ãããªã©ãå©ç¨ããããã§ã®ãã¡ãªãããå¤ã ããã¾ããã å®éãã¬ã¼ã ã¯ã¼ã¯ã£ã¦ãã¬ã¹ãã³ã·ãã®å¤§æ ãã§ãã¡ãã£ã¦ãããã³ã³ãã¼ãã³ããå å®ãã¦ãåãã¾ãä½ãè¾¼ãå¿ è¦ããªããã§æ¥½ã£ã¡ã楽ãªãã§ããããã³ãã¬ã¼ãã«æç¸ããã¡ããã¶ã¤ãã¼ã¨ãã¦ã¯é¢ç½ããªãããã¾ãé ¼ããããªãã£ã¦ã®ãæ£ç´ãªã¨ãããä¼¼ãããã£ããã«ãªãããã éå»ã«CSSãã¬ã¼ã ã¯ã¼ã¯ã®ä»£è¡¨çåå¨ãBootstrapããå©ç¨ãã¾ããããæè»æ§ã®ä½ãã«è¦ãããããã®ãè¦ãã¦ãã¾ãã ã§ããæè¿ã¯Compassã®ããã«Sassãã¡ã¤ã«ãåããããã·ã³ãã«ã§ã«ã¹ã¿ãã¤ãºæ§ã®é«ãCSSãã¬ã¼ã ã¯ã¼ã¯ãå¢
Sass/Compass ã£ã¦ããèããã©ããªããé£ãããâ¦ã£ã¦æã£ã¦ãã主ã«ãã¶ã¤ãã¼/HTMLã³ã¼ãã¼ããåãã®åå¼·ä¼ã§å©ç¨ããã¹ã©ã¤ãã§ããåå¼·ä¼ã«ã¯ãã³ãºãªã³ãçµã¿è¾¼ã¾ãã¦ããã®ã§ããã®è³æã«ã¯ä¸éå端ãªé¨åãããã¾ããã容赦ãã ããã (*'-'*) å 容çã«ã¯ãåºç¤çãªäºæããæ´»ç¨ã®ããã®èãæ¹ãæ·»ãã¦è§£èª¬ãã¦ãã¾ããä½ãã®åèã«ãªãã°å¹¸ãã§ããRead less
ããã«ã¡ã¯ãLIGãã£ãªãã³æ¯ç¤¾ä»£è¡¨ã®ããã¨(@seito_horiguchi)ã§ãã ååãããããSassãå§ããã人ã¸ï¼å°å ¥æé ãã¾ã¨ãã¦ã¿ã(Dreamweaver対å¿)ã¨ããSassã®åºç¤ã«é¢ããè¨äºãæ¸ããã¦ããã ãã¾ããã ããã§ä»åã¯ãããä¸æ©ã¤ã£ããã§ãã£ã¨ä½¿ãããªããããã«ãªããï¼ã¨ãã趣æ¨ã®ãã¨ãã¡ãã£ã¨ä½¿ããããã«ãªã£ãããã£ã¦ããæ°ã«ãªã£ã¦ããåãSassã®ãã¯ããã¯ããé¢æ°ãã¾ã¨ãã¦ãç´¹ä»ãããã¾ãï¼ ããããããæ©è½ã®ä¸ãããä»åã¯æ¯è¼çç°¡åã§å®ç¨æ§ã®é«ããã®ããã§ã¤ã¹ãã¾ããã ç®æãSassãã¹ã¿ã¼ï¼WEBãã¶ã¤ãã¼ãã³ã¼ãã¼ãããã«å®è·µããããªãSassã®åºæ¬ãã¯ããã¯12é£çºããã ããã ãã¯ããã¯1ãã¢ã³ããµã³ãï¼&ï¼ ãã¯ããã¯2ãæ¼ç® ãã¯ããã¯3ãround() ãã¯ããã¯4ãrgba() ãã¯ããã¯5ãã³ã¡ã³ãã¢ã¦ã ãã¯ããã¯6ãå¤æ° ã
ããã«ã¡ã¯ããã¶ã¤ãã¼ã®çã§ãã ä»åã®è¨äºã§ã¯Compass使ãã«ãªãããã®å¿ è¦æå°éã®ç¥èããå¿ç¨ã¾ã§ãä½ç³»çã«ã²ã¨éãç´¹ä»ãã¦ããã¾ãã å ¨ãã®åå¿è ã§ãåé¡ããã¾ããï¼ ã¯ããã«çµè«ãè¨ãã¨ãCompassã§CSSãæ¸ã㨠æ©ãï¼ è¦ãããï¼ ã¡ã³ãããããï¼ ã³ã¼ãéããã£ã¨æ¸ãï¼ ä¸åº¦ä½¿ãåºãããæå¾ãããå ã«ã¯æ»ããªãï¼ ä¸ä½ã©ãã¾ã§ä¾¿å©ãªã®ãããããæ¸ãããããç¾èã¯ä¸è¦ã«ãããï¼ ç°¡åãªããã¸ã§ã¯ããéãã¦ãåç¹å¾´ã«ã¤ãã¦ç´¹ä»ããçããã¢åç»ãç¨æããã®ã§ãã¾ãã¯ãã¡ããè¦ã¦ãã ããï¼ Compassã¨ã¯ï¼ Compassãèªãåã«ãã¾ãã¯ãSassããç¥ã£ã¦ããå¿ è¦ãããã¾ãããªããªããCompassã¯Sassãå ã«éçºãããã¬ã¼ã ã¯ã¼ã¯ã ããã§ãã Sassã¨ã¯ ã§ã¯ãSassãã¨ã¯ä½ãã¨è¨ãã¨ãæ£å¼å称ã¯ãSyntactically Awesome Style Sh
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}